knock95.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:100knock2017 作者: tmu-nlp 项目源码 文件源码
def calcroh(file_name):
    human_list = list()
    pred_list = list()
    with open(file_name) as i_f:
        for line in i_f:
            human_list.append(line.strip().split()[2])
            pred_list.append(line.strip().split()[3])
    return spearmanr(human_list, pred_list)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号