surgeforward/MLearn.js — pull request #1 by nichcurtis (2014-04-25 15:40:54+00:00)
Title: Converted to promise pattern / async calculations

Updated example to use promise pattern, classifier to use promise pattern for predicting, scoring, and training. Updated KNN algorithm to use promise pattern when predicting and async.sortBy as a replacement for lodash loops for distance calculations.