30 references to SelectColumns
Microsoft.ML.Data (1)
Transforms\ColumnSelecting.cs (1)
62/// <seealso cref="TransformExtensionsCatalog.SelectColumns(TransformsCatalog, string[])"/>
Microsoft.ML.Samples (1)
Dynamic\Transforms\SelectColumns.cs (1)
41var pipeline = mlContext.Transforms.SelectColumns("Age", "Education");
Microsoft.ML.TestFramework (2)
DataPipe\TestDataPipe.cs (2)
858IDataView view1 = ML.Transforms.SelectColumns(colsChoose).Fit(pipe).Transform(pipe); 859view2 = ML.Transforms.SelectColumns(colsChoose).Fit(view2).Transform(view2);
Microsoft.ML.Tests (26)
OnnxConversionTest.cs (1)
1898var pipeline = mlContext.Transforms.ReplaceMissingValues("Size").Append(mlContext.Transforms.SelectColumns(new[] { "Size", "Shape", "Thickness", "Label" }));
Transformers\CategoricalHashTests.cs (1)
103var view = ML.Transforms.SelectColumns("A", "B", "C", "D", "E", "F").Fit(savedData).Transform(savedData);
Transformers\CategoricalTests.cs (1)
175var view = ML.Transforms.SelectColumns("A", "B", "C", "D", "E").Fit(savedData).Transform(savedData);
Transformers\ConcatTests.cs (2)
83data = ML.Transforms.SelectColumns("f1", "f2", "f3", "f4").Fit(data).Transform(data); 147data = ML.Transforms.SelectColumns("f2", "f3").Fit(data).Transform(data);
Transformers\CountTargetEncodingTests.cs (1)
115var select = ML.Transforms.SelectColumns("Features").Fit(transformed);
Transformers\CustomMappingTests.cs (1)
114var badData2 = ML.Transforms.SelectColumns(new[] { "Float1" }).Fit(data).Transform(data);
Transformers\FeatureSelectionTests.cs (1)
51savedData = ML.Transforms.SelectColumns("bag_of_words_count", "bag_of_words_mi").Fit(savedData).Transform(savedData);
Transformers\KeyToValueTests.cs (2)
85var dataLeft = ML.Transforms.SelectColumns(new[] { "ScalarString", "VectorString" }).Fit(data).Transform(data); 86var dataRight = ML.Transforms.SelectColumns(new[] { "ScalarString", "VectorString" }).Fit(data2Transformed).Transform(data2Transformed);
Transformers\NAReplaceTests.cs (1)
144var view = ML.Transforms.SelectColumns("A", "B", "C", "D", "E").Fit(savedData).Transform(savedData);
Transformers\NormalizerTests.cs (4)
676savedData = ML.Transforms.SelectColumns("lpnorm", "gcnorm", "whitened").Fit(savedData).Transform(savedData); 710savedData = ML.Transforms.SelectColumns("whitened1", "whitened2").Fit(savedData).Transform(savedData); 773savedData = ML.Transforms.SelectColumns("lpNorm1", "lpNorm2").Fit(savedData).Transform(savedData); 833savedData = ML.Transforms.SelectColumns("gcnNorm1", "gcnNorm2").Fit(savedData).Transform(savedData);
Transformers\PcaTests.cs (1)
61savedData = ML.Transforms.SelectColumns("pca").Fit(savedData).Transform(savedData);
Transformers\SelectColumnsTests.cs (1)
111var est = ML.Transforms.SelectColumns(new[] { "A", "B" });
Transformers\TextFeaturizerTests.cs (7)
445savedData = ML.Transforms.SelectColumns("Data", "OutputTokens").Fit(savedData).Transform(savedData); 476savedData = ML.Transforms.SelectColumns("text", "words", "chars").Fit(savedData).Transform(savedData); 496var savedData = ML.Transforms.SelectColumns("words").Fit(outdata).Transform(outdata); 545savedData = ML.Transforms.SelectColumns("text", "NoDefaultStopwords", "NoStopWords").Fit(savedData).Transform(savedData); 606savedData = ML.Transforms.SelectColumns("text", "bag_of_words", "bag_of_wordshash").Fit(savedData).Transform(savedData); 641savedData = ML.Transforms.SelectColumns("text", "terms", "ngrams", "ngramshash").Fit(savedData).Transform(savedData); 700savedData = ML.Transforms.SelectColumns("topics").Fit(savedData).Transform(savedData);
Transformers\WordEmbeddingsTests.cs (2)
52savedData = ML.Transforms.SelectColumns("WordEmbeddings").Fit(savedData).Transform(savedData); 95savedData = ML.Transforms.SelectColumns("WordEmbeddings", "CleanWords").Fit(savedData).Transform(savedData);