Skip to content

Instantly share code, notes, and snippets.

View miguelfrde's full-sized avatar
🙃
¯\_(ツ)_/¯

Miguel miguelfrde

🙃
¯\_(ツ)_/¯
View GitHub Profile
@johnhw
johnhw / umap_sparse.py
Last active January 6, 2024 16:09
1 million prime UMAP layout
### JHW 2018
import numpy as np
import umap
# This code from the excellent module at:
# https://stackoverflow.com/questions/4643647/fast-prime-factorization-module
import random