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