Question: 20.6 Write a procedure prunetree( Tree, PrunedTree) that prunes a decision tree Tree according to the minimum-error pruning method discussed in this section. The leaves
20.6 Write a procedure prunetree( Tree, PrunedTree) that prunes a decision tree Tree according to the minimum-error pruning method discussed in this section. The leaves of Tree contain class frequency information represented as lists of integers. Use the Laplace estimate in the program. Let the number of classes be stored in the program as a fact: number_of_classes(K).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
