We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I would like to see the graph associated with a transformation. A graphviz or to_graph method would be the API.
graphviz
to_graph
It would also assume dummy dims for all required coords of a model.
from pymc_marketing.mmm import GeometricAdstock adstock = GeometricAdstock(l_max=12) G = adstock.to_graph()
The logic that is under the hood would be similar to that of sample_curve combined with calling pm.model_to_graphviz
sample_curve
pm.model_to_graphviz
Some other examples:
from pymc_marketing.mmm import LogisticSaturation saturation = LogisticSaturation() G = adstock.to_graph()
from pymc_marketing.mmm import MediaTransformation media_transformation = MediaTransformation( adstock=adstock, saturation=saturation, dims=(), ) G = media_transformation.to_graph()
The adstock and saturation graph would be along media spend and media transformation could be along date. Pretty easy to illustrate either way.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would like to see the graph associated with a transformation. A
graphviz
orto_graph
methodwould be the API.
It would also assume dummy dims for all required coords of a model.
The logic that is under the hood would be similar to that of
sample_curve
combined with callingpm.model_to_graphviz
Some other examples:
The adstock and saturation graph would be along media spend and media
transformation could be along date. Pretty easy to illustrate either way.
The text was updated successfully, but these errors were encountered: