https://salt.pythonprogramminghelp.com/3-savvy-ways-to-nonparametric-regression/