Modifier and Type | Method | Description |
---|---|---|
Map<String,Double> |
classificationScore(Row rowToScore) |
Returns a map of class labels to probability for the given row.
|
get_double_predictors, get_string_predictors, score
Map<String,Double> classificationScore(Row rowToScore) throws Exception
The Map should be an ordered map whose keySet is sorted in decreasing probability.
rowToScore
- the Row object to be classifiedException
- If an input or internal exception occursCopyright © 2019. All rights reserved.