Skip to content

Conversation

@JRAlexander
Copy link
Contributor

@JRAlexander JRAlexander commented May 25, 2018

Update SentimentAnalysis tutorial with new datasets

Updated the tutorial with the Wikidetox data sets.

Internal Review URL

@JRAlexander JRAlexander requested a review from mairaw May 25, 2018 18:41
Copy link
Contributor

@mairaw mairaw left a 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).
Copy link
Contributor

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.
Copy link
Contributor

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).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: seperated

@JRAlexander
Copy link
Contributor Author

closing and reopening to restart hung build

@JRAlexander JRAlexander reopened this May 25, 2018
@JRAlexander JRAlexander merged commit 1aa1f3c into dotnet:master May 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants