Closed
Description
I followed the tutorial, and it's working. But while playing around I made changes in code e.g: changed [Column(ordinal: "1", name: "Label")]
to [Column(ordinal: "1")]
and then used ColumnCopier
to copy that column to Label. like this pipeline.Add(new ColumnCopier("Sentiment","Label"));
. But it's not working. It throws exception Source column 'Label' not found
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: c8e22825-c4ee-5a36-f911-8ad456970ecc
- Version Independent ID: ad0bf640-7dfc-1184-077c-358bb14277a7
- Content: Use ML.NET in a sentiment analysis classification scenario
- Content Source: docs/machine-learning/tutorials/sentiment-analysis.md
- Service: unspecified
- Product: dotnet-ml
- GitHub Login: @JRAlexander
- Microsoft Alias: johalex