log_metadata#

pymc_marketing.mlflow.log_metadata(model, idata)[source]#

Log the metadata of the data used in the model to MLflow.

Saved in the form of numpy arrays based on all the constant and observed data in the model.

Parameters:
modelModel

The PyMC model object.

idataaz.InferenceData

The InferenceData object returned by the sampling method.