org.apache.spark.mllib.regression
Weights computed for every feature.
Intercept computed for this model.
Predict the result given a data point and the weights learned.
Predict the result given a data point and the weights learned.
Row vector containing the features for this data point
Column vector containing the weights of the model
Intercept of the model.
Intercept computed for this model.
Intercept computed for this model.
Predict values for a single data point using the model trained.
Predict values for a single data point using the model trained.
array representing a single data point
Double prediction from the trained model
Predict values for the given data set using the model trained.
Predict values for the given data set using the model trained.
RDD representing data points to be predicted
RDD[Double] where each entry contains the corresponding prediction
Print a summary of the model.
Print a summary of the model.
Weights computed for every feature.
Weights computed for every feature.
:: DeveloperApi :: GeneralizedLinearModel (GLM) represents a model trained using GeneralizedLinearAlgorithm. GLMs consist of a weight vector and an intercept.