4 writes to _numberOfClasses
Microsoft.ML.LightGbm (4)
LightGbmMulticlassTrainer.cs (4)
252
_numberOfClasses
= 0;
266
_numberOfClasses
= _numberOfClassesIncludingNan;
299
_numberOfClasses
= keyType.GetCountAsInt32(Host);
307
_numberOfClasses
= (int)maxLabel + 1;
2 references to _numberOfClasses
Microsoft.ML.LightGbm (2)
LightGbmMulticlassTrainer.cs (2)
219
IPredictorProducing<float>[] predictors = new IPredictorProducing<float>[
_numberOfClasses
];
220
for (int i = 0; i <
_numberOfClasses
; ++i)