Regression via explicit feature lift: points in (φ₁(x), φ₂(x), y)
Left: click to add regression points (x, y). Right: the same points visualized in 3D as
(φ₁(x), φ₂(x), y). Choose φ₁ and φ₂ as expressions in x. Click “Fit plane” to solve
least-squares for y ≈ w1·φ₁(x) + w2·φ₂(x) + b and render the fitted plane in 3D (and the predicted curve on the left).
data points
fitted curve
Tip: Try example data with φ₁(x)=x and φ₂(x)=x² to fit a parabola. Or try φ₁(x)=sin(3x), φ₂(x)=cos(3x)
for periodic data.