1 write to _host
Microsoft.ML.Transforms (1)
MutualInformationFeatureSelection.cs (1)
133
_host
= env.Register(RegistrationName);
17 references to _host
Microsoft.ML.Transforms (17)
MutualInformationFeatureSelection.cs (17)
135
_host
.CheckUserArg(Utils.Size(columns) > 0, nameof(columns));
136
_host
.CheckUserArg(slotsInOutput > 0, nameof(slotsInOutput));
137
_host
.CheckNonWhiteSpace(labelColumnName, nameof(labelColumnName));
138
_host
.Check(numberOfBins > 1, "numBins must be greater than 1.");
171
_host
.CheckValue(input, nameof(input));
172
using (var ch =
_host
.Start("Selecting Slots"))
185
var scores = MutualInformationFeatureSelectionUtils.TrainCore(
_host
, input, _labelColumnName, colArr, _numBins, colSizes);
202
return new ColumnCopyingTransformer(
_host
, copyColumnPairs);
204
return new SlotsDroppingTransformer(
_host
, dropSlotsColumns);
208
new ColumnCopyingTransformer(
_host
, copyColumnPairs),
209
new SlotsDroppingTransformer(
_host
, dropSlotsColumns)
221
_host
.CheckValue(inputSchema, nameof(inputSchema));
224
throw
_host
.ExceptSchemaMismatch(nameof(inputSchema), "label", $"Label column '{_labelColumnName}' not found in input schema");
227
throw
_host
.ExceptUserArg(nameof(inputSchema),
235
throw
_host
.ExceptSchemaMismatch(nameof(inputSchema), "input", colPair.inputColumnName);
238
throw
_host
.ExceptUserArg(nameof(inputSchema),
242
throw
_host
.ExceptUserArg(nameof(inputSchema), $"Variable length column '{col.Name}' is not allowed");