2 writes to _host
Microsoft.ML.Data (2)
Prediction\Calibrator.cs (2)
1209
_host
= env.Register(RegistrationName);
1218
_host
= env.Register(RegistrationName);
10 references to _host
Microsoft.ML.Data (10)
Prediction\Calibrator.cs (10)
1219
_host
.CheckValue(ctx, nameof(ctx));
1228
_host
.CheckDecode(cbFloat == sizeof(float));
1231
_host
.CheckDecode(0 < BinSize && BinSize < float.PositiveInfinity);
1234
_host
.CheckDecode(FloatUtils.IsFinite(Min));
1237
_host
.CheckDecode(Utils.Size(_binProbs) > 0);
1238
_host
.CheckDecode(_binProbs.All(x => (0 <= x && x <= 1)));
1256
_host
.AssertValue(ctx);
1296
_host
.CheckValue(ctx, nameof(ctx));
1297
_host
.CheckValue(outputNames, nameof(outputNames));
1298
_host
.Check(Utils.Size(outputNames) == 2);