Huikun Zhang
Huikun Zhang
Hi @virithavanama , You could refer to the optimization section (starting from cell 26) in the [example notebook](https://github.com/google/lightweight_mmm/blob/main/examples/end_to_end_demo_with_multiple_geos.ipynb). Specifically you could find calculations of previous budget allocation and optimal budget...
Hi, @virithavanama. Thanks for clarifying the question. would cell 27 in [example notebook](https://github.com/google/lightweight_mmm/blob/main/examples/end_to_end_demo_with_multiple_geos.ipynb) help? If you are interested in how the package calculates previous media. You could dig into optimize_media.py....
I would detour you to the [lightweightmmm class](https://github.com/google/lightweight_mmm/blob/c7627923175b69360f3906951a9e5e62f69dd1d4/lightweight_mmm/lightweight_mmm.py#L121) to check saved attributes in the model object or the documentation page: https://lightweight-mmm.readthedocs.io/en/latest/api.html#lightweightmmm-object Unfortunately, saved model object does not have a method...
Hi @kiran-akkineni Thanks for reaching out! This is odd. Spell looks correct. Could you uninstall and install the package and try again?