Objectiv Documentation LogoObjectiv Documentation Logo
TrackingModelingTaxonomy
GitHubSlackTwitterObjectiv.io
  • Introduction
  • Get started in your notebook
  • Open model hub
    • Identity Resolution
    • Models
      • Helper functions
      • Aggregation
      • Machine Learning
        • LogisticRegression
          • fit
          • get_params
          • LogisticRegression
          • predict
          • predict_proba
          • score
          • set_params
      • Funnels
    • API reference
    • Version check
  • Bach
  • Example notebooks
  • 🏠
  • Modeling
  • Open model hub
  • Models
  • Machine Learning
  • LogisticRegression
  • fit

modelhub.LogisticRegression.fit

fit​

(X, y)

​[source]

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.
  • Suggest an edit
  • Get help on Slack
  • Request feature or report issue
Previous
Machine Learning
Next
get_params
  • fit
    • Parameters
  • Privacy Policy
  • Cookies
Copyright © 2022 Objectiv