Computer scienceData scienceInstrumentsScikit-learnTraining ML models with scikit-learnClassification in scikit-learn

Logistic regression in scikit-learn

Finding the intercept

Report a typo

Let's continue working with the iris flower dataset.

Now your task is to find and write the intercept of the Iris versicolor class, label 1. Round it to three digits after the decimal point.

You don't have to make split into train and test sets. Use the whole dataset to fit the model.

Also during creating an instance of LogisticRegression class set max_iter=200.

Enter a number
___

Create a free account to access the full topic