2 writes to Weights
Microsoft.ML.TimeSeries (2)
STL\LocalRegression.cs (2)
94Weights = new double[neighborsCount]; 134Weights = new double[neighborsCount];
7 references to Weights
Microsoft.ML.TimeSeries (7)
STL\LocalRegression.cs (7)
106Weights[i - StartIndex] = WeightMethod.Tricube((_x[i] - selfValue) / range); 117Weights[i - StartIndex] = 1.0; 145Weights[i - StartIndex] = WeightMethod.Tricube((_x[i] - selfValue) / range); 156Weights[i - StartIndex] = 1.0; 222for (int i = 0; i < Weights.Length; i++) 224Weights[i] *= deltas[i]; 257return ls.RegressionDegreeOneWeighted(Weights);