1 write to _host
Microsoft.ML.Data (1)
Transforms\ColumnSelecting.cs (1)
227_host = Contracts.CheckRef(env, nameof(env)).Register(nameof(ColumnSelectingTransformer));
14 references to _host
Microsoft.ML.Data (14)
Transforms\ColumnSelecting.cs (14)
228_host.CheckValueOrNull(keepColumns); 229_host.CheckValueOrNull(dropColumns); 235_host.Check(!(keepValid && dropValid), "Both " + nameof(keepColumns) + " and " + nameof(dropColumns) + " are set. Exactly one can be specified."); 237_host.Check(!(!keepValid && !dropValid), "Neither " + nameof(keepColumns) + " and " + nameof(dropColumns) + " is set. Exactly one must be specified."); 474_host.CheckValue(inputSchema, nameof(inputSchema)); 478throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", string.Join(",", invalidColumns)); 493_host.CheckValue(inputSchema, nameof(inputSchema)); 497throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", string.Join(",", invalidColumns)); 500return new SelectColumnsDataTransform(_host, this, 502new EmptyDataView(_host, inputSchema)); 511_host.CheckValue(input, nameof(input)); 515throw _host.ExceptSchemaMismatch(nameof(input), "input", string.Join(",", invalidColumns)); 518return new SelectColumnsDataTransform(_host, this, new Mapper(this, input.Schema), input); 533_host = transform._host.Register(nameof(Mapper));