13 instantiations of ColumnInferenceResults
Microsoft.ML.AutoML (1)
ColumnInference\ColumnInferenceApi.cs (1)
100return new ColumnInferenceResults()
Microsoft.ML.CodeGenerator.Tests (12)
ApprovalTests\ConsoleCodeGeneratorTests.cs (9)
582this._columnInference = new ColumnInferenceResults() 624this._columnInference = new ColumnInferenceResults() 661this._columnInference = new ColumnInferenceResults() 710var columnInference = new ColumnInferenceResults() 752this._columnInference = new ColumnInferenceResults() 799var columnInference = new ColumnInferenceResults() 843var columnInference = new ColumnInferenceResults() 1011var columnInference = new ColumnInferenceResults() 1120this._columnInference = new ColumnInferenceResults()
CodeGenTests.cs (1)
98var result = new ColumnInferenceResults()
UtilTest.cs (2)
132var columnInference = new ColumnInferenceResults() 167var columnInference = new ColumnInferenceResults()
90 references to ColumnInferenceResults
Microsoft.ML.AutoML (10)
API\AutoCatalog.cs (6)
218/// The returned <see cref="ColumnInferenceResults.TextLoaderOptions" /> can be used to 226public ColumnInferenceResults InferColumns(string path, string labelColumnName = DefaultColumnNames.Label, char? separatorChar = null, bool? allowQuoting = null, 246/// The returned <see cref="ColumnInferenceResults.TextLoaderOptions" /> can be used to 254public ColumnInferenceResults InferColumns(string path, ColumnInformation columnInformation, char? separatorChar = null, bool? allowQuoting = null, 276/// The returned <see cref="ColumnInferenceResults.TextLoaderOptions" /> can be used to 284public ColumnInferenceResults InferColumns(string path, uint labelColumnIndex, bool hasHeader = false, char? separatorChar = null,
ColumnInference\ColumnInferenceApi.cs (4)
13public static ColumnInferenceResults InferColumns(MLContext context, string path, uint labelColumnIndex, 31public static ColumnInferenceResults InferColumns(MLContext context, string path, string labelColumn, 38public static ColumnInferenceResults InferColumns(MLContext context, string path, ColumnInformation columnInfo, 47public static ColumnInferenceResults InferColumns(MLContext context, string path, ColumnInformation columnInfo, bool hasHeader,
Microsoft.ML.AutoML.Tests (32)
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 (14)
33var columnInferenceWithoutGrouping = context.Auto().InferColumns(dataPath, DatasetUtil.UciAdultLabel, groupColumns: false); 39var columnInferenceWithGrouping = context.Auto().InferColumns(dataPath, DatasetUtil.UciAdultLabel, groupColumns: true); 60var result = new MLContext(1).Auto().InferColumns(DatasetUtil.GetUciAdultDataset(), 14, hasHeader: true); 70var result = new MLContext(1).Auto().InferColumns(DatasetUtil.GetIrisDataset(), DatasetUtil.IrisDatasetLabelColIndex); 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); 116var result = ColumnInferenceApi.InferColumns(context, filePath, columnInfo, ',', null, null, false, false, false); 136var result = new MLContext(1).Auto().InferColumns(Path.Combine("TestData", "NameColumnIsOnlyFeatureDataset.txt"), DefaultColumnNames.Label); 152var result = new MLContext(1).Auto() 173var result = new MLContext(1).Auto().InferColumns(Path.Combine("TestData", "DatasetWithDefaultColumnNames.txt"), 190var result = new MLContext(1).Auto().InferColumns(DatasetUtil.GetMlNetGeneratedRegressionDataset(), 222var result = mlContext.Auto().InferColumns(dataPath, inputColumnInformation); 249var columnInferenceResults = JsonConvert.DeserializeObject<ColumnInferenceResults>(json);
DatasetUtil.cs (6)
58var columnInferenceResult = context.Auto().InferColumns(uciAdultDataFile, UciAdultLabel); 71var columnInferenceResult = context.Auto().InferColumns(dataFile, 0, groupColumns: false); 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);
Microsoft.ML.CodeGenerator (12)
CodeGenerator\CSharp\AzureCodeGenerator\AzureAttachCodeGenenrator.cs (2)
23private readonly ColumnInferenceResults _columnInferenceResult; 25public AzureAttachCodeGenenrator(Pipeline pipeline, ColumnInferenceResults columnInferenceResults, CodeGeneratorSettings options)
CodeGenerator\CSharp\AzureCodeGenerator\AzureAttachConsoleAppCodeGenerator.cs (2)
27private readonly ColumnInferenceResults _columnInferenceResult; 35public AzureAttachConsoleAppCodeGenerator(Pipeline pipeline, ColumnInferenceResults columnInferenceResults, CodeGeneratorSettings options, string namespaceValue)
CodeGenerator\CSharp\AzureCodeGenerator\AzureAttachModelCodeGenerator.cs (2)
24private readonly ColumnInferenceResults _columnInferenceResult; 37public AzureAttachModelCodeGenerator(Pipeline pipeline, ColumnInferenceResults columnInferenceResults, CodeGeneratorSettings options, string namespaceValue)
CodeGenerator\CSharp\CodeGenerator.cs (3)
26private readonly ColumnInferenceResults _columnInferenceResult; 36internal CodeGenerator(Pipeline pipeline, ColumnInferenceResults columnInferenceResult, CodeGeneratorSettings settings) 264/// Utilize <see cref="ML.CodeGenerator.Utilities.Utils.GenerateClassLabels(ColumnInferenceResults, IDictionary{string, CodeGeneratorSettings.ColumnMapping})"/>
Utils.cs (3)
37internal static IDictionary<string, string> GenerateSampleData(string inputFile, ColumnInferenceResults columnInference) 52internal static IDictionary<string, string> GenerateSampleData(IDataView dataView, ColumnInferenceResults columnInference) 261internal static IList<string> GenerateClassLabels(ColumnInferenceResults columnInferenceResults, IDictionary<string, CodeGeneratorSettings.ColumnMapping> columnMapping = default)
Microsoft.ML.CodeGenerator.Tests (36)
ApprovalTests\ConsoleCodeGeneratorTests.cs (33)
35private ColumnInferenceResults _columnInference = default; 54ColumnInferenceResults columnInference) = GetMockedOvaPipelineAndInference(); 69ColumnInferenceResults columnInference) = GetMockedBinaryPipelineAndInference(); 84ColumnInferenceResults columnInference) = GetMockedRegressionPipelineAndInference(); 99ColumnInferenceResults columnInference) = GetMockedRankingPipelineAndInference(); 114ColumnInferenceResults columnInference) = GetMockedBinaryPipelineAndInference(); 129ColumnInferenceResults columnInference) = GetMockedBinaryPipelineAndInference(); 144ColumnInferenceResults columnInference) = GetMockedBinaryPipelineAndInference(); 159ColumnInferenceResults columnInference) = GetMockedBinaryPipelineAndInference(); 174ColumnInferenceResults columnInference) = GetMockedBinaryPipelineAndInference(); 190ColumnInferenceResults columnInference) = GetMockedBinaryPipelineAndInference(); 205ColumnInferenceResults columnInference) = GetMockedBinaryPipelineAndInference(); 219(var pipeline, var columnInference) = GetMockedAzureImagePipelineAndInference(); 255(var pipeline, var columnInference) = GetMockedAzureObjectDetectionPipelineAndInference(@"/path/to/onnxModel"); 295(var pipeline, var columnInference, var mapping) = GetMockedAzurePipelineAndInference(); 332(var pipelineSanitized, var columnInferenceSanitized, var mappingSanitized) = this.GetMockedAzurePipelineAndInference(); 334(var pipelineUnsatinized, var columnInferenceUnsatinized, var mappingUnsatinized) = this.GetMockedAzurePipelineAndInferenceUnsanitizedColumnNames(); 339private void TestModelInput(Pipeline pipeline, ColumnInferenceResults columnInference, 379(var bestPipeLine, var columnInference) = GetMockedAzureImagePipelineAndInference(); 534ColumnInferenceResults columnInference) = GetMockedRecommendationPipelineAndInference(); 540private (Pipeline, ColumnInferenceResults) GetMockedRecommendationPipelineAndInference() 596private (Pipeline, ColumnInferenceResults) GetMockedBinaryPipelineAndInference() 633private (Pipeline, ColumnInferenceResults) GetMockedRegressionPipelineAndInference() 670private (Pipeline, ColumnInferenceResults) GetMockedAzureObjectDetectionPipelineAndInference(string onnxModelPath) 710var columnInference = new ColumnInferenceResults() 719private (Pipeline, ColumnInferenceResults) GetMockedRankingPipelineAndInference() 762private (Pipeline, ColumnInferenceResults) GetMockedAzureImagePipelineAndInference() 799var columnInference = new ColumnInferenceResults() 808private (Pipeline, ColumnInferenceResults, IDictionary<string, CodeGeneratorSettings.ColumnMapping>) GetMockedAzurePipelineAndInference() 843var columnInference = new ColumnInferenceResults() 978private (Pipeline, ColumnInferenceResults, IDictionary<string, CodeGeneratorSettings.ColumnMapping>) GetMockedAzurePipelineAndInferenceUnsanitizedColumnNames() 1011var columnInference = new ColumnInferenceResults() 1091private (Pipeline, ColumnInferenceResults) GetMockedOvaPipelineAndInference()
CodeGenTests.cs (1)
98var result = new ColumnInferenceResults()
UtilTest.cs (2)
132var columnInference = new ColumnInferenceResults() 167var columnInference = new ColumnInferenceResults()