Random Projection Lab: How Many Dimensions Keep the Distances? Johnson-Lindenstrauss (2D)
The same random-projection experiment in 2D: a top view of the point cloud with red lines for pairs that moved by more than epsilon, the histogram of the squared-distance ratio against the chi-square curve, the gauge of the observed and exact fraction inside, and charts of the failure chance against k and of the dimension needed against epsilon. Same controls and checks as the 3D version.
The same random-projection experiment in 2D: a top view of the point cloud with red lines for pairs that moved by more than epsilon, the histogram of the squared-distance ratio against the chi-square curve, the gauge of the observed and exact fraction inside, and charts of the failure chance against k and of the dimension needed against epsilon. Same controls and checks as the 3D version.
The same random-projection experiment in 2D: a top view of the point cloud with red lines for pairs that moved by more than epsilon, the histogram of the squared-distance ratio against the chi-square curve, the gauge of the observed and exact fraction inside, and charts of the failure chance against k and of the dimension needed against epsilon. Same controls and checks as the 3D version.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install