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)); 172using (var ch = _host.Start("Selecting Slots")) 185var scores = MutualInformationFeatureSelectionUtils.TrainCore(_host, input, _labelColumnName, colArr, _numBins, colSizes); 202return new ColumnCopyingTransformer(_host, copyColumnPairs); 204return new SlotsDroppingTransformer(_host, dropSlotsColumns); 208new ColumnCopyingTransformer(_host, copyColumnPairs), 209new SlotsDroppingTransformer(_host, dropSlotsColumns) 221_host.CheckValue(inputSchema, nameof(inputSchema)); 224throw _host.ExceptSchemaMismatch(nameof(inputSchema), "label", $"Label column '{_labelColumnName}' not found in input schema"); 227throw _host.ExceptUserArg(nameof(inputSchema), 235throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colPair.inputColumnName); 238throw _host.ExceptUserArg(nameof(inputSchema), 242throw _host.ExceptUserArg(nameof(inputSchema), $"Variable length column '{col.Name}' is not allowed");