decision tree example and documentation