Ad

Thursday, January 12, 2017

Udacity Machine Learning Nanodegree Linear Regression sample code

from sklearn import linear_model

reg = linear_model.LinearRegression()
reg.coef_
reg.intercept_

No comments:

Post a Comment

K mean clustering sklearn best practice - Udacity Machine Learning Nanodegree Unsupervised Learning

There are three key k means clustering parameters in sklearn that you will need to pay attention to: Number of centroids, aka center of c...