Skip to content

Instantly share code, notes, and snippets.

View BielStela's full-sized avatar
🕳️
!

Biel Stela BielStela

🕳️
!
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
@daleroberts
daleroberts / kde.png
Last active August 12, 2022 17:15
Two-dimensional kernel density estimate: comparing scikit-learn and scipy
kde.png
@phobson
phobson / ShiftedColorMap.ipynb
Last active May 26, 2022 03:13
One way to shift (recenter) a colormap in matplotlib
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.