https://medium.com/@monocosmo77/working-with-learning-halfspaces-part8-machine-learning-2024-c52838b65295