classification - How to specify the depth of a regression tree in matlab? -
i using regression tree (http://www.mathworks.co.uk/help/stats/classregtree.html) classify data. data has 9 features, regression tree give me decision tree based on best 2 features split classes. want see more features being used in classification. i've read documentation found nothing. can point me how this?
it due pruning, on
default. try setting off
:
t = classregtree(x, y, 'prune','off')
Comments
Post a Comment