18 references to ConvertType
Microsoft.ML.Data (1)
Transforms\TypeConverting.cs (1)
532/// <seealso cref="ConversionsExtensionsCatalog.ConvertType(TransformsCatalog.ConversionTransforms, string, string, DataKind)"/>
Microsoft.ML.Fairlearn (1)
Metrics\FairlearnMetricCatalog.cs (1)
68var convertToString = _context.Transforms.Conversion.ConvertType(sensitiveCol.Name, sensitiveCol.Name, DataKind.String);
Microsoft.ML.Samples (2)
Dynamic\Transforms\Concatenate.cs (1)
49var pipeline = mlContext.Transforms.Conversion.ConvertType("Feature3",
Dynamic\Transforms\Conversion\ConvertType.cs (1)
23var pipeline = mlContext.Transforms.Conversion.ConvertType(
Microsoft.ML.Tests (10)
CalibratedModelParametersTests.cs (1)
136return pipeline.Append(ML.Transforms.Conversion.ConvertType("Label", outputKind: DataKind.Boolean))
FeatureContributionTests.cs (1)
318return pipeline.Append(ML.Transforms.Conversion.ConvertType("Label", outputKind: DataKind.Boolean))
OnnxConversionTest.cs (2)
949var pipeline = mlContext.Transforms.Conversion.ConvertType("ValueConverted", "Value", outputKind: toKind); 1168.Append(mlContext.Transforms.Conversion.ConvertType("MissingIndicator", outputKind: DataKind.Int32));
PermutationFeatureImportanceTests.cs (2)
861return pipeline.Append(ML.Transforms.Conversion.ConvertType("Label", outputKind: DataKind.Boolean)) 942return pipeline.Append(ML.Transforms.Conversion.ConvertType("Label", outputKind: DataKind.Boolean))
Scenarios\Api\TestApi.cs (1)
180xf = mlContext.Transforms.Conversion.ConvertType("Label", outputKind: DataKind.Boolean).Fit(xf).Transform(xf);
TrainerEstimators\SdcaTests.cs (1)
28var binaryData = ML.Transforms.Conversion.ConvertType("Label", outputKind: DataKind.Boolean)
Transformers\CategoricalTests.cs (2)
109var pipe = mlContext.Transforms.Conversion.ConvertType("A", outputKind: DataKind.Single) 110.Append(mlContext.Transforms.Conversion.ConvertType("B", outputKind: DataKind.Single))
Microsoft.ML.TimeSeries.Tests (2)
TimeSeriesDirectApi.cs (2)
304.Append(ml.Transforms.Conversion.ConvertType("Value", "Value", DataKind.Single)) 450.Append(ml.Transforms.Conversion.ConvertType("Value", "Value", DataKind.Single))
Microsoft.ML.TorchSharp.Tests (2)
ObjectDetectionTests.cs (2)
49.Append(ML.Transforms.Conversion.ConvertType("Box"), TransformerScope.Training) 66.Append(ML.Transforms.Conversion.ConvertType("Box"))