SyntaxFix
Write A Post
Hire A Developer
Questions
As your input is in string you are getting value error message use countvectorizer it will convert data set in to sparse matrix and train your ml algorithm you will get the result