AdaBoost.py 文件源码

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

项目:statistical-learning-methods-note 作者: ysh329 项目源码 文件源码
def computeBaseClassifierCoefficient(self, classifierIdx):
        '''
        ???????????????(?0??)???????????? alpha ?
        :param classifierIdx: ???????(?0??)
        :return:
        '''
        self.alphaList[classifierIdx] = (1.0 / 2 * \
                                         cmath.log((1.0-self.eList[classifierIdx])/self.eList[classifierIdx], cmath.e)\
                                         ).real
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号