4 instantiations of CountFeatureSelectingEstimator
Microsoft.ML.Transforms (4)
CountFeatureSelection.cs (1)
238return new CountFeatureSelectingEstimator(env, columnOptions).Fit(input).Transform(input) as IDataTransform;
FeatureSelectionCatalog.cs (3)
79=> new CountFeatureSelectingEstimator(CatalogUtils.GetEnvironment(catalog), columns); 101=> new CountFeatureSelectingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName, count); 125return new CountFeatureSelectingEstimator(env, columnOptions);
26 references to CountFeatureSelectingEstimator
Microsoft.ML.Samples (1)
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCountMultiColumn.cs (1)
39var pipeline = mlContext.Transforms.FeatureSelection
Microsoft.ML.Tests (6)
Transformers\FeatureSelectionTests.cs (6)
114new CountFeatureSelectingEstimator.ColumnOptions("FeatureSelectDouble", "VectorDouble", count: 1), 115new CountFeatureSelectingEstimator.ColumnOptions("ScalFeatureSelectMissing690", "ScalarFloat", count: 690), 116new CountFeatureSelectingEstimator.ColumnOptions("ScalFeatureSelectMissing100", "ScalarFloat", count: 100), 117new CountFeatureSelectingEstimator.ColumnOptions("VecFeatureSelectMissing690", "VectorDouble", count: 690), 118new CountFeatureSelectingEstimator.ColumnOptions("VecFeatureSelectMissing100", "VectorDouble", count: 100) 153var pipe = ML.Transforms.FeatureSelection.SelectFeaturesBasedOnCount("FeatureSelect", "VectorFloat", count: 1);
Microsoft.ML.Transforms (19)
CountFeatureSelection.cs (6)
16[assembly: LoadableClass(CountFeatureSelectingEstimator.Summary, typeof(IDataTransform), typeof(CountFeatureSelectingEstimator), typeof(CountFeatureSelectingEstimator.Options), typeof(SignatureDataTransform), 17CountFeatureSelectingEstimator.UserName, "CountFeatureSelectionTransform", "CountFeatureSelection")] 310throw env.ExceptUserArg(nameof(CountFeatureSelectingEstimator.Options.Columns), "Source column '{0}' not found", colName); 314throw env.ExceptUserArg(nameof(CountFeatureSelectingEstimator.Options.Columns), "Variable length column '{0}' is not allowed", colName);
EntryPoints\SelectFeatures.cs (4)
17Desc = CountFeatureSelectingEstimator.Summary, 18UserName = CountFeatureSelectingEstimator.UserName)] 19public static CommonOutputs.TransformOutput CountSelect(IHostEnvironment env, CountFeatureSelectingEstimator.Options input) 26var xf = CountFeatureSelectingEstimator.Create(host, input, input.Data);
FeatureSelectionCatalog.cs (9)
12using CountSelectDefaults = CountFeatureSelectingEstimator.Defaults; 72/// Create a <see cref="CountFeatureSelectingEstimator"/>, which selects the slots for which the count of non-default values is greater than or equal to a threshold. 77internal static CountFeatureSelectingEstimator SelectFeaturesBasedOnCount(this TransformsCatalog.FeatureSelectionTransforms catalog, 78params CountFeatureSelectingEstimator.ColumnOptions[] columns) 82/// Create a <see cref="CountFeatureSelectingEstimator"/>, which selects the slots for which the count of non-default values is greater than or equal to a threshold. 97public static CountFeatureSelectingEstimator SelectFeaturesBasedOnCount(this TransformsCatalog.FeatureSelectionTransforms catalog, 104/// Create a <see cref="CountFeatureSelectingEstimator"/>, which selects the slots for which the count of non-default values is greater than or equal to a threshold. 118public static CountFeatureSelectingEstimator SelectFeaturesBasedOnCount(this TransformsCatalog.FeatureSelectionTransforms catalog, 124var columnOptions = columns.Select(x => new CountFeatureSelectingEstimator.ColumnOptions(x.OutputColumnName, x.InputColumnName, count)).ToArray();