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

Linear Regression with scikit-learn

Number of parameters

Report a typo

Suppose you've trained a Linear Regression model my_model of the following form:

Y=αo+α1X1+α2X2Y = \alpha_o + \alpha_1 \cdot X_1 + \alpha_2 \cdot X_2

What is the output of the code below?

print(len(my_model.coef_))
Enter a number
___

Create a free account to access the full topic