public interface ClassificationModel
extends scala.Serializable
Modifier and Type | Method and Description |
---|---|
JavaRDD<Double> |
predict(JavaRDD<Vector> testData)
Predict values for examples stored in a JavaRDD.
|
RDD<Object> |
predict(RDD<Vector> testData)
Predict values for the given data set using the model trained.
|
double |
predict(Vector testData)
Predict values for a single data point using the model trained.
|
RDD<Object> predict(RDD<Vector> testData)
testData
- RDD representing data points to be predicteddouble predict(Vector testData)
testData
- array representing a single data point