public interface ITimeSeriesRegressionPredictor extends ITimeSeriesModelInfo, IEventProvider<TimeSeriesRegressionScoreEventInfo>
Modifier and Type | Method and Description |
---|---|
List<TimeSeriesScore<Double>> |
score(ArrayList<Map<String,?>> rows)
Calculates score for the Time-Series
rows . |
List<TimeSeriesScore<Double>> |
score(ArrayList<Map<String,?>> rows,
String forecastPoint)
Calculates score for the Time-Series
rows . |
List<TimeSeriesScore<Double>> |
score(ArrayList<Map<String,?>> rows,
String startDate,
String endDate)
Calculates historical scores for the Time-Series
rows . |
List<TimeSeriesScore<Double>> |
scoreWithExplanations(ArrayList<Map<String,?>> rows)
Scoring with the default prediction explanations parameters.
|
List<TimeSeriesScore<Double>> |
scoreWithExplanations(ArrayList<Map<String,?>> rows,
ExplanationParams predictionExplanationParams)
Scoring with some overriden prediction explanation parameters.
|
List<TimeSeriesScore<Double>> |
scoreWithExplanations(ArrayList<Map<String,?>> rows,
String forecastPoint)
Scoring with the default prediction explanations parameters.
|
List<TimeSeriesScore<Double>> |
scoreWithExplanations(ArrayList<Map<String,?>> rows,
String forecastPoint,
ExplanationParams predictionExplanationParams)
Scoring with some overriden prediction explanation parameters.
|
List<TimeSeriesScore<Double>> |
scoreWithExplanations(ArrayList<Map<String,?>> rows,
String start,
String end)
Scoring with the default prediction explanations parameters.
|
List<TimeSeriesScore<Double>> |
scoreWithExplanations(ArrayList<Map<String,?>> rows,
String start,
String end,
ExplanationParams predictionExplanationParams)
Scoring with some overriden prediction explanation parameters.
|
getDateColumnName, getDateFormat, getFeatureDerivationWindow, getForecastWindow, getSeriesIdColumnName, getTimeStep
getDefaultPredictionExplanationParams, getFeatures, getModelId, getModelInfo, getPredictorClass
getScoreEvent
List<TimeSeriesScore<Double>> score(ArrayList<Map<String,?>> rows)
rows
. NOTE: rows
will be sorted lexicographical order by series_id then by date so
adds linear overhead if all data is already sorted and historic data is extracted from the rows to predict by the setted/unsetted to
not NaN target values.rows
- time-series that contains both historic data and points to predict.List<TimeSeriesScore<Double>> score(ArrayList<Map<String,?>> rows, String forecastPoint)
rows
. NOTE: rows
will be sorted lexicographical order by series_id then by date so
adds linear overhead if all data is already sorted. Historic data is extracted from the rows to predict by the forecastPoint
.rows
- time-series that contains both historic data and points to predict.forecastPoint
- date from which to start predictions.List<TimeSeriesScore<Double>> score(ArrayList<Map<String,?>> rows, String startDate, String endDate)
rows
. NOTE: rows
is expected to be sorted by the date, and contains
only historic data.rows
- history time-series.startDate
- start date for historical predictions.endDate
- end date for historical predictions.startDate
and endDate
.List<TimeSeriesScore<Double>> scoreWithExplanations(ArrayList<Map<String,?>> rows)
rows
- time series for which to compute predictions.List<TimeSeriesScore<Double>> scoreWithExplanations(ArrayList<Map<String,?>> rows, ExplanationParams predictionExplanationParams)
rows
- time series for which to compute predictions.predictionExplanationParams
- prediction explanations parameters to override.List<TimeSeriesScore<Double>> scoreWithExplanations(ArrayList<Map<String,?>> rows, String forecastPoint)
rows
- time series for which to compute predictions.forecastPoint
- formatted timestamp from which to compute predictions.List<TimeSeriesScore<Double>> scoreWithExplanations(ArrayList<Map<String,?>> rows, String forecastPoint, ExplanationParams predictionExplanationParams)
rows
- time series for which to compute predictions.forecastPoint
- formatted timestamp from which to compute predictions.predictionExplanationParams
- prediction explanations parameters to override.List<TimeSeriesScore<Double>> scoreWithExplanations(ArrayList<Map<String,?>> rows, String start, String end)
rows
- time series for which to compute predictions.start
- formatted timestamp from which to start computing predictions.end
- formatted timestamp till what we need to compute predictions.List<TimeSeriesScore<Double>> scoreWithExplanations(ArrayList<Map<String,?>> rows, String start, String end, ExplanationParams predictionExplanationParams)
rows
- time series for which to compute predictions.start
- formatted timestamp from which to start computing predictions.end
- formatted timestamp till what we need to compute predictions.predictionExplanationParams
- prediction explanations parameters to override.Copyright © 2021. All rights reserved.