O'Reilly logo
  • Som DUBEY thinks this is interesting:

>>> lm = linear_model.LinearRegression()

From

Cover of Mastering Python for Data Science

Note

for LinearRegression, shouldn't we need to first import it from 'sklearn' ?