Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
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