actableai.timeseries.models.custom.constant.ConstantValuePredictor(prediction_length: int, value: float = 0.0, num_samples: int = 1, target_dim: int = 1)¶Bases: gluonts.model.predictor.RepresentablePredictor, gluonts.model.predictor.FallbackPredictor
A Predictor that always produces the same value as forecast. Inspired from the ConstantValuePredictor form GluonTS, just adding multivariate from it.
predict_item(item: Dict[str, Any]) gluonts.model.forecast.SampleForecast¶Predict one item.