CAB: Classifying arrhythmias based on imbalanced sensor data