(B) Consider the task of building a decision tree classifierfrom random data, where the attribute
values are generated randomly irrespective of the class labels.Assume the data set contains
records from two classes, “+” and “?”. Half of the data set is usedfor training while the
remaining half is used for testing. Answer each question below andjustify your answer.
(i) Suppose there are an equal number of positive and negativerecords in the data and the
decision tree classifier predicts every test record to be positive.What is the expected error rate of
the classifier on the test data?
(ii) Repeat the above analysis in (i) assuming the classifierpredicts each
PayPal Gateway not configured
PayPal Gateway not configured