Skip to content

MapValueToKey not explained #12085

@asthana86

Description

@asthana86

MapValueToKey is not explained well. This section is a bit complex to follow and understand:

"
As we want to predict the Area GitHub label for a GitHubIssue, copy the Area column into the Label column. To do that, use the MLContext.Transforms.Conversion.MapValueToKey, which is a wrapper for the MapValueToKey transformation class. The MapValueToKey returns an EstimatorChain<TLastTransformer> that will effectively be a pipeline. Name this pipeline as you will then append the trainer to the EstimatorChain. Add the next line of code:
"


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions