Skip to main content

combine_mta_mmm

Function combine_mta_mmm lets to combine transaction-level attribution of a multi-touch model with channel-level attribution performed using a media-mix model, producing a new transaction-level attribution that combines both.

Parameters

PARAMETERTYPEDEFAULTDESCRIPTION
mta_path_attributiondata.framedata.frame containing transaction-level MTA
mmm_attributiondata.framedata.frame containing global MMA
prior_weights_mtadata.frameNonedata.frame containing subjective relative weights for each channel. Each weight can reduce or increase the weight of MTA with respect to MMA for each channel,in the final combined attribution
max_stepsint100maximum number of iterations of the optimization process
conv_ratestr0.01convergence rate of the optimization process
verboseboolTrueif True, additional information during the computation will be shown
serverstr"app.channelattribution.io"address of the server where password will be checked to authorize the execution of the function
passwordstrNoneuser

Output

OUTPUTTYPEDESCRIPTION
attributiondata.framepath-level attribution