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