Moonlit
Moonlit

Reputation: 5409

how to preprocess data for classification in weka

I am starting to use WEKA and I want to use the k-NN classifier on this dataset I am able to import the dataset into weka. But when i want to start the classifier, there it does not show me any information about how much instances where correctly classified and how much not. I want to classify according to the status column. I guess i have to do some sort of preprocessing here because the status attribute is interpreted as a numerical value. ?! Can anybody explain what sorts of preprocessing i have to do for this kind of dataset?

Upvotes: 0

Views: 1446

Answers (1)

Lars Kotthoff
Lars Kotthoff

Reputation: 109232

The easiest thing to do is probably to replace the numerical values in the status column with strings so that Weka recognises that they are categorical values.

Upvotes: 1

Related Questions