org.apache.spark.mllib.classification
Weights computed for every feature.
Intercept computed for this model.
:: Experimental ::
Clears the threshold so that predict
will output raw prediction scores.
:: Experimental ::
Clears the threshold so that predict
will output raw prediction scores.
Intercept computed for this model.
Intercept computed for this model.
Predict values for examples stored in a JavaRDD.
Predict values for examples stored in a JavaRDD.
JavaRDD representing data points to be predicted
a JavaRDD[java.lang.Double] where each entry contains the corresponding prediction
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
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.
:: Experimental :: Sets the threshold that separates positive predictions from negative predictions.
:: Experimental :: Sets the threshold that separates positive predictions from negative predictions. An example with prediction score greater than or equal to this threshold is identified as an positive, and negative otherwise. The default value is 0.0.
Weights computed for every feature.
Weights computed for every feature.
Model for Support Vector Machines (SVMs).