Description Usage Arguments Value
Predict whether a Yelp review is positive or negative.
1 | predict_rating(data, threshold = 0.5)
|
data |
A tibble of Yelp reviews pre-processed with |
threshold |
An optional threshold. Default is 0.5 which provided the best accuracy in testing. |
The input data with a new column containing a predicted rating of "POS" or "NEG" for each review.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.