Comments (6)
Hi, @SreenidhiKalyan!
You can use the "conversion_value" parameter.
It's set 1 by default, but also receive a string indicating the column name on the dataset containing the conversion values.
from marketing-attribution-models.
attributions = MAM ( df,
group_channels = True ,
channels_colname = "act" ,
journey_with_conv_colname = 'has_converted' ,
group_channels_by_id_list = [ 'phone' ],
group_timestamp_colname = 'date' ,
conversion_value='Previous',
create_journey_id_based_on_conversion = True)
I'm passing string Previous which is a column name from my dataframe indicating the conversion value. The datatype of conversion_value is float.
On executing attributions.DataFrame(), the conversion value is displayed as 0.0
Exact conversion value is not appearing in the column conversion_value
from marketing-attribution-models.
Hi @SreenidhiKalyan, thanks for the informations.
With your contribution we were able to find the bug that was causing the problem and fix it. The parameter group_channels = True wasn't aggregating the conversion_value properly.
We've updated a new version on Pypl. Could you try again after updating the package?
Thanks!
from marketing-attribution-models.
Hi @SreenidhiKalyan, did you have the chance to try this new version? Can we close this issue?
from marketing-attribution-models.
from marketing-attribution-models.
Thanks @SreenidhiKalyan. Don't hesitate to report in any issue.
from marketing-attribution-models.
Related Issues (20)
- Implementação de um modelo de testes automatizados HOT 1
- Shapley for conv_value as frequency
- Criação de uma documentação técnica mais robusta HOT 1
- Modularização agrupamento de resultados heuristicos
- Modularização modelos heuristicos
- [BUG] Markov model attribution may sometimes not work as intended due to the way it is computed
- [BUG] Problemas com o position-based
- [NEW] Implement higher order markov chain models HOT 2
- [BUG] MAM retorna erro quando dataframe não possui index 0 e group_channels = False
- Update package published on PyPi HOT 2
- [BUG] AttributeError: 'NoneType' object has no attribute 'copy' - with random_df=True HOT 2
- Acrescentar suporte a coluna journey_with_conv_colname contendo int64 (0 e 1) quando "create_journey_id_based_on_conversion=True" HOT 1
- Fix typo in docstring
- Better documentation on class docstring
- [BUG] AttributeError: 'MAM' object has no attribute 'DataFrame' HOT 5
- [BUG] (null) Column in markov matrix HOT 3
- [BUG] faq.md not found
- [BUG]
- [BUG]
- [BUG] Channel List is Fixed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marketing-attribution-models.