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