Johan
Johan

Reputation: 3819

WEKA J48 decision tree with non linearly separable data

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?

Upvotes: 1

Views: 360

Answers (1)

knb
knb

Reputation: 9313

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

Upvotes: 1

Related Questions