4 writes to _alpha
Microsoft.ML.TimeSeries (4)
AdaptiveSingularSpectrumSequenceModeler.cs (4)
270_alpha = new Single[windowSize - 1]; 322_alpha = new Single[_windowSize - 1]; 387_alpha = ctx.Reader.ReadFloatArray(); 1292_alpha = new Single[_windowSize - 1];
26 references to _alpha
Microsoft.ML.TimeSeries (26)
AdaptiveSingularSpectrumSequenceModeler.cs (26)
323Array.Copy(model._alpha, _alpha, _windowSize - 1); 388_host.CheckDecode(Utils.Size(_alpha) == _windowSize - 1); 420Array.Copy(_alpha, _info.AutoRegressiveCoefficients, _windowSize - 1); 459_host.Assert(Utils.Size(_alpha) == _windowSize - 1); 494ctx.Writer.WriteSingleArray(_alpha); 839if (Utils.Size(_alpha) == 1) 842_info.RootsBeforeStabilization = new[] { new Complex(_alpha[0], 0) }; 844if (_alpha[0] > 1) 845_alpha[0] = 1; 846else if (_alpha[0] < -1) 847_alpha[0] = -1; 852_info.RootsAfterStabilization = new[] { new Complex(_alpha[0], 0) }; 855_info.ExponentialTrendFactor = Math.Abs(_alpha[0]); 874coeff[i] = -_alpha[i]; 1084_alpha[i] = (Single)(-coeff[i]); 1148_nextPrediction += _state[i] * _alpha[i]; 1151_nextPrediction += _state[_windowSize - 2] * _alpha[_windowSize - 2]; 1349_alpha[i] = _xSmooth[i] / (1 - nu); 1369ComputeNoiseMoments(dataArray, signal, _alpha, out _observationNoiseVariance, out _autoregressionNoiseVariance, 1398_nextPrediction += _state[i - 1] * _alpha[i - 1]; 1406Array.Copy(_alpha, _info.AutoRegressiveCoefficients, _windowSize - 1); 1442resEditor.Values[i] += _state[j] * _alpha[k]; 1445resEditor.Values[i] += resEditor.Values[j] * _alpha[k]; 1457lastCol.AddLast(_alpha[_windowSize - 2]); 1464temp += _alpha[j] * lastCol[j];