Map > Data Science > Predicting the Future > Modeling > Classification > ZeroR
 

ZeroR

ZeroR is the simplest classification method which relies on the target and ignores all predictors. ZeroR classifier simply predicts the majority category (class). Although there is no predictability power in ZeroR, it is useful for determining a baseline performance as a benchmark for other classification methods.
 
Algorithm
Construct a frequency table for the target and select its most frequent value.
 
Example:
"Play Golf = Yes" is the ZeroR model for the following dataset with an accuracy of 0.64.
 

 
Predictors Contribution
There is nothing to be said about the predictors contribution to the model because ZeroR does not use any of them.
  
Model Evaluation

The following confusion matrix shows that ZeroR only predicts the majority class correctly. As mentioned before, ZeroR is only useful for determining a baseline performance for other classification methods.

 

Confusion Matrix Play Golf  
Yes No
ZeroR Yes 9 5

Positive Predictive Value

0.64
No 0 0

Negative Predictive Value

0.00
  Sensitivity Specificity

Accuracy = 0.64

1.00 0.00
     
 
Exercise