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

Regularization in Machine Learning, Deep Learning

Regularization can prevent overfitting and potentially make algorithm converge faster and more performant. Useful in deep learning tasks, in...