https://medium.com/@monocosmo77/understanding-betti-number-estimation-part6-machine-learning-future-tool-b05444eb9cd7