Same XOR-shaped data, four models, four very different boundaries.
Mathematica
Visit on X@mathemetica81K followers
17,648 views
Same XOR-shaped data, four models, four very different boundaries.
A decision tree makes one axis-aligned cut at a time, the one that best separates the classes, so its boundary is a staircase.
An RBF SVM builds its boundary from the circled support vectors only. A small neural network bends its boundary by gradient descent.
A random forest averages many trees: jagged edges, less variance.
All four fit the data. They differ in inductive bias.
Comments
Comments from the original post on X (Twitter)
No comments yet
