📅  最后修改于: 2022-03-11 14:46:57.358000             🧑  作者: Mango
from sklearn.linear_model import LinearRegression
rl = LinearRegression().fit(X, y)
rl.fit(X, y) #We can fit model to dataset in this way too