26 writes to ColumnType
Microsoft.ML.Data (2)
Data\SchemaDefinition.cs (1)
244
ColumnType
= columnType;
DataView\DataViewConstructionUtils.cs (1)
79
schemaDefinitionCol.
ColumnType
= col.Type;
Microsoft.ML.EntryPoints (1)
PermutationFeatureImportance.cs (1)
325
schema[metricName].
ColumnType
= new VectorDataViewType(type, size);
Microsoft.ML.IntegrationTests (6)
ModelFiles.cs (2)
235
inputSchemaDefinition[nameof(ModelInput.CategoricalFeatures)].
ColumnType
= new VectorDataViewType(TextDataViewType.Instance, 5);
236
inputSchemaDefinition[nameof(ModelInput.NumericalFeatures)].
ColumnType
= new VectorDataViewType(NumberDataViewType.Single, 3);
SchemaDefinitionTests.cs (4)
45
outputSchemaDefinition["Features"].
ColumnType
= model1.GetOutputSchema(data.Schema)["Features"].Type;
49
outputSchemaDefinition["Features"].
ColumnType
= model2.GetOutputSchema(data.Schema)["Features"].Type;
74
inputSchemaDefinition["Features"].
ColumnType
= schema["Features"].Type;
76
outputSchemaDefinition["Features"].
ColumnType
= new VectorDataViewType(NumberDataViewType.Single, (schema["Features"].Type as VectorDataViewType).Size * 2);
Microsoft.ML.Samples (1)
Dynamic\DataOperations\LoadFromEnumerable.cs (1)
77
definedSchema[0].
ColumnType
= new VectorDataViewType(vectorItemType,
Microsoft.ML.Tests (8)
SvmLightTests.cs (8)
75
schemaDef["Features"].
ColumnType
= new VectorDataViewType(NumberDataViewType.Single, 5);
104
schemaDef["Features"].
ColumnType
= new VectorDataViewType(NumberDataViewType.Single, 5);
132
schemaDef["Features"].
ColumnType
= new VectorDataViewType(NumberDataViewType.Single, 6);
160
schemaDef["Features"].
ColumnType
= new VectorDataViewType(NumberDataViewType.Single, 3);
211
schemaDef["Features"].
ColumnType
= new VectorDataViewType(NumberDataViewType.Single, 1);
305
schemaDef["Features"].
ColumnType
= new VectorDataViewType(NumberDataViewType.Single, 6);
462
schemaDef["Features"].
ColumnType
= new VectorDataViewType(NumberDataViewType.Single, 6);
489
schemaDef["Features"].
ColumnType
= new VectorDataViewType(NumberDataViewType.Single, 6);
Microsoft.ML.TimeSeries (5)
SequentialTransformBase.cs (1)
246
outputSchema[0].
ColumnType
= outputColTypeOverride;
SequentialTransformerBase.cs (4)
507
outputSchema[0].
ColumnType
= outputSchema[1].
ColumnType
= outputSchema[2].
ColumnType
= outputColTypeOverride;
526
outputSchema[0].
ColumnType
= outputColTypeOverride;
Microsoft.ML.Transforms (3)
PermutationFeatureImportance.cs (1)
193
output[0].
ColumnType
= featuresColumn.Type;
SvmLight\SvmLightLoader.cs (2)
644
schemaDef[nameof(Indices.FeatureKeys)].
ColumnType
= new KeyDataViewType(typeof(uint), _featureCount);
722
schemaDef[0].
ColumnType
= new VectorDataViewType(NumberDataViewType.Single, keyCount);
7 references to ColumnType
Microsoft.ML.Data (4)
DataView\InternalSchemaDefinition.cs (4)
265
if (col.
ColumnType
== null)
275
VectorDataViewType columnVectorType = col.
ColumnType
as VectorDataViewType;
281
DataViewType itemType = columnVectorType?.ItemType ?? col.
ColumnType
;
287
colType = col.
ColumnType
;
Microsoft.ML.EntryPoints (1)
PermutationFeatureImportance.cs (1)
324
var type = ((VectorDataViewType)schema[metricName].
ColumnType
).ItemType;
Microsoft.ML.Samples (2)
Dynamic\DataOperations\LoadFromEnumerable.cs (2)
64
.
ColumnType
as VectorDataViewType;
75
var vectorItemType = ((VectorDataViewType)definedSchema[0].
ColumnType
)