https://medium.com/@monocosmo77/understanding-patterson-sullivan-measures-part3-machine-learning-2024-b98a3cabfb94