def __class_stat_init__(cm):
    """
    Init individual class stat.

    :param cm : ConfusionMatrix
    :type cm : pycm.ConfusionMatrix object
    :return: None
    """
    cm.TPR = cm.class_stat['TPR']
    cm.TNR = cm.class_stat['TNR']
    cm.PPV = cm.class_stat['PPV']
    cm.NPV = cm.class_stat['NPV']
    cm.FNR = cm.class_stat['FNR']
    cm.FPR = cm.class_stat['FPR']
    cm.FDR = cm.class_stat['FDR']
    cm.FOR = cm.class_stat['FOR']
    cm.ACC = cm.class_stat['ACC']
    cm.F1 = cm.class_stat['F1']
    cm.MCC = cm.class_stat['MCC']
    cm.BM = cm.class_stat['BM']
    cm.MK = cm.class_stat['MK']
    cm.DOR = cm.class_stat['DOR']
    cm.PLR = cm.class_stat['PLR']
    cm.NLR = cm.class_stat['NLR']
    cm.POP = cm.class_stat['POP']
    cm.P = cm.class_stat['P']
    cm.N = cm.class_stat['N']
    cm.TOP = cm.class_stat['TOP']
    cm.TON = cm.class_stat['TON']
    cm.PRE = cm.class_stat['PRE']
    cm.G = cm.class_stat['G']
    cm.RACC = cm.class_stat['RACC']
    cm.RACCU = cm.class_stat['RACCU']
    cm.F2 = cm.class_stat['F2']
    cm.F05 = cm.class_stat['F0.5']
    cm.ERR = cm.class_stat['ERR']
    cm.J = cm.class_stat['J']
    cm.IS = cm.class_stat['IS']
    cm.CEN = cm.class_stat['CEN']
    cm.MCEN = cm.class_stat['MCEN']
    cm.AUC = cm.class_stat['AUC']
    cm.dInd = cm.class_stat['dInd']
    cm.sInd = cm.class_stat['sInd']
    cm.DP = cm.class_stat['DP']
    cm.Y = cm.class_stat['Y']
    cm.PLRI = cm.class_stat['PLRI']
    cm.DPI = cm.class_stat['DPI']
    cm.AUCI = cm.class_stat['AUCI']
    cm.GI = cm.class_stat['GI']
    cm.LS = cm.class_stat['LS']
    cm.AM = cm.class_stat['AM']
    cm.BCD = cm.class_stat['BCD']
    cm.OP = cm.class_stat['OP']
    cm.IBA = cm.class_stat['IBA']
    cm.GM = cm.class_stat['GM']
    cm.Q = cm.class_stat['Q']
    cm.QI = cm.class_stat['QI']
    cm.AGM = cm.class_stat['AGM']
    cm.NLRI = cm.class_stat['NLRI']
    cm.MCCI = cm.class_stat['MCCI']
    cm.AGF = cm.class_stat['AGF']
    cm.OC = cm.class_stat['OC']
    cm.OOC = cm.class_stat['OOC']
    cm.AUPR = cm.class_stat['AUPR']
    cm.ICSI = cm.class_stat['ICSI']
