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
Answers
Not sure about the definition of f and q in your probability function. But you can refer to the source code of decision tree and pessimisticpruner.java scripts here
https://github.com/rapidminer/rapidminer-studio-modular/blob/master/rapidminer-studio-core/src/main/java/com/rapidminer/operator/learner/tree/DecisionTreeLearner.java
https://github.com/rapidminer/rapidminer-studio-modular/blob/master/rapidminer-studio-core/src/main/java/com/rapidminer/operator/learner/tree/PessimisticPruner.java
If the tree grows too big, the model is easily overfitting. The confidence level is used to determine whether or not prune the branches based on pessimistic errors.
HTH!
YY
Useful reference
Quinlan,J.R.: C4.5: Programs for Machine Learning Morgan Kauffman, 1993