org.apache.spark.mllib.classification
list of labels
log of class priors, whose dimension is C, number of labels
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
log of class conditional probabilities, whose dimension is C-by-D, where D is number of features
Model for Naive Bayes Classifiers.