https://codingforstudent.com/the-complete-library-of-nonparametric-regression/