This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# An example implementation of Logistic Regression | |
# Originally by Alejandro Peralta | |
# Type annotation by Daniel Moisset | |
import numpy as np | |
import scipy as sp | |
from sklearn import cross_validation | |
from sklearn.utils.fixes import expit as logistic_sigmoid | |
from sklearn.utils.extmath import log_logistic |