Package org.apache.spark.mllib.regression
package org.apache.spark.mllib.regression
-
ClassDescriptionGeneralizedLinearAlgorithm<M extends GeneralizedLinearModel>GeneralizedLinearAlgorithm implements methods to train a Generalized Linear Model (GLM).GeneralizedLinearModel (GLM) represents a model trained using GeneralizedLinearAlgorithm.Isotonic regression.Regression model for isotonic regression.Class that represents the features and labels of a data point.Regression model trained using Lasso.Train a regression model with L1-regularization using Stochastic Gradient Descent.Regression model trained using LinearRegression.Train a linear regression model with no regularization using Stochastic Gradient Descent.Regression model trained using RidgeRegression.Train a regression model with L2-regularization using Stochastic Gradient Descent.StreamingLinearAlgorithm implements methods for continuously training a generalized linear model on streaming data, and using it for prediction on (possibly different) streaming data.Train or predict a linear regression model on streaming data.