org.apache.lens.ml
Class ForecastingModel.ForecastingLabel
java.lang.Object
org.apache.lens.ml.ForecastingModel.ForecastingLabel
- All Implemented Interfaces:
- LabelledPrediction<Long,Double>
- Enclosing class:
- ForecastingModel
public static class ForecastingModel.ForecastingLabel
- extends Object
- implements LabelledPrediction<Long,Double>
The Class ForecastingLabel.
ForecastingModel.ForecastingLabel
public ForecastingModel.ForecastingLabel(long timestamp,
double value)
- Instantiates a new forecasting label.
- Parameters:
timestamp
- the timestampvalue
- the value
getLabel
public Long getLabel()
- Specified by:
getLabel
in interface LabelledPrediction<Long,Double>
getPrediction
public Double getPrediction()
- Specified by:
getPrediction
in interface LabelledPrediction<Long,Double>
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.