Machine Learning Usage Tip to Rank Small Phrases

Asked

Viewed 36 times

-3

I have a script that gives me 3 short sentences (about 20 words) in English to sort. I’ve never done it before, but I thought a machine learning algorithm could learn how to classify these 3 sentences (first, second, third). I have only about 900 earlier examples of classified phrases for the hypothetical algorithm to learn. It’s nothing crucial, just a personal script (in python3). What should I use / search / learn more? Any learning recommendation is welcome. Thank you

  • Take a look here. It uses Naive Bayes, but you can use other models and test (SVC, Decision Tree, Random Forest). What counts here is to understand the process of vectorizing, training, testing, classifying.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.