Skip to content

Commit aaa4904

Browse files
bamurtaughCESARDELATORRE
authored andcommitted
Change example, fix typo (dotnet#582)
Include a clearly non-toxic sentiment- easier for analysis
1 parent e6c8f39 commit aaa4904

File tree

1 file changed

+2
-2
lines changed
  • samples/csharp/getting-started/BinaryClassification_SentimentAnalysis/SentimentAnalysis/SentimentAnalysisConsoleApp

1 file changed

+2
-2
lines changed

samples/csharp/getting-started/BinaryClassification_SentimentAnalysis/SentimentAnalysis/SentimentAnalysisConsoleApp/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ static void Main(string[] args)
5353

5454
Console.WriteLine("The model is saved to {0}", ModelPath);
5555

56-
// TRY IT: Make a single test prediction loding the model from .ZIP file
57-
SentimentIssue sampleStatement = new SentimentIssue { Text = "This is a very rude movie" };
56+
// TRY IT: Make a single test prediction, loading the model from .ZIP file
57+
SentimentIssue sampleStatement = new SentimentIssue { Text = "I love this movie!" };
5858

5959
// Create prediction engine related to the loaded trained model
6060
var predEngine = mlContext.Model.CreatePredictionEngine<SentimentIssue, SentimentPrediction>(trainedModel);

0 commit comments

Comments
 (0)