Skip to content

ValueMappingEstimator in the Conversions catalog is missing the treatAsKeys parameter #2346

@singlis

Description

@singlis

When adding samples, I noticed that the treatValuesAsKeys parameter is not available as part of the Conversions catalog. Therefore I am not able to do this:

         var pipeline = ml.Transforms.Conversions.ValueMap(educationKeys, educationValues, true, ("EducationKeyType", "Education"));

And instead have to do this:

            var pipeline = new ValueMappingEstimator<string, string>(ml, educationKeys, educationValues, true, ("EducationKeyType", "Education"));

Therefore we should add another function to the Conversions Catalog to handle this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions