2

I would like to build a decision tree with no pruning at all. As can be seen in this question using default rpart also prunes the decision tree. Does using the value for cp=-1 avoid pruning at all?

Avi
  • 2,247
  • 4
  • 30
  • 52
  • [This answer](https://stats.stackexchange.com/a/105225) also provides information on this question. – G5W Jul 07 '17 at 12:23
  • Thanks, in his answer he is not so confident about cp=-1. Is there a confident way to assure there is no pruning at all? – Avi Jul 07 '17 at 12:26

0 Answers0