1 write to TextLoaderOptions
Microsoft.ML.AutoML (1)
ColumnInference\ColumnInferenceApi.cs (1)
102TextLoaderOptions = textLoaderOptions,
61 references to TextLoaderOptions
Microsoft.ML.AutoML (3)
API\AutoCatalog.cs (3)
218/// The returned <see cref="ColumnInferenceResults.TextLoaderOptions" /> can be used to 246/// The returned <see cref="ColumnInferenceResults.TextLoaderOptions" /> can be used to 276/// The returned <see cref="ColumnInferenceResults.TextLoaderOptions" /> can be used to
Microsoft.ML.AutoML.Tests (38)
AutoFeaturizerTests.cs (1)
109var textLoader = context.Data.CreateTextLoader(columnInference.TextLoaderOptions);
AutoFitTests.cs (10)
47var textLoader = context.Data.CreateTextLoader(columnInference.TextLoaderOptions); 73var textLoader = context.Data.CreateTextLoader(columnInference.TextLoaderOptions); 100var textLoader = context.Data.CreateTextLoader(columnInference.TextLoaderOptions); 127var textLoader = context.Data.CreateTextLoader(columnInference.TextLoaderOptions); 261var textLoader = context.Data.CreateTextLoader(columnInference.TextLoaderOptions); 335var textLoader = context.Data.CreateTextLoader(columnInference.TextLoaderOptions); 362var textLoader = context.Data.CreateTextLoader(columnInference.TextLoaderOptions); 392var textLoader = context.Data.CreateTextLoader(columnInference.TextLoaderOptions); 587var textLoader = context.Data.CreateTextLoader(columnInference.TextLoaderOptions); 651var textLoader = context.Data.CreateTextLoader(columnInference.TextLoaderOptions);
ColumnInferenceTests.cs (20)
34foreach (var col in columnInferenceWithoutGrouping.TextLoaderOptions.Columns) 40Assert.True(columnInferenceWithGrouping.TextLoaderOptions.Columns.Count() < columnInferenceWithoutGrouping.TextLoaderOptions.Columns.Count()); 61Assert.True(result.TextLoaderOptions.HasHeader); 62var labelCol = result.TextLoaderOptions.Columns.First(c => c.Source[0].Min == 14 && c.Source[0].Max == 14); 71Assert.False(result.TextLoaderOptions.HasHeader); 72var labelCol = result.TextLoaderOptions.Columns.First(c => c.Source[0].Min == DatasetUtil.IrisDatasetLabelColIndex && 82var emptyColumn = result.TextLoaderOptions.Columns.First(c => c.Name == "Empty"); 90Assert.Equal(2, result.TextLoaderOptions.Columns.Count()); 92var boolColumn = result.TextLoaderOptions.Columns.First(c => c.Name == "Bool"); 93var labelColumn = result.TextLoaderOptions.Columns.First(c => c.Name == DefaultColumnNames.Label); 117Assert.Equal(6, result.TextLoaderOptions.Columns.Count()); 119var labelColumn = result.TextLoaderOptions.Columns.First(c => c.Name == "col0"); 120var userColumn = result.TextLoaderOptions.Columns.First(c => c.Name == "col1"); 121var itemColumn = result.TextLoaderOptions.Columns.First(c => c.Name == "col2"); 122var ignoreColumn = result.TextLoaderOptions.Columns.First(c => c.Name == "col4"); 137Assert.Equal(2, result.TextLoaderOptions.Columns.Count()); 139var nameColumn = result.TextLoaderOptions.Columns.First(c => c.Name == "Username"); 140var labelColumn = result.TextLoaderOptions.Columns.First(c => c.Name == DefaultColumnNames.Label); 192var labelCol = result.TextLoaderOptions.Columns.First(c => c.Name == DatasetUtil.MlNetGeneratedRegressionLabel);
DatasetUtil.cs (6)
59var textLoader = context.Data.CreateTextLoader(columnInferenceResult.TextLoaderOptions); 72var textLoader = context.Data.CreateTextLoader(columnInferenceResult.TextLoaderOptions); 85var textLoader = context.Data.CreateTextLoader(columnInferenceResult.TextLoaderOptions); 98var textLoader = context.Data.CreateTextLoader(columnInferenceResult.TextLoaderOptions); 110var textLoader = context.Data.CreateTextLoader(columnInferenceResult.TextLoaderOptions); 121var textLoader = context.Data.CreateTextLoader(columnInferenceResult.TextLoaderOptions);
TrainValidaionDatasetManagerTest.cs (1)
31var textLoader = context.Data.CreateTextLoader(columnInference.TextLoaderOptions);
Microsoft.ML.CodeGenerator (20)
CodeGenerator\CSharp\AzureCodeGenerator\AzureAttachConsoleAppCodeGenerator.cs (8)
50HasHeader = _columnInferenceResult.TextLoaderOptions.HasHeader, 51Separator = _columnInferenceResult.TextLoaderOptions.Separators.FirstOrDefault(), 53AllowQuoting = _columnInferenceResult.TextLoaderOptions.AllowQuoting, 54AllowSparse = _columnInferenceResult.TextLoaderOptions.AllowSparse, 92AllowQuoting = _columnInferenceResult.TextLoaderOptions.AllowQuoting, 93AllowSparse = _columnInferenceResult.TextLoaderOptions.AllowSparse, 94HasHeader = _columnInferenceResult.TextLoaderOptions.HasHeader, 95Separator = _columnInferenceResult.TextLoaderOptions.Separators.FirstOrDefault(),
CodeGenerator\CSharp\AzureCodeGenerator\AzureAttachModelCodeGenerator.cs (1)
56var labelType = _columnInferenceResult.TextLoaderOptions.Columns.Where(t => t.Name == _settings.LabelName).First().DataKind;
CodeGenerator\CSharp\CodeGenerator.cs (9)
60var labelType = _columnInferenceResult.TextLoaderOptions.Columns.Where(t => t.Name == _settings.LabelName).First().DataKind; 353HasHeader = _columnInferenceResult.TextLoaderOptions.HasHeader, 354Separator = _columnInferenceResult.TextLoaderOptions.Separators.FirstOrDefault(), 355AllowQuoting = _columnInferenceResult.TextLoaderOptions.AllowQuoting, 356AllowSparse = _columnInferenceResult.TextLoaderOptions.AllowSparse, 376HasHeader = _columnInferenceResult.TextLoaderOptions.HasHeader, 377Separator = _columnInferenceResult.TextLoaderOptions.Separators.FirstOrDefault(), 378AllowQuoting = _columnInferenceResult.TextLoaderOptions.AllowQuoting, 379AllowSparse = _columnInferenceResult.TextLoaderOptions.AllowSparse,
Utils.cs (2)
42var textLoader = mlContext.Data.CreateTextLoader(columnInference.TextLoaderOptions); 265foreach (var column in columnInferenceResults.TextLoaderOptions.Columns)