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
AdaBoost.py 文件源码
python
阅读 24
收藏 0
点赞 0
评论 0
评论列表
文章目录