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