1 write to _host
Microsoft.ML.Transforms (1)
CountFeatureSelection.cs (1)
137_host = env.Register(RegistrationName);
12 references to _host
Microsoft.ML.Transforms (12)
CountFeatureSelection.cs (12)
138_host.CheckUserArg(Utils.Size(columns) > 0, nameof(columns)); 166_host.CheckValue(inputSchema, nameof(inputSchema)); 171throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colPair.InputColumnName); 173throw _host.ExceptUserArg(nameof(inputSchema), "Column '{0}' does not have compatible type. Expected types are float, double or string.", colPair.InputColumnName); 175throw _host.ExceptUserArg(nameof(inputSchema), $"Variable length column '{col.Name}' is not allowed"); 193_host.CheckValue(input, nameof(input)); 196var scores = CountFeatureSelectionUtils.Train(_host, input, _columns.Select(column => column.InputColumnName).ToArray(), out colSizes); 199using (var ch = _host.Start("Dropping Slots")) 211return new ColumnCopyingTransformer(_host, copyColumnsPairs); 213return new SlotsDroppingTransformer(_host, dropSlotsColumns); 217new ColumnCopyingTransformer(_host, copyColumnsPairs), 218new SlotsDroppingTransformer(_host, dropSlotsColumns)