public interface IRegressionPredictor extends IPredictorInfo, IEventProvider<RegressionScoreEventInfo>
Modifier and Type | Method and Description |
---|---|
double |
score(Iterable<?> row)
Scores a single row.
|
double |
score(Map<String,?> row)
Scores a single row.
|
getFeatures, getModelId, getPredictorClass
getScoreEvent
double score(Map<String,?> row)
row
- row with features.double score(Iterable<?> row)
NOTE:
Here Iterable<?> row
is the feature values in the same order as they goes in IPredictorInfo.getFeatures()
.
row
- row with feature values in right order.Copyright © 2020. All rights reserved.