logo
首页技术栈工具库讨论
fgivenx

fgivenx

fgivenx is a python package for plotting posteriors of functions. It is currently used in astronomy, but will be of use to any scientists performing Bayesian analyses which have predictive posteriors that are functions. This package allows one to plot a predictive posterior of a function, dependent on sampled parameters. We assume one has a Bayesian posterior `Post(theta|D,M)` described by a set of posterior samples `{theta_i}~Post`. If there is a function parameterised by theta `y=f(x;theta)`, then this script will produce a contour plot of the conditional posterior `P(y|x,D,M)` in the `(x,y)` plane. The driving routines are `fgivenx.plot_contours`, `fgivenx.plot_lines` and `fgivenx.plot_dkl`. The code is compatible with `getdist`, and has a loading function provided by `fgivenx.samples_from_getdist_chains`.
由 
bruceshi2021-01-14 收录
--
推荐
不推荐
更多信息
CONDA
conda install -c anaconda fgivenx
查看
标签
根据用户添加的标签生成
暂无标签