mi.py 文件源码

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

项目:mifs 作者: danielhomola 项目源码 文件源码
def get_mi_vector(MI_FS, F, s):
    """
    Calculates the Mututal Information between each feature in F and s.

    This function is for when |S| > 1. s is the previously selected feature.
    We exploite the fact that this step is embarrassingly parallel.
    """

    MIs = Parallel(n_jobs=MI_FS.n_jobs)(delayed(_get_mi)(f, s, MI_FS)
                                        for f in F)
    return MIs
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号