20.6 Write a procedure prunetree( Tree, PrunedTree) that prunes a decision tree Tree according to the minimum-error
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 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).
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Artificial Intelligence In Power System Optimization
ISBN: 9781578088058
1st Edition
Authors: Weerakorn Ongsakul, Vo Ngoc Dieu
Question Posted: