pymc.WishartBartlett#
- pymc.WishartBartlett(name, S, nu, is_cholesky=False, return_cholesky=False, initval=None)[source]#
Bartlett-decomposed Wishart prior. Deprecated: use
Wishartdirectly.This used to be the only MCMC-usable Wishart in PyMC, since the legacy
Wisharthad no unconstraining transform. The newWishartis parameterized through its Cholesky factor with a defaultCholeskyCovTransform, so this helper is no longer needed and is a thin shim around it for backward compatibility.- Parameters:
- S
ndarray (p, p)positive-definite scale matrix, or its lower-triangular Cholesky factor whenis_cholesky=True.- nutensor_like of
int Degrees of freedom, >
dim(S) - 1.- is_choleskybool, default
False If True,
Sis interpreted as the Cholesky factor of the scale matrix (mapped toWishart’sscale_cholargument).- return_choleskybool, default
False If True, return the Cholesky factor of the Wishart draw rather than the SPD matrix itself.
- initval
ndarray, optional Forwarded to
Wishart. Note thatinitvalsemantics changed: the newWishartexpects an SPD matrix value, not the legacy Bartlett component initvals.
- S