3
votes

I'm working on an ecommerce application. Most of the products i have contains the category attribute, but some do not (about 70-30%). I was trying to use Weka to detect the category, but the attributes i have are strings (name, brand, price, description, category) so all classifiers are not working as it need the attributes to be numeric, nominal, or binary.

Did any one faced such problem before ?

2

2 Answers

0
votes

just make discrete continuous attributes and then it will work, because some of the algorithms does not work with continues values.

0
votes

Use "StringToWordVector" filter that will convert your string attribute(s) to numeric attributes.