tfcausalimpact
tfcausalimpact copied to clipboard
AttributeError: 'CausalImpact' object has no attribute 'trained_model'
Hi, thank you for great work! wanted to check with you, is "trained_model" removed from the latest version of tfcausalimpact? if so, what is the most current method to extract the model details?
Hi @mesut-yasar ,
I'm afraid this version of causal impact never had an attribute trained_model
, maybe you were using an older version from another repository.
In this newer version the trained model is really samples from the posterior distribution for each parameter used in the input model. I recommend reading through the getting_started.ipynb
notebook for more ideas on how to manipulate those.
Best,
Will