def _calculate_counts(self,pos_data,neg_data):
		tp_count = len([x for x in pos_data if x[0] == 1])
		fp_count = len([x for x in pos_data if x[0] == 0])
		fn_count = len([x for x in neg_data if x[0] == 1])
		tn_count = len([x for x in neg_data if x[0] == 0])
		return tp_count,fp_count,fn_count, tn_count
Calculates the number of false positives, true positives, false negatives and true negatives
dataset/ETHPy150Open pivotalsoftware/pymadlib/pymadlib/pyroc.py/ROCData._calculate_counts