Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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