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