2 writes to Host
Microsoft.ML.Data (2)
Transforms\PerGroupTransformBase.cs (2)
105
Host
= env.Register(registrationName);
120
Host
= env.Register(registrationName);
18 references to Host
Microsoft.ML.Data (18)
Evaluators\RankingEvaluator.cs (8)
705
Host
.CheckParam(0 < truncationLevel, nameof(truncationLevel),
707
Host
.CheckValue(labelGains, nameof(labelGains));
712
_bindings = new Bindings(
Host
, Source.Schema, true, LabelCol, ScoreCol, GroupCol, _truncationLevel);
725
Host
.CheckDecode(0 < _truncationLevel);
727
_bindings = new Bindings(
Host
, input.Schema, false, LabelCol, ScoreCol, GroupCol, _truncationLevel);
732
Host
.AssertValue(ctx);
741
Host
.Assert(0 < _truncationLevel);
779
Host
.AssertValue(src);
Transforms\PerGroupTransformBase.cs (10)
106
Host
.CheckValue(input, nameof(input));
107
Host
.CheckNonWhiteSpace(labelCol, nameof(labelCol));
108
Host
.CheckNonWhiteSpace(scoreCol, nameof(scoreCol));
109
Host
.CheckNonWhiteSpace(groupCol, nameof(groupCol));
121
Host
.CheckValue(input, nameof(input));
138
Host
.AssertValue(ctx);
159
Host
.CheckValueOrNull(rand);
167
Host
.CheckValueOrNull(rand);
178
return new BindingsWrappedRowCursor(
Host
, inputCursor, bindings);
250
: base(parent.
Host
)