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:
- X
pd.DataFrame The data for the existing products.
- y
np.ndarray|pd.Series The data for the new product.
- random_seed
np.random.Generator|int, optional The random seed for each stage of sampling.
- sample_prior_predictive_kwargs
dict, optional The keyword arguments for the sample_prior_predictive method.
- fit_kwargs
dict, optional The keyword arguments for the fit method.
- sample_posterior_predictive_kwargs
dict, optional The keyword arguments for the sample_posterior_predictive method.
- X
- Returns:
SelfThe model instance.