modelhub.LogisticRegression.fit
fit
(X, y)Fits a binary class logistic regression model.
important
This method uses sklearns LogisticRegression.fit, meaning that the data in the database gets exported first before fitting the data.
Parameters
X
(DataFrame) – DataFrame with features.y
(SeriesBoolean) – Series with the target variable.