Current version of model save/load format.
list of labels
The type of NB model to fit can be "multinomial" or "bernoulli"
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 the given data set using the model trained.
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
Save this model to the given path.
log of class conditional probabilities, whose dimension is C-by-D, where D is number of features