public static class ForecastingModel.ForecastingLabel extends Object implements LabelledPrediction<Long,Double>
| Constructor and Description |
|---|
ForecastingModel.ForecastingLabel(long timestamp,
double value)
Instantiates a new forecasting label.
|
public ForecastingModel.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–2016 Apache Software Foundation. All rights reserved.