def cal_industry_classification_score()

in utils/compute_score.py [0:0]


def cal_industry_classification_score(data):
    '''金融行业情感分类打分'''
    content = data['response']
    output = data['__raw.output']
    contents_adj = industry_classification_result_process_single(content)
    contents_adj = process_industry_classification_output(contents_adj)
    output = (lambda x: process_industry_classification_output(eval(x)))(output)
    f1 = cal_f1(output, contents_adj)
    return f1