disco_random_walks_binarized_matrices.py 文件源码

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

项目:genomedisco 作者: kundajelab 项目源码 文件源码
def binarize_top(m,q):
    threshold=mquantiles(np.triu(m).flatten(),q)
    new_m=copy.deepcopy(m)
    new_m[new_m<threshold]=0
    new_m[new_m>=threshold]=1    
    return get_sqrtvc(new_m)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号