Classify a review as good or bad
1 |
x |
Text to be classified, ideally a one-sentence product review. |
random_forest |
A model created with the randomForest package. |
vectoriser |
A vectoriser constructed with the text2vec package. |
tfidf |
A tfidf object constructed with the text2vec package. If no tfidf is NULL, then weighting will not be applied. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.