# Data mining - trouble with computing error rate [closed]

.. Hi, guys.

I have a problem at the uni with homework solutions that were presented to us. I tried solving the problem, but the solutions we got back from the teacher were in a way the exact opposite of what I had... I must have a severe misunderstanding of the subject and I was hoping to receive some clarification from you guys.

The training set in the textbook looks like this: I then need to create a decision tree, using classification error rate as the criteria. The answer we got back from the teacher is this: I got the same numbers as in the tables, but I want to calculate the error rate differently and that's where the problem lies... As I see it, error rate is adding together the false positives and the false negatives and then dividing by the total count (including true positives and true negatives). In the case of Y, for example, I would like to add 60 and 60, instead of 40 and 40. What I suspect is that I'm not comprehending the format of the tables, what the classes C1 and C2 are supposed to represent... Can we view them as 0 and 1, respectively? That's what I've been doing and it's probably what's causing the confusion.

Sorry for the lengthy post and sorry for posting images of text. I know that's a bitch for you guys who may be using screen readers.