org.apache.spark.mllib.classification
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
predicted category 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
an RDD[Double] where each entry contains the corresponding prediction
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
:: Experimental :: Represents a classification model that predicts to which of a set of categories an example belongs. The categories are represented by double values: 0.0, 1.0, 2.0, etc.