Reputation: 3819
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
Reputation: 9313
In short, is J48 either a linear or a non linear classifier?
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:
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