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