https://medium.com/@monocosmo77/updates-on-polynomial-approximation-part2-machine-learning-fc77fd5f85ff