category
exponential_smoothing_common
Shared fitting and forecasting predicates for exponential smoothing models.
logtalk_load(exponential_smoothing(loader))staticPublic predicates
(no local declarations; see entity ancestors if any)
Protected predicates
finite_number/1
True when the argument is a finite integer or floating point number.
staticfinite_number(Number)finite_number(+term) - zero_or_oneobserved_series/2
Returns the known observations from a validated numeric-or-unbound series without binding missing observations.
staticobserved_series(Series,ObservedSeries)observed_series(+list,-list(number)) - onefit_smoothing/9
Fits the selected exponential smoothing method using fixed parameters and the requested initialization strategy. Unbound observations advance predictions and seasonal phase without being scored, instantiated, or updating smoothing components.
staticfit_smoothing(Method,Series,Frequency,Parameters,InitializationSpecification,State,SumSquaredError,ErrorCount,Residuals)fit_smoothing(+atom,+list,+term,+list(float),+compound,-compound,-float,-non_negative_integer,-list(float)) - one_or_errordomain_error(insufficient_known_observations,Initialization)domain_error(insufficient_seasonal_phase_observations,Phase)domain_error(positive_multiplicative_level,Level)evaluation_error(Error)update_smoothing/7
Updates a learned smoothing state with one observation by applying the same fixed-parameter transition used during batch fitting. The returned residual list is empty for a skipped missing observation and a singleton for an observed value.
staticupdate_smoothing(Method,State,Parameters,Observation,UpdatedState,SumSquaredErrorIncrement,Residuals)update_smoothing(+atom,+compound,+list(float),+term,-compound,-float,-list(float)) - one_or_errordomain_error(positive_multiplicative_level,Level)evaluation_error(Error)forecast_smoothing/4
Generates forecasts for the selected exponential smoothing method from a learned final state.
staticforecast_smoothing(Method,State,Horizon,Forecasts)forecast_smoothing(+atom,+compound,+non_negative_integer,-list(number)) - one_or_errordomain_error(positive_multiplicative_forecast,Forecast)initial_parameter_point/2
Builds the optimizer initial point from the parameters whose option value is auto.
staticinitial_parameter_point(ParameterSpecification,Point)initial_parameter_point(+list(compound),-list(float)) - oneparameter_bounds/2
Builds closed unit-interval bounds for the parameters whose option value is auto.
staticparameter_bounds(ParameterSpecification,Bounds)parameter_bounds(+list(compound),-list(pair(float))) - oneparameters_from_point/3
Combines fixed parameter option values and an optimizer point into the canonical numeric parameter list.
staticparameters_from_point(ParameterSpecification,Point,Parameters)parameters_from_point(+list(compound),+list(float),-list(float)) - oneoptimization_initial_point/6
Builds the joint optimizer initial point for automatic smoothing parameters and, when requested, the initial model state.
staticoptimization_initial_point(Method,Series,Frequency,ParameterSpecification,InitializationSpecification,Point)optimization_initial_point(+atom,+list(number),+term,+list(compound),+compound,-list(float)) - oneoptimization_bounds/6
Builds finite data-derived bounds for the joint smoothing-parameter and initial-state optimization point.
staticoptimization_bounds(Method,Series,Frequency,ParameterSpecification,InitializationSpecification,Bounds)optimization_bounds(+atom,+list(number),+term,+list(compound),+compound,-list(pair(float))) - oneoptimization_components/8
Decodes a joint optimization point into the canonical smoothing parameter list and effective initialization specification.
staticoptimization_components(Method,Series,Frequency,ParameterSpecification,InitializationSpecification,Point,Parameters,EffectiveInitializationSpecification)optimization_components(+atom,+list(number),+term,+list(compound),+compound,+list(float),-list(float),-compound) - onePrivate predicates
(no local declarations; see entity ancestors if any)
Operators
(none)