Giter VIP home page Giter VIP logo

Comments (6)

kaykeigh-zz avatar kaykeigh-zz commented on June 2, 2024

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.

SreenidhiKalyan avatar SreenidhiKalyan commented on June 2, 2024

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.

andretocci avatar andretocci commented on June 2, 2024

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.

rsennes avatar rsennes commented on June 2, 2024

Hi @SreenidhiKalyan, did you have the chance to try this new version? Can we close this issue?

from marketing-attribution-models.

SreenidhiKalyan avatar SreenidhiKalyan commented on June 2, 2024

from marketing-attribution-models.

rsennes avatar rsennes commented on June 2, 2024

Thanks @SreenidhiKalyan. Don't hesitate to report in any issue.

from marketing-attribution-models.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.