K B
K B
Is there any plans to fix this? Or do we consider this project to have died?
I think we can close the issue. I tried with the default save and load methods, and they worked fine.
The `load` method does not work for causal MMM. For example, I get the following error when trying to load the `causal_mm` model object as per the official documentation here:...
My code: ``` model_bayesian.save('model/model_bayesian.nc') model_bayesian = MMM.load('model/model_bayesian.nc') ``` And `model_bayesian` is same as `causal_mm`, just the name is different.
Same configuration but I tried to save and load.
0.11.0
Just to give a little more info, in case it helps solving the problem. As soon as I add `dag` and `outcome` variables to the model configurations, the issue occurs....
causal_dag = """digraph {x1 -> y; x2 -> y; x1 -> x2; holiday_signal -> y; holiday_signal -> x1; holiday_signal -> x2; competitor_offers -> x2; competitor_offers -> y; market_growth -> y;}"""
Code used: ``` idata = az.from_netcdf('model/model_bayesian.nc') print("Attributes of InferenceData:") print(idata.attrs) if "fit_data" in idata.groups(): print("\nValues of 'fit_data' Dataset group:") print(idata.fit_data) else: print("\n'fit_data' group not found in the InferenceData object.") ```...
Tagging @wd60622 just in case my comment above got missed, since there has been no update.