def get_confusion_matrix_dims(one_veri_set_dict):
    """
    获取混淆矩阵的维度的名字  与hmfn   和 abcd 有关维度名字 和shape
    :param one_veri_set_dict: 一个veri_set 的字典比如   {
            "name": "ts_bias",
            "method": ["ts", "bias"],
            "para1": [0.1, 5, 10, 20],
            "para1Name": ["小雨", ">=5毫米", ">=10毫米", ">=20毫米"],
            "plot_type": "bar"
        }
    :return:
    """
    coodrs = {}
    shape = []
    if one_veri_set_dict['method'] == ['hmfn']:
        coodrs = {'hmfn': ['hit', 'mis', 'fla', 'cn']}
        shape = [4]
    if one_veri_set_dict['method'] == ['abcd']:
        coodrs = {'abcd': ['na', 'nb', 'nc', 'nd']}
        shape = [4]
    if one_veri_set_dict['method'] == ['tase']:
        coodrs = {'tase': ['error_sum', 'total_absolute_error',
            'sum_error_squares']}
        shape = [3]
    return coodrs, shape
