W_means_class.py 文件源码

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

项目:Multilevel-Wasserstein-Means 作者: moonfolk 项目源码 文件源码
def score(self, truth=None):
        if self.truth == None:
            self.truth = truth

        if len(self.truth)==4:
            return -objective_f(self.truth, [self.H_, self.a_, self.Y_, self.b_])
        else:
            return metrics.adjusted_mutual_info_score(self.labels_,self.truth)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号