Question: Evaluate Classifier ticular about how her clothes fade after washing. She notices that her predictions on whether a piece of clothing will fade or not
Evaluate Classifier
ticular about how her clothes fade after washing. She notices that her predictions on
whether a piece of clothing will fade or not are often incorrect. To improve her predic
tions, Alice decides to create her own decision tree to help her determine whether her
clothes will fade TRUE if the clothes fade; FALSE if they don't The decision tree
Alice created is shown in the Figure below.
Your task is to determine whether to prune the given decision tree. Additionally, you will
use the provided test dataset in hwqcsv to assess the effectiveness of the resulting
decision trees
Figure : The Color Prediction decision tree.
a points Postpruning based on optimistic errors
points Calculate the optimistic errors before splitting and after splitting
ii points Based upon the optimistic errors, would the subtree be pruned or
retained? If it is pruned, draw the resulting decision tree and use it for the
next question; otherwise, use the original decision tree shown in Figure for
the next question
iii. points Use the decision tree from aii above to classify the test dataset
hwqcsv Report its performance on the following five evaluation metrics:
Accuracy, Recall Sensitivity Precision, Specificity, and F Measure.
b points Postpruning based on pessimistic errors. When calculating pes
simistic errors, each leaf node will add a factor of to the error.
i points Calculate the pessimistic errors before splitting and after splitting
using the attribute Act respectively.
ii points Based on the pessimistic errors, would the subtree be pruned or
retained? If it is pruned, draw the resulting decision tree and use it for the
next question; otherwise, use the original decision tree shown in Figure for
the next question.
iii. points Use the decision tree from bii above to classify the test dataset
hwqcsv Report its corresponding five evaluation metrics: Accuracy, Re
callSensitivity Precision, Specificity, and F Measure.
c points We will compare the performance of the decision trees from aii and
from bii using the test dataset hwqcsv For the task of predicting if Alice
will get inflated, which of the five evaluation metrics: Accuracy, RecallSensitivity
Precision, Specificity, and F Measure, are the most important? Based on your
selected evaluation metrics, which decision tree, aii or bii is better for this
task? Justify your answers.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
