Machine Learning, Logistic Regression, Non Linear.
using the API from scikit-learn. Consider a generic nonlinear decision boundary that cannot be expressed as a polynomial. Here we are on our own to find the model parameters that maximize the likelihood function. There is excellent API in the scipy.optimize module that helps us out here. 1.