会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
crazypig
博客园
首页
新随笔
管理
2024年8月10日
逆概率采样-接受拒绝采样-MCMC采样
摘要: import numpy as np import scipy from matplotlib import pyplot as plt def pdf(x): if 0 <= x < 0.25: return 8 * x elif 0.25 <= x < 1: return 8 / 3 - 8 /
阅读全文
posted @ 2024-08-10 13:23 crazypigf
阅读(68)
评论(0)
推荐(0)
公告