Skip to content

Update sentiment-analysis-model-builder.md #46584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ The machine learning task used to train the sentiment analysis model in this tut

- *SentimentAnalysis.consumption.cs* - This file contains the `ModelInput` and `ModelOutput` schemas as well as the `Predict` function generated for consuming the model.
- *SentimentAnalysis.training.cs* - This file contains the training pipeline (data transforms, trainer, trainer hyperparameters) chosen by Model Builder to train the model. You can use this pipeline for re-training your model.
- **SentimentAnalysis.zip* - This is a serialized zip file which represents your trained ML.NET model.
- **SentimentAnalysis.mlnet* - This file contains metadata and configuration details for an ML.NET model.

1. Select the **Next step** button to move to the next step.

Expand Down Expand Up @@ -144,7 +144,7 @@ To make a single prediction, you have to create a <xref:Microsoft.ML.PredictionE

```csharp
builder.Services.AddPredictionEnginePool<ModelInput, ModelOutput>()
.FromFile("SentimentAnalysis.zip");
.FromFile("SentimentAnalysis.mlnet");
```

### Create sentiment analysis handler
Expand Down
Loading