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.
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.