16 references to Magnitude
Microsoft.ML.TimeSeries (16)
AdaptiveSingularSpectrumSequenceModeler.cs (12)
888if (roots[i].Magnitude > 1 && (Math.Abs(roots[i].Phase) <= eps || Math.Abs(Math.Abs(roots[i].Phase) - Math.PI) <= eps)) 897if (roots[i].Magnitude >= 1 && 2 * Math.PI / Math.Abs(roots[i].Phase) > _windowSize) 923else if (roots[i].Magnitude > 1) 965avgMagnitude += roots[sortedComponents[j].Index].Magnitude; 1003if (Math.Abs(roots[i].Phase) <= eps && 0.9 <= roots[i].Magnitude && i != ind1) 1030if (roots[i].Magnitude > 1 && Math.Abs(roots[i].Phase) <= eps) 1033maxTrendMagnitude = Math.Max(maxTrendMagnitude, roots[i].Magnitude); 1036maxNonTrendMagnitude = Math.Max(maxNonTrendMagnitude, roots[i].Magnitude); 1049if (roots[i].Magnitude >= maxTrendMagnitude) 1064roots[i] = new Complex(roots[i].Magnitude, 0); 1066roots[i] = new Complex(-roots[i].Magnitude, 0); 1068roots[i] = new Complex(-roots[i].Magnitude, 0);
SeasonalityDetector.cs (4)
231double nextWeight = values[i].Magnitude; 255double weight = values[i].Magnitude; 261prevWeight = values[i - 1].Magnitude; 267nextWeight = values[i + 1].Magnitude;