Feature Engineering Lab: Turning an Unsolvable Problem Solvable (2D)
Top view of the same feature-engineering model: the probability map of the logistic classifier is laid over a Blender-rendered data board with Blender-rendered training balls, the white line is the decision boundary, red halos mark misclassified points, and loss and accuracy curves show the training run, all from the shared model of the 3D twin.
A logistic-regression classifier is trained by gradient descent on XOR-style data. With raw coordinates no straight line works and the model stays at 50 percent; add the product feature x1*x2, squares or a full polynomial and the same model reaches the analytic Bayes ceiling. Watch the probability surface float above a Blender-made data board, change cluster spread, training points, ridge penalty and learning rate, and see overfitting appear with degree-4 features. Six built-in numerical checks include gradient versus finite differences, the exact ln 2 symmetry value and a Newton solver.
Top view of the same feature-engineering model: the probability map of the logistic classifier is laid over a Blender-rendered data board with Blender-rendered training balls, the white line is the decision boundary, red halos mark misclassified points, and loss and accuracy curves show the training run, all from the shared model of the 3D twin.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install