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

attribution_position_based fix #44

Closed luisrizzardi closed 2 years ago

luisrizzardi commented 2 years ago

What issue does this pull request resolve? A função de atribuição position based estava ignorando o terceiro argumento (peso do last_click) para jornadas maiores de dois touchpoints, e usando o valor do first-click duas vezes. Esse pull faz a função utilizar o valor correto.

What changes did you make? Modifiquei a parte de distribuição de valores para jornadas com mais de 2 touchpoints no modelo attribution_position_based

Is there anything that requires more attention while reviewing?