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.
|
Score<Double> |
scoreWithExplanations(Iterable<?> row)
Scoring with the default prediction explanations parameters.
|
Score<Double> |
scoreWithExplanations(Iterable<?> row,
ExplanationParams predictionExplanationParams)
Scoring with some overriden prediction explanation parameters.
|
Score<Double> |
scoreWithExplanations(Map<String,?> row)
Scoring with the default prediction explanations parameters.
|
Score<Double> |
scoreWithExplanations(Map<String,?> row,
ExplanationParams predictionExplanationParams)
Scoring with some overriden prediction explanation parameters.
|
getDefaultPredictionExplanationParams, getFeatures, getModelId, getModelInfo, 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.Score<Double> scoreWithExplanations(Map<String,?> row)
Score<Double> scoreWithExplanations(Iterable<?> row)
Score<Double> scoreWithExplanations(Map<String,?> row, ExplanationParams predictionExplanationParams)
predictionExplanationParams
- prediction explanations parameters to override.Score<Double> scoreWithExplanations(Iterable<?> row, ExplanationParams predictionExplanationParams)
predictionExplanationParams
- prediction explanations parameters to override.Copyright © 2021. All rights reserved.