23 references to InferColumns
Microsoft.ML.AutoML.Tests (23)
AutoFeaturizerTests.cs (1)
108var columnInference = context.Auto().InferColumns(datasetPath, "Label");
AutoFitTests.cs (10)
46var columnInference = context.Auto().InferColumns(dataPath, DatasetUtil.UciAdultLabel); 72var columnInference = context.Auto().InferColumns(dataPath, DatasetUtil.UciAdultLabel); 99var columnInference = context.Auto().InferColumns(dataPath, DatasetUtil.UciAdultLabel); 126var columnInference = context.Auto().InferColumns(dataPath, DatasetUtil.UciAdultLabel); 260var columnInference = context.Auto().InferColumns(DatasetUtil.TrivialMulticlassDatasetPath, DatasetUtil.TrivialMulticlassDatasetLabel); 334var columnInference = context.Auto().InferColumns(datasetPath, "Label"); 361var columnInference = context.Auto().InferColumns(datasetPath, "Label"); 391var columnInference = context.Auto().InferColumns(datasetPath, "Label"); 586var columnInference = context.Auto().InferColumns(dataPath, DatasetUtil.UciAdultLabel); 650var columnInference = context.Auto().InferColumns(dataPath, DatasetUtil.UciAdultLabel);
ColumnInferenceTests.cs (6)
33var columnInferenceWithoutGrouping = context.Auto().InferColumns(dataPath, DatasetUtil.UciAdultLabel, groupColumns: false); 39var columnInferenceWithGrouping = context.Auto().InferColumns(dataPath, DatasetUtil.UciAdultLabel, groupColumns: true); 48Assert.Throws<ArgumentException>(new System.Action(() => context.Auto().InferColumns(dataPath, "Junk", groupColumns: false))); 81var result = new MLContext(1).Auto().InferColumns(Path.Combine("TestData", "DatasetWithEmptyColumn.txt"), DefaultColumnNames.Label, groupColumns: false); 89var result = new MLContext(1).Auto().InferColumns(Path.Combine("TestData", "BinaryDatasetWithBoolColumn.txt"), DefaultColumnNames.Label); 136var result = new MLContext(1).Auto().InferColumns(Path.Combine("TestData", "NameColumnIsOnlyFeatureDataset.txt"), DefaultColumnNames.Label);
DatasetUtil.cs (5)
58var columnInferenceResult = context.Auto().InferColumns(uciAdultDataFile, UciAdultLabel); 84var columnInferenceResult = context.Auto().InferColumns(taxiFareFile, TaxiFareLabel); 97var columnInferenceResult = context.Auto().InferColumns(file, NewspaperChurnLabel); 109var columnInferenceResult = context.Auto().InferColumns(file, "A16"); 120var columnInferenceResult = context.Auto().InferColumns(taxiFareFile, TaxiFareLabel);
TrainValidaionDatasetManagerTest.cs (1)
30var columnInference = context.Auto().InferColumns(dataPath, DatasetUtil.UciAdultLabel);