use decisionTree.js from https://github.com/minixli/decisiontree