2 writes to StartIndex
Microsoft.ML.TimeSeries (2)
STL\LocalRegression.cs (2)
88StartIndex = startIndex; 124StartIndex = 0;
19 references to StartIndex
Microsoft.ML.TimeSeries (19)
STL\LocalRegression.cs (19)
91var neighborsCount = EndIndex - StartIndex + 1; 102for (int i = StartIndex; i <= EndIndex; i++) 104NeighborsX[i - StartIndex] = _x[i]; 105NeighborsY[i - StartIndex] = _y[i]; 106Weights[i - StartIndex] = WeightMethod.Tricube((_x[i] - selfValue) / range); 111for (int i = StartIndex; i <= EndIndex; i++) 113NeighborsX[i - StartIndex] = _x[i]; 114NeighborsY[i - StartIndex] = _y[i]; 117Weights[i - StartIndex] = 1.0; 127double leftRange = selfValue - _x[StartIndex]; 131var neighborsCount = EndIndex - StartIndex + 1; 141for (int i = StartIndex; i <= EndIndex; i++) 143NeighborsX[i - StartIndex] = _x[i]; 144NeighborsY[i - StartIndex] = _y[i]; 145Weights[i - StartIndex] = WeightMethod.Tricube((_x[i] - selfValue) / range); 150for (int i = StartIndex; i <= EndIndex; i++) 152NeighborsX[i - StartIndex] = _x[i]; 153NeighborsY[i - StartIndex] = _y[i]; 156Weights[i - StartIndex] = 1.0;