When we compute the p-value for the Mondrian Conformal Predictor, for a given label, we compare the non-conformity score of the new test data with only training instances with that label that we are testing.

This is, given a training set T={(x1,y1)....(xn,yn)}, two classes Y={0,1}, and the new test data xn+1. When testing class 0, for instance, I'm interested in the non-conformity score of the examples: xi belongs to {1,...,n+1} given that yi=0. 

My question is, to select yi=0, is yi the original class in the original training set, or is it the class given by the classifier? In other words, should I look the classes outputted by the classifier to select the training examples classified as 0, or to the original classes? 

Thanks a lot.

More Telma Pereira's questions See All
Similar questions and discussions