MVITS.sample#

MVITS.sample(X, y, random_seed=None, sample_prior_predictive_kwargs=None, fit_kwargs=None, sample_posterior_predictive_kwargs=None)[source]#

Sample all the things.

Run all of the sample methods in the sequence:

Parameters:
Xpd.DataFrame

The data for the existing products.

ynp.ndarray | pd.Series

The data for the new product.

random_seednp.random.Generator | int, optional

The random seed for each stage of sampling.

sample_prior_predictive_kwargsdict, optional

The keyword arguments for the sample_prior_predictive method.

fit_kwargsdict, optional

The keyword arguments for the fit method.

sample_posterior_predictive_kwargsdict, optional

The keyword arguments for the sample_posterior_predictive method.

Returns:
Self

The model instance.