Answers for "how to apply ridge regression scikit learn"

1

scikit learn ridge regression

from sklearn.linear_model import Ridge
clf = Ridge(alpha=1.0)
clf.fit(X, y) #Fit Ridge regression model
clf.predict(y) #Predict using the model
Posted by: Guest on May-07-2021

Code answers related to "how to apply ridge regression scikit learn"

Python Answers by Framework

Browse Popular Code Answers by Language