Interactive exploration of Gibbs-style p-adic linear regression with Boltzmann sampling
This game implements Zubarev's p-adic polynomial regression using Gibbs sampling. Unlike traditional regression that minimizes Euclidean distance, p-adic regression uses the p-adic norm |·|_p where smaller values indicate better fits.
The Gibbs sampler proposes parameter updates w_new = w_old + ξ and accepts them with probability proportional to exp(-β(L_new - L_old)).