Python--贝叶斯架构解决统计推断问题--Thinkbayes
Thinkbayes CH2
coding准备:需要python载入thinkbayes.py,可以在Github:https://github.com/AllenDowney/ThinkBayes/blob/master/code/thinkbayes.py上找到
贝叶斯架构
class Cookie(Pmf):
def __init__(self,hypos) ###给每个hypo都赋予相同的先验概率
Pmf.__init__(self)
for hypo i
原创
2021-03-19 20:31:00 ·
493 阅读 ·
1 评论