Convert CmdStanPy data into an InferenceData object.
For a usage example read the Creating InferenceData section on from_cmdstanpy
CmdStanMCMC
object
CmdStanPy CmdStanMCMC
str
, list
of str
Posterior predictive samples for the fit.
str
, list
of str
Out of sample prediction samples for the fit.
CmdStanMCMC
CmdStanPy CmdStanMCMC
str
, list
of str
Prior predictive samples for the fit.
dict
Observed data used in the sampling.
dict
Constant data used in the sampling.
dict
Constant data for predictions used in the sampling.
str
, list
of str
, dict
of {str: str
}, optional
Pointwise log_likelihood for the data. If a dict, its keys should represent var_names from the corresponding observed data and its values the stan variable where the data is stored. By default, if a variable log_lik
is present in the Stan model, it will be retrieved as pointwise log likelihood values. Use False
or set data.log_likelihood
to false to avoid this behaviour.
int
, optional
Starting value of integer coordinate values. Defaults to the value in rcParam data.index_origin
.
dict
of str
or dict
of iterable
A dictionary containing the values that are used as index. The key is the name of the dimension, the values are the index values.
dict
of str
or list
of str
A mapping from variables to a list of coordinate names for the variable.
Save warmup iterations into InferenceData object, if found in the input files. If not defined, use default defined by the rcParams.
A dictionary containing dtype information (int, float) for parameters. If input is a string, it is assumed to be a model code or path to model code file. Model code can extracted from cmdstanpy.CmdStanModel object.
InferenceData
object
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4