You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Random Forest to classify item's category (either Drink or Food) based on item's name. But I got this error Error resolving Attribute CategoricalAttribute
Hi thaitanloi365 (apologies that I've haven't been very responsive this project recently, things have been busy).
Running your example, I can see that your testing data does not have all of the categorical labels that your training data does, which is why resolving the categorical attribute fails: everything has to have the same type and that includes all the labels.
Hello,
I'm trying to use Random Forest to classify item's category (either
Drink
orFood
) based on item's name. But I got this errorError resolving Attribute CategoricalAttribute
Here is my example:
https://github.com/thaitanloi365/golearn-example
Please help me to resolve it.
Thanks
The text was updated successfully, but these errors were encountered: