The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Pessimistic Pruning
Hi, I was hoping someone could explain (simply!) how pessimistic pruning works in relation to post pruning decision trees and how confidence level comes into it?
I understand it is similar to cost complexity however if I am being honest I don't have the best grasp of that either.
I have been on the Decision Tree page from RapidMiner but it didn't give me much of a hint.
Thanks for any help!
-Madcap
I understand it is similar to cost complexity however if I am being honest I don't have the best grasp of that either.
I have been on the Decision Tree page from RapidMiner but it didn't give me much of a hint.
Thanks for any help!
-Madcap
Tagged:
1
Best Answers
-
varunm1 Member Posts: 1,207 UnicornHello @Madcap
Pessimistic pruning is a post-pruning approach.
In post pruning, trees are built based on rules until they classify all the labels. Once the tree is built, each rule is removed and an error rate is checked to see if it went up or went down. Based on this error rate change the algorithm decides whether it should keep (if error increased) that rule in the tree or remove it (if error rate decreases). This is also the way how pessimistic pruning works.Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
7 -
rfuentealba RapidMiner Certified Analyst, Member, University Professor Posts: 568 UnicornPessimistic pruning is top-down:
- Start from the root.
- Remove the left node. If the % error increases, mark it as "don't cut". If it decreases, mark it as "cut".
- Remove the right node. If the % error increases, mark it as "don't cut". If it decreases, mark it as "cut".
- Rinse and repeat until having the smallest possible tree using this approach.
Hope this helps,
Rodrigo.8
Answers
This community is great for helping out people.
-Madcap