https%3A%2F%2Fblog.fundebug.com%2F2017%2F07%2F03%2Fjavascript-machine-learning-regression%2F