LinearRegressionModel new¶
-
__init__
(self, name=None)¶ Create a ‘new’ instance of a Linear Regression model.
Parameters: name : unicode (default=None)
User supplied name.
Returns: : <bound method AtkEntityType.__name__ of <trustedanalytics.rest.jsonschema.AtkEntityType object at 0x7f9e68702090>>
Linear Regression [R24] is used to model the relationship between a scalar dependent variable and one or more independent variables. The Linear Regression model is initialized, trained on columns of a frame and used to predict the value of the dependent variable given the independent observations of a frame. This model runs the MLLib implementation of Linear Regression [R25] with the SGD [R26] optimizer.
footnotes
[R24] https://en.wikipedia.org/wiki/Linear_regression [R25] https://spark.apache.org/docs/1.3.0/mllib-linear-methods.html#linear-least-squares-lasso-and-ridge-regression [R26] https://en.wikipedia.org/wiki/Stochastic_gradient_descent