2 writes to _host
Microsoft.ML.Data (2)
Prediction\Calibrator.cs (2)
1977_host = env.Register(RegistrationName); 1995_host = env.Register(RegistrationName);
23 references to _host
Microsoft.ML.Data (23)
Prediction\Calibrator.cs (23)
1978_host.AssertNonEmpty(mins); 1979_host.AssertNonEmpty(maxes); 1980_host.AssertNonEmpty(values); 1981_host.Assert(Utils.IsMonotonicallyIncreasing(mins)); 1982_host.Assert(Utils.IsMonotonicallyIncreasing(maxes)); 1983_host.Assert(Utils.IsMonotonicallyIncreasing(values)); 1984_host.Assert(values.Length == 0 || (0 <= values[0] && values[values.Length - 1] <= 1)); 1985_host.Assert(mins.Zip(maxes, (min, max) => min <= max).All(x => x)); 1996_host.AssertValue(ctx); 2006_host.CheckDecode(cbFloat == sizeof(float)); 2009_host.CheckDecode(numPieces >= 0); 2020_host.CheckDecode(minX <= maxX); 2021_host.CheckDecode(minX > maxPrev); 2022_host.CheckDecode(val > valuePrev || val == valuePrev && i == 0); 2033_host.CheckDecode(valuePrev <= 1); 2051_host.AssertValue(ctx); 2064_host.Assert(Mins.Length == Maxes.Length); 2065_host.Assert(Mins.Length == Values.Length); 2071_host.Assert(Mins[i] <= Maxes[i]); 2072_host.Assert(Mins[i] > maxPrev); 2073_host.Assert(Values[i] > valuePrev || Values[i] == valuePrev && i == 0); 2080_host.CheckDecode(valuePrev <= 1); 2115_host.Assert(pos < p);