https://medium.com/@monocosmo77/research-on-polynomial-threshold-functions-part1-machine-learning-2024-d1977dcad99e