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));
171
throw
_host
.ExceptSchemaMismatch(nameof(inputSchema), "input", colPair.InputColumnName);
173
throw
_host
.ExceptUserArg(nameof(inputSchema), "Column '{0}' does not have compatible type. Expected types are float, double or string.", colPair.InputColumnName);
175
throw
_host
.ExceptUserArg(nameof(inputSchema), $"Variable length column '{col.Name}' is not allowed");
193
_host
.CheckValue(input, nameof(input));
196
var scores = CountFeatureSelectionUtils.Train(
_host
, input, _columns.Select(column => column.InputColumnName).ToArray(), out colSizes);
199
using (var ch =
_host
.Start("Dropping Slots"))
211
return new ColumnCopyingTransformer(
_host
, copyColumnsPairs);
213
return new SlotsDroppingTransformer(
_host
, dropSlotsColumns);
217
new ColumnCopyingTransformer(
_host
, copyColumnsPairs),
218
new SlotsDroppingTransformer(
_host
, dropSlotsColumns)