Hyperplane Contact Playground

For 1D regression lines y=ax+b, enumerate lines through pairs of points and compare p-adic losses using exact rational arithmetic. This gives a concrete feel for the "best line touches data" behavior.

Top candidate lines

rank line loss exact-fit points