I have a .arff
with some data that has three string attributes and then a numeric one that is the class. When I try to make the model to later predict the class of other data, it does not let me indicate:
Cannot handle string attributes!
I have already tried to make the filter StringToNominal
to parsear the data string to a number, but it still does not work. I also tried the StringToWordVector
filter, but this time I created the model, then when I use it to predict it indicates that the data is class 0 or 1.
How can I translate string attributes into nominal attributes?