first version decision tree trainer