SyntaxFix
Write A Post
Hire A Developer
Questions
I had the same problem. I solve it when I convert string to factor. In your case, check the class of variable and check if they are numeric and 'train and test' should be factor.