MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ Estimate()

MayaFlux::Kinesis::Stochastic::Estimate::Estimate ( EstimateModel  model = EstimateModel::EWM_VARIANCE,
double  adapt_rate = 0.05,
size_t  window = 32 
)
explicit

Constructs an estimator with the specified model.

Parameters
modelCharacterization strategy (default: EWM_VARIANCE)
adapt_rateBlend rate for EWM_VARIANCE, ignored by other models. Smaller values remember longer, larger values adapt faster. Range (0, 1].
windowSample count for windowed models (ROLLING_VARIANCE, MEDIAN_ABSOLUTE_DEVIATION, QUIET_PERIOD_FLOOR, TREND). Ignored by EWM_VARIANCE.

Definition at line 5 of file Estimate.cpp.

6 : m_model(model)
7 , m_adapt_rate(adapt_rate)
8 , m_window(window == 0 ? 1 : window)
10{
11}
Memory::HistoryBuffer< double > m_history
Definition Estimate.hpp:400