knock95.py 文件源码

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

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


问题


面经


文章

微信
公众号

扫码关注公众号