문제

If I prune a decision tree, does that make the resulting decision tree always more general than the original decision tree?

Are there examples where this is not the case?

도움이 되었습니까?

해결책

If you filter something out by choosing one branch over another branch in the tree, the observations you did not choose are forever lost.

But to directly answer your question - no, it does not always make it more general. If you construct a tree where all the decision are exactly the same, then pruning does not make it more general.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 datascience.stackexchange
scroll top