2 writes to _predictors
Microsoft.ML.StandardTrainers (2)
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (2)
269
_predictors
= new TDistPredictor[checked(_numClasses * (_numClasses + 1) / 2)];
298
_predictors
= new TDistPredictor[(int)count];
9 references to _predictors
Microsoft.ML.StandardTrainers (9)
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (9)
277
_predictors
[index++] = predictors[i][j];
280
Host.Assert(index ==
_predictors
.Length);
305
ctx.LoadModel<TDistPredictor, SignatureLoadModel>(Host, out
_predictors
[index++], string.Format(SubPredictorFmt2, i, j));
308
ctx.LoadModel<TDistPredictor, SignatureLoadModel>(Host, out
_predictors
[index++], string.Format(SubPredictorFmt, i));
316
mappers = new IValueMapperDist[
_predictors
.Length];
318
for (int i = 0; i <
_predictors
.Length; i++)
320
var vmd =
_predictors
[i] as IValueMapperDist;
366
ctx.SaveModel(
_predictors
[index + i], string.Format(SubPredictorFmt, i));
368
ctx.SaveModel(
_predictors
[index + j], string.Format(SubPredictorFmt2, i, j));