105 writes to Columns
Microsoft.ML.AutoML (4)
ColumnInference\ColumnInferenceApi.cs (2)
54
Columns
= loaderColumns,
91
Columns
= columnResults.ToArray(),
ColumnInference\ColumnTypeInference.cs (1)
262
Columns
= new[] { new TextLoader.Column("C", DataKind.String, 0, args.ColumnCount - 1) },
ColumnInference\TextFileContents.cs (1)
66
Columns
= new[] { new TextLoader.Column() {
Microsoft.ML.AutoML.Tests (2)
AutoFitTests.cs (2)
697
Columns
= new[]
712
Columns
= new[]
Microsoft.ML.CodeGenerator.Tests (10)
ApprovalTests\ConsoleCodeGeneratorTests.cs (9)
571
Columns
= new[] {
610
Columns
= new[] {
647
Columns
= new[] {
700
Columns
= new[] {
738
Columns
= new[] {
789
Columns
= new[] {
820
Columns
= new[] {
995
Columns
= new[] {
1105
Columns
= new[] {
CodeGenTests.cs (1)
102
Columns
= CodeGenTestData.inputColumns[i],
Microsoft.ML.Core.Tests (2)
UnitTests\TestEntryPoints.cs (1)
1367
Columns
= new[]
UnitTests\TestHosts.cs (1)
131
env.Data.CreateTextLoader(new TextLoader.Options {
Columns
= new[] { new TextLoader.Column("TestColumn", DataKind.Single, 0) } });
Microsoft.ML.Data (6)
DataLoadSave\Text\TextLoader.cs (1)
1632
options.
Columns
= columns.ToArray();
DataLoadSave\Text\TextLoaderSaverCatalog.cs (2)
63
Columns
= columns,
173
Columns
= columns,
Transforms\ValueMapping.cs (2)
646
Columns
= new TextLoader.Column[]
673
Columns
= new TextLoader.Column[]
Transforms\ValueToKeyMappingTransformer.cs (1)
440
Columns
= new[]
Microsoft.ML.IntegrationTests (1)
Validation.cs (1)
77
Columns
= new[]
Microsoft.ML.PerformanceTests (9)
FeaturizeTextBench.cs (1)
41
Columns
= columns.ToArray(),
PredictionEngineBench.cs (3)
43
Columns
= new[]
82
Columns
= new[]
117
Columns
= new[]
RffTransform.cs (1)
34
Columns
= new[]
StochasticDualCoordinateAscentClassifierBench.cs (3)
64
Columns
= new[]
91
Columns
= new TextLoader.Column[]
133
Columns
= new[]
TextLoaderBench.cs (1)
44
Columns
= _columns.ToArray(),
Microsoft.ML.Predictor.Tests (2)
TestIniModels.cs (2)
523
Columns
= new[]
562
Columns
= new[]
Microsoft.ML.Samples (7)
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (1)
36
Columns
= new[]
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (1)
36
Columns
= new[]
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScale.cs (1)
36
Columns
= new[]
Dynamic\Transforms\ImageAnalytics\DnnFeaturizeImage.cs (1)
35
Columns
= new[]
Dynamic\Transforms\ImageAnalytics\ExtractPixels.cs (1)
38
Columns
= new[]
Dynamic\Transforms\ImageAnalytics\LoadImages.cs (1)
35
Columns
= new[]
Dynamic\Transforms\ImageAnalytics\ResizeImages.cs (1)
35
Columns
= new[]
Microsoft.ML.TensorFlow.Tests (2)
TensorflowTests.cs (2)
141
Columns
= new[]
1151
Columns
= new[]
Microsoft.ML.Tests (54)
ImagesTests.cs (16)
36
Columns
= new[]
44
Columns
= new[]
67
Columns
= new[]
111
Columns
= new[]
143
Columns
= new[]
180
Columns
= new[]
339
Columns
= new[]
414
Columns
= new[]
490
Columns
= new[]
565
Columns
= new[]
640
Columns
= new[]
715
Columns
= new[]
791
Columns
= new[]
866
Columns
= new[]
942
Columns
= new[]
1014
Columns
= new[]
Scenarios\OvaTest.cs (4)
24
Columns
= new[]
57
Columns
= new[]
93
Columns
= new[]
128
Columns
= new[]
TermEstimatorTests.cs (1)
58
Columns
= new[]{
TextLoaderTests.cs (8)
896
Columns
= new[]
932
Columns
= new[]
991
Columns
= new[]
1043
Columns
= new[]
1053
Columns
= new[]
1284
Columns
= new[]
1395
Columns
= new[]
1434
Columns
= new[]
TrainerEstimators\FAFMEstimator.cs (1)
95
Columns
= new[]
TrainerEstimators\MatrixFactorizationTests.cs (1)
162
Columns
= new[]
TrainerEstimators\MetalinearEstimators.cs (1)
80
Columns
= TestDatasets.irisData.GetLoaderColumns(),
TrainerEstimators\PriorRandomTests.cs (1)
20
Columns
= new[]
TrainerEstimators\TrainerEstimators.cs (7)
34
Columns
= new[]
63
Columns
= new[]
197
Columns
= new[]
231
Columns
= new[]
254
Columns
= new[]
268
Columns
= new[]
281
Columns
= new[]
Transformers\ConcatTests.cs (2)
48
Columns
= new[]{
106
Columns
= new[]{
Transformers\ExpressionTransformerTests.cs (1)
26
Columns
= new[]{
Transformers\KeyToValueTests.cs (1)
29
Columns
= new[]
Transformers\NormalizerTests.cs (7)
39
Columns
= new[] {
108
Columns
= new[] {
226
Columns
= new[] {
473
Columns
= new[] {
577
Columns
= new[] {
635
Columns
= new[] {
993
Columns
= new[] {
Transformers\TextFeaturizerTests.cs (1)
560
Columns
= new[]
Transformers\WordEmbeddingsTests.cs (2)
34
Columns
= new[]
69
Columns
= new[]
Microsoft.ML.TorchSharp.Tests (5)
NerTests.cs (1)
204
Columns
= new[]
ObjectDetectionTests.cs (2)
35
Columns
= new[]
94
Columns
= new[]
QATests.cs (1)
75
Columns
= new[]
TextClassificationTests.cs (1)
419
Columns
= new[]
Microsoft.ML.Transforms (1)
Text\StopWordsRemovingTransformer.cs (1)
814
Columns
= new[]
27 references to Columns
Microsoft.ML.AutoML.Tests (18)
ColumnInferenceTests.cs (18)
34
foreach (var col in columnInferenceWithoutGrouping.TextLoaderOptions.
Columns
)
40
Assert.True(columnInferenceWithGrouping.TextLoaderOptions.
Columns
.Count() < columnInferenceWithoutGrouping.TextLoaderOptions.
Columns
.Count());
62
var labelCol = result.TextLoaderOptions.
Columns
.First(c => c.Source[0].Min == 14 && c.Source[0].Max == 14);
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);
Microsoft.ML.CodeGenerator (3)
CodeGenerator\CSharp\AzureCodeGenerator\AzureAttachModelCodeGenerator.cs (1)
56
var labelType = _columnInferenceResult.TextLoaderOptions.
Columns
.Where(t => t.Name == _settings.LabelName).First().DataKind;
CodeGenerator\CSharp\CodeGenerator.cs (1)
60
var labelType = _columnInferenceResult.TextLoaderOptions.
Columns
.Where(t => t.Name == _settings.LabelName).First().DataKind;
Utils.cs (1)
265
foreach (var column in columnInferenceResults.TextLoaderOptions.
Columns
)
Microsoft.ML.Data (6)
DataLoadSave\Text\TextLoader.cs (4)
549
return Utils.Size(
Columns
) == 0 ||
Columns
.All(x => x.IsValid());
1164
var cols = options.
Columns
;
1371
cols = optionsNew.
Columns
;
DataLoadSave\Text\TextLoaderSaverCatalog.cs (2)
80
/// of slots in <see cref="TextLoader.Options.
Columns
"/> defined with <see cref="TextLoader.Range"/> with <see langword="null"/> maximum index.
82
/// it will also contain the schema information in the header that the loader can read even if <see cref="TextLoader.Options.
Columns
"/> are not specified.