2 writes to _host
Microsoft.ML.StandardTrainers (2)
Standard\Simple\SimpleTrainers.cs (2)
222
_host
= env.Register(LoadNameValue);
232
_host
= env.Register(LoadNameValue);
9 references to _host
Microsoft.ML.StandardTrainers (9)
Standard\Simple\SimpleTrainers.cs (9)
223
_host
.CheckValue(options, nameof(options));
233
_host
.CheckValue(labelColumn, nameof(labelColumn));
234
_host
.CheckValueOrNull(weightColunn);
247
return new BinaryPredictionTransformer<PriorModelParameters>(
_host
, pred, input.Schema, featureColumn: null, labelColumn: _labelColumnName);
252
_host
.CheckValue(context, nameof(context));
255
_host
.CheckParam(data.Schema.Label.HasValue, nameof(data), "Missing Label column");
257
_host
.CheckParam(labelCol.Type == BooleanDataViewType.Instance, nameof(data), "Invalid type for Label column");
293
return new PriorModelParameters(
_host
, prob);
312
_host
.CheckValue(inputSchema, nameof(inputSchema));