66 references to AddColumn
Microsoft.Data.Analysis (4)
DataFrameColumns\ArrowStringDataFrameColumn.cs (1)
584
builder.
AddColumn
(Name, TextDataViewType.Instance);
DataFrameColumns\StringDataFrameColumn.cs (1)
496
builder.
AddColumn
(Name, TextDataViewType.Instance);
DataFrameColumns\VBufferDataFrameColumn.cs (1)
168
builder.
AddColumn
(Name, GetDataViewType());
PrimitiveDataFrameColumn.cs (1)
792
builder.
AddColumn
(Name, GetDataViewType());
Microsoft.ML.AutoML (6)
AutoMLExperiment\ITrialResultManager.cs (6)
45
schemaBuilder.
AddColumn
("id", NumberDataViewType.Int32);
46
schemaBuilder.
AddColumn
("loss", NumberDataViewType.Single);
47
schemaBuilder.
AddColumn
("durationInMilliseconds", NumberDataViewType.Single);
48
schemaBuilder.
AddColumn
("peakCpu", NumberDataViewType.Single);
49
schemaBuilder.
AddColumn
("peakMemoryInMegaByte", NumberDataViewType.Single);
50
schemaBuilder.
AddColumn
("parameter", new VectorDataViewType(NumberDataViewType.Double));
Microsoft.ML.AutoML.Tests (15)
ColumnInferenceValidationUtilTests.cs (2)
24
schemaBuilder.
AddColumn
(DefaultColumnNames.Features, NumberDataViewType.Single);
25
schemaBuilder.
AddColumn
(DefaultColumnNames.Label, NumberDataViewType.Single);
PurposeInferenceTests.cs (2)
26
schemaBuilder.
AddColumn
(DefaultColumnNames.Label, BooleanDataViewType.Instance);
27
schemaBuilder.
AddColumn
(DefaultColumnNames.Features, NumberDataViewType.Single);
UserInputValidationTests.cs (11)
203
schemaBuilder.
AddColumn
(DefaultColumnNames.Features, NumberDataViewType.Double);
204
schemaBuilder.
AddColumn
(DefaultColumnNames.Label, NumberDataViewType.Single);
217
schemaBuilder.
AddColumn
(DefaultColumnNames.Features, NumberDataViewType.Single);
218
schemaBuilder.
AddColumn
(DefaultColumnNames.Label, NumberDataViewType.Single);
219
schemaBuilder.
AddColumn
(textPurposeColName, NumberDataViewType.Single);
297
schemaBuilder.
AddColumn
("UInt64", NumberDataViewType.UInt64);
298
schemaBuilder.
AddColumn
(DefaultColumnNames.Label, NumberDataViewType.Single);
311
schemaBuilder.
AddColumn
("Number", NumberDataViewType.Single);
312
schemaBuilder.
AddColumn
(DefaultColumnNames.Label, NumberDataViewType.Single);
331
schemaBuilder.
AddColumn
("Number", NumberDataViewType.Single);
332
schemaBuilder.
AddColumn
(DefaultColumnNames.Label, NumberDataViewType.Single);
Microsoft.ML.Data (23)
DataLoadSave\Binary\BinaryLoader.cs (2)
661
schemaBuilder.
AddColumn
(loadedColumn.Name, loadedColumn.Type, metadataBuilder.ToAnnotations());
665
schemaBuilder.
AddColumn
(loadedColumn.Name, loadedColumn.Type);
DataLoadSave\Database\DatabaseLoader.cs (1)
674
schemaBuilder.
AddColumn
(info.Name, info.ColType);
DataLoadSave\FakeSchema.cs (1)
42
builder.
AddColumn
(shape[i].Name, MakeColumnType(shape[i]), metaBuilder.ToAnnotations());
DataLoadSave\Text\TextLoader.cs (2)
1056
schemaBuilder.
AddColumn
(info.Name, info.ColType, metadataBuilder.ToAnnotations());
1060
schemaBuilder.
AddColumn
(info.Name, info.ColType);
DataView\ArrayDataViewBuilder.cs (1)
228
schemaBuilder.
AddColumn
(builder._names[i], _columns[i].Type, meta.ToAnnotations());
DataView\Transposer.cs (4)
1018
schemaBuilder.
AddColumn
(selectedColumn.Name, selectedColumn.Type, selectedColumn.Annotations);
1112
schemaBuilder.
AddColumn
(selectedColumn.Name, _types[c]);
1437
builder.
AddColumn
(_data.Schema[_col].Name, _type);
1541
builder.
AddColumn
("Waffles", cursor.GetSlotType());
Dirty\ChooseColumnsByIndexTransform.cs (1)
117
schemaBuilder.
AddColumn
(selectedColumn.Name, selectedColumn.Type, selectedColumn.Annotations);
Evaluators\BinaryClassifierEvaluator.cs (3)
1552
schemaBuilder.
AddColumn
(MetricKinds.ColumnNames.WarningText, TextDataViewType.Instance);
1566
schemaBuilder.
AddColumn
(mc.LoadName, NumberDataViewType.Double);
1580
schemaBuilder.
AddColumn
(MetricKinds.ColumnNames.Count, NumberDataViewType.Double);
Scorers\FeatureContributionCalculation.cs (2)
329
builder.
AddColumn
(DefaultColumnNames.FeatureContributions, TextDataViewType.Instance, null);
345
schemaBuilder.
AddColumn
(DefaultColumnNames.FeatureContributions, featureContributionType, metadataBuilder.ToAnnotations());
Scorers\MulticlassClassificationScorer.cs (1)
333
builder.
AddColumn
(partialSchema[i].Name, partialSchema[i].Type, meta.ToAnnotations());
Scorers\ScoreSchemaFactory.cs (4)
37
schemaBuilder.
AddColumn
(scoreColumnName, scoreType, metadataBuilder.ToAnnotations());
58
schemaBuilder.
AddColumn
(partialSchema[0].Name, partialSchema[0].Type, partialSchema[0].Annotations);
69
schemaBuilder.
AddColumn
(probabilityColumnName, NumberDataViewType.Single, probabilityMetadataBuilder.ToAnnotations());
103
schemaBuilder.
AddColumn
(partialSchema[0].Name, partialSchema[0].Type, metadataBuilder.ToAnnotations());
Transforms\ColumnBindingsBase.cs (1)
286
builder.
AddColumn
(inputBindings.GetColumnName(i), inputBindings.GetColumnType(i), meta.ToAnnotations());
Microsoft.ML.DataView (3)
DataViewSchema.cs (3)
357
builder.
AddColumn
(item.Name, item.Type, item.Annotations);
413
AddColumn
(column.Name, column.Type, column.Annotations);
423
AddColumn
(column.Name, column.Type, column.Annotations);
Microsoft.ML.FastTree (3)
TreeEnsembleFeaturizer.cs (3)
143
schemaBuilder.
AddColumn
(treesColumnName, treeValueType, treeIdMetadataBuilder.ToAnnotations());
156
schemaBuilder.
AddColumn
(leavesColumnName, leafIdType, leafIdMetadataBuilder.ToAnnotations());
169
schemaBuilder.
AddColumn
(pathsColumnName, pathIdType, pathIdMetadataBuilder.ToAnnotations());
Microsoft.ML.PerformanceTests (1)
HashBench.cs (1)
66
builder.
AddColumn
("Foo", type, null);
Microsoft.ML.Samples (2)
Dynamic\SimpleDataViewImplementation.cs (2)
164
builder.
AddColumn
("Label", BooleanDataViewType.Instance);
165
builder.
AddColumn
("Text", TextDataViewType.Instance);
Microsoft.ML.TensorFlow (2)
TensorflowUtils.cs (2)
85
schemaBuilder.
AddColumn
(op.name, mlType, metadataBuilder.ToAnnotations());
112
schemaBuilder.
AddColumn
(op.name, columnType, metadataBuilder.ToAnnotations());
Microsoft.ML.Tests (3)
FakeSchemaTest.cs (3)
26
schemaBuilder.
AddColumn
("A", new VectorDataViewType(NumberDataViewType.Single, 94));
27
schemaBuilder.
AddColumn
("B", new KeyDataViewType(typeof(uint), 17));
28
schemaBuilder.
AddColumn
("C", NumberDataViewType.Int32, metadataBuilder.ToAnnotations());
Microsoft.ML.Transforms (4)
GroupTransform.cs (2)
285
schemaBuilder.
AddColumn
(groupKeyColumnName, sourceSchema[groupKeyColumnName].Type, sourceSchema[groupKeyColumnName].Annotations);
301
schemaBuilder.
AddColumn
(groupValueColumnName, aggregatedResultType, metadataBuilder.ToAnnotations());
SvmLight\SvmLightLoader.cs (1)
413
bldr.
AddColumn
("Text", TextDataViewType.Instance);
UngroupTransform.cs (1)
298
schemaBuilder.
AddColumn
(inputSchema[i].Name, inputSchema[i].Type, inputSchema[i].Annotations);