impute.py 文件源码

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

项目:uncover-ml 作者: GeoscienceAustralia 项目源码 文件源码
def _make_impute_stats(self, x):

        self.mean = mpiops.mean(x)
        cov = mpiops.covariance(x)
        self.prec, rank = pinv(cov, return_rank=True)  # stable pseudo inverse

        # if rank < len(self.mean):
        #     raise RuntimeError("This imputation method does not work on low "
        #                        "rank problems!")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号