Answered step by step
Verified Expert Solution
Question
1 Approved Answer
18. Consider the task of building a classifier from random data, where the attribute values are generated randomly irrespective of the class labels. Assume the
18. Consider the task of building a classifier from random data, where the attribute values are generated randomly irrespective of the class labels. Assume the data set contains instances from two classes, + and ." Half of the data set is used for training while the remaining half is used for testing. a. Suppose there are an equal number of positive and nega- tive instances in the data and the decision tree classifier predicts every test instance to be positive. What is the ex- pected error rate of the classifier on the test data? b. Repeat the previous analysis assuming that the classifier predicts each test instance to be positive class with proba- bility 0.8 and negative class with probability 0.2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started