toolbox.py 文件源码

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

项目:tschdata 作者: tum-lkn 项目源码 文件源码
def mean_confidence_interval(data, confidence=0.95):
    a = 1.0*np.array(data)
    n = len(a)
    m, se = np.mean(a), st.sem(a)
    h = se * st.t._ppf((1+confidence)/2., n-1)
    return h
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号