2

Is it possible to discretize selected column in weka ? I have 42 columns in my data set and I want to discretize (divide in intervals) only longitude and latitude but all columns are discretizing.

user2895589
  • 1,010
  • 4
  • 20
  • 33

1 Answers1

1

There is a property in Discretize (attributeIndices) that allows you to specify the attributes to apply the filter to:

enter image description here

Just enter the attributes here and you should be good to go.

Hope this helps!

Matthew Spencer
  • 2,265
  • 1
  • 23
  • 28
  • Can you please specify the input format? I want to descretize `age` and `income` columns, but when I added `age,income` into `attributeIndices` field, it throws error `invalid range list at age` – Pavindu Jun 12 '21 at 13:32