-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Update SentimentAnalysis tutorial with new datasets #5616
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM modulo the small fixes I found
| # Tutorial: Use the ML.NET APIs in a sentiment analysis classification scenario | ||
|
|
||
| > [!NOTE] | ||
| > This topic refers to ML.NET, which is currently in Preview, and material may be subject to change. For more information, please visit [the ML.NET introduction](https://www.microsoft.com/net/learn/apps/machine-learning-and-ai/ml-dotnet). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Prediction and evaluation results are displayed accordingly so that analysis and action can be taken. | ||
|
|
||
| Sentiment analysis is either positive or negative. So, you can use classification to train the model, for prediction, and for evaluation. | ||
| The sample is a console app that uses the ML.NET API to train a model that classifies and predicts sentiment as either positive or negative. It also evaluates the model with a second dataset for quality analysis. The sentiment datasets are from the WikiDetox. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ML.NET APIs?
remove extra space between from and the
link to WikiDetox?
| * [Visual Studio 2017 15.6 or later](https://www.visualstudio.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=button+cta&utm_content=download+vs2017) with the ".NET Core cross-platform development" workload installed. | ||
|
|
||
| * [The UCI Sentiment Labeled Sentences dataset zip file](https://archive.ics.uci.edu/ml/machine-learning-databases/00331/sentiment%20labelled%20sentences.zip) | ||
| * The [Wikipedia detox line data tab seperated file (wikiPedia-detox-250-line-data.tsv)](https://github.com/dotnet/machinelearning/blob/master/test/data/wikipedia-detox-250-line-data.tsv). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: seperated
|
closing and reopening to restart hung build |
Update SentimentAnalysis tutorial with new datasets
Updated the tutorial with the Wikidetox data sets.
Internal Review URL