DP6 / Marketing-Attribution-Models

Python Class created to address problems regarding Digital Marketing Attribution.
https://dp6.github.io/Marketing-Attribution-Models
Apache License 2.0
302 stars 80 forks source link

Added methods to output heuristic models results #2

Closed iago closed 4 years ago

iago commented 4 years ago

Methods added to get outputs with different granularity individually for all heuristic models. attrib.<HEURISTIC_MODEL>_journeys() attrib.<HEURISTIC_MODEL>_channels()

Example: attrib.attribution_linear()[1] was used to access the results of Linear model with channel granularity. Now, it's possible to access them calling attrib.linear_channels()

If the method that calculates the results is not called before the new methods a warning is issued.

Next steps:

rsennes commented 4 years ago

Thanks Iago,

We took some time to evaluate it but now it's already implemented in the code. Thanks for the contribution.