1

Does Weka J48 Decision Tree classifier support classification for a problem with intrinsically non linearly separable data? In short, is J48 either a linear or a non linear classifier?

Johan
  • 3,561
  • 9
  • 29
  • 45

1 Answers1

1

In short, is J48 either a linear or a non linear classifier?

  • I don't know.

However, the decision boundaries of J48 can be made, in a way, "stepwise linear". So you can approximate a nonlinear decision boundary if you set minNumObjects low enough and set pruning to false (= unpruned to true).

Here is a visualization of the linear boundaries using weka's BoundaryVisualizer:

enter image description here

This is accessible via the small rectangular "Weka GUI Chooser" window. There you can load your own dataset.

Here is a video that explains it with more details: https://youtu.be/fMxfUKYkcVg?t=568

knb
  • 9,138
  • 4
  • 58
  • 85