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); 247return 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"); 293return new PriorModelParameters(_host, prob); 312_host.CheckValue(inputSchema, nameof(inputSchema));