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