public static class ForecastingModel.ForecastingLabel extends Object implements LabelledPrediction<Long,Double>
Constructor and Description |
---|
ForecastingLabel(long timestamp,
double value)
Instantiates a new forecasting label.
|
public ForecastingLabel(long timestamp, double value)
timestamp
- the timestampvalue
- the valuepublic Long getLabel()
getLabel
in interface LabelledPrediction<Long,Double>
public Double getPrediction()
getPrediction
in interface LabelledPrediction<Long,Double>
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.