<filename>Data Preparetion/1.3 Metrics Module/A.3.15.1.zero_one_loss.py
# Import Libraries
from sklearn.metrics import zero_one_loss
#----------------------------------------------------

# Calculating Zero One Loss all values that are false predicted 0 = > 1, 1 => 0:  
# zero_one_loss(y_true, y_pred, normalize = True, sample_weight = None)

ZeroOneLossValue = zero_one_loss(y_test,y_pred,normalize=False) 
# print('Zero One Loss Value : ', ZeroOneLossValue )