object
baseline_forecasting
Naive, seasonal naive, mean, and drift time series forecasters with missing observations and immutable online updates.
Availability:
logtalk_load(baseline_forecasting(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-10-14
Compilation flags:
static, context_switching_callsRemarks:
(none)
Inherited public predicates:
Public predicates
update/3
Returns a new forecaster after appending a numeric or missing (unbound) observation. The original forecaster is not modified.
Compilation flags:
staticTemplate:
update(Forecaster,Observation,UpdatedForecaster)Mode and number of proofs:
update(+compound,@term,-compound) - one_or_errorExceptions:
Forecaster is a variable:instantiation_errorForecaster is not a valid baseline forecaster:domain_error(forecaster,Forecaster)Observation is neither a variable nor a number:type_error(number,Observation)Updating the numeric sum raises an arithmetic evaluation error:
evaluation_error(Error)Protected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)