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