4 instantiations of CountFeatureSelectingEstimator
Microsoft.ML.Transforms (4)
CountFeatureSelection.cs (1)
238
return 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);
125
return new
CountFeatureSelectingEstimator
(env, columnOptions);
26 references to CountFeatureSelectingEstimator
Microsoft.ML.Samples (1)
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCountMultiColumn.cs (1)
39
var
pipeline = mlContext.Transforms.FeatureSelection
Microsoft.ML.Tests (6)
Transformers\FeatureSelectionTests.cs (6)
114
new
CountFeatureSelectingEstimator
.ColumnOptions("FeatureSelectDouble", "VectorDouble", count: 1),
115
new
CountFeatureSelectingEstimator
.ColumnOptions("ScalFeatureSelectMissing690", "ScalarFloat", count: 690),
116
new
CountFeatureSelectingEstimator
.ColumnOptions("ScalFeatureSelectMissing100", "ScalarFloat", count: 100),
117
new
CountFeatureSelectingEstimator
.ColumnOptions("VecFeatureSelectMissing690", "VectorDouble", count: 690),
118
new
CountFeatureSelectingEstimator
.ColumnOptions("VecFeatureSelectMissing100", "VectorDouble", count: 100)
153
var
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),
17
CountFeatureSelectingEstimator
.UserName, "CountFeatureSelectionTransform", "CountFeatureSelection")]
310
throw env.ExceptUserArg(nameof(
CountFeatureSelectingEstimator
.Options.Columns), "Source column '{0}' not found", colName);
314
throw env.ExceptUserArg(nameof(
CountFeatureSelectingEstimator
.Options.Columns), "Variable length column '{0}' is not allowed", colName);
EntryPoints\SelectFeatures.cs (4)
17
Desc =
CountFeatureSelectingEstimator
.Summary,
18
UserName =
CountFeatureSelectingEstimator
.UserName)]
19
public static CommonOutputs.TransformOutput CountSelect(IHostEnvironment env,
CountFeatureSelectingEstimator
.Options input)
26
var xf =
CountFeatureSelectingEstimator
.Create(host, input, input.Data);
FeatureSelectionCatalog.cs (9)
12
using 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.
77
internal static
CountFeatureSelectingEstimator
SelectFeaturesBasedOnCount(this TransformsCatalog.FeatureSelectionTransforms catalog,
78
params
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.
97
public 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.
118
public static
CountFeatureSelectingEstimator
SelectFeaturesBasedOnCount(this TransformsCatalog.FeatureSelectionTransforms catalog,
124
var columnOptions = columns.Select(x => new
CountFeatureSelectingEstimator
.ColumnOptions(x.OutputColumnName, x.InputColumnName, count)).ToArray();