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);