Skip to content

Commit

Permalink
Remove redundant parenthesis from the "Analyze sentiment using the ML…
Browse files Browse the repository at this point in the history
….NET CLI" documentation. (dotnet#40651)
  • Loading branch information
EngincanV authored May 1, 2024
1 parent f6466b6 commit 71b877d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/machine-learning/tutorials/sentiment-analysis-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Those enumerated assets are explained in the following steps of the tutorial.
}
```

- The first lines of code create a *single sample data*, in this case based on the first row of your dataset to be used for the prediction. You can also create your own 'hard-coded' data by updating the code:
- The first lines of code create a *single sample data*. In this case, the single sample data is based on the first row of the dataset to be used for the prediction. You can also create your own 'hard-coded' data by updating the code:

```csharp
ModelInput sampleData = new ModelInput()
Expand All @@ -178,9 +178,9 @@ Those enumerated assets are explained in the following steps of the tutorial.

1. Run the project, either using the original sample data loaded from the first row of the dataset or by providing your own custom hard-coded sample data. You should get a prediction comparable to:

![ML.NET CLI run the app from Visual Studio](./media/mlnet-cli/mlnet-cli-console-app.png))
![ML.NET CLI run the app from Visual Studio](./media/mlnet-cli/mlnet-cli-console-app.png)

1. Try changing the hard-coded sample data to other sentences with different sentiment and see how the model predicts positive or negative sentiment.
Try changing the hard-coded sample data to other sentences with different sentiments and see how the model predicts positive or negative sentiment.

## Infuse your end-user applications with ML model predictions

Expand Down

0 comments on commit 71b877d

Please sign in to comment.