https://medium.com/@monocosmo77/working-with-polynomial-optimization-part2-machine-learning-7e737ab8459d