Search code examples
wekadecision-treediscretization

How can I discretize a set of values in WEKA?


I have a set of integer values from 1 to 50 and I´d like to discretize this set in order to work with ranges instead of individual values (they are a huge amount of numbers for a decision tree). Let´s say I want a range from 1 to 25 and another range from 26 to 50. I´ ve tried with the Discretize filter but I don´t get anything to work.

Do you know how to do this in WEKA?

Thank you in advance


Solution

  • Try to set them as I did in this screenshot:

    enter image description here

    Here I used the ionosphere.arff dataset. AttributeIndecices "1" means "column 1".