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