Common machine learning algorithms implemented in javascript.