res_markov | list | | list of data.frame containing the output of a markov_model function |
total_budget_new | double | | overall budget you want allocate |
tab_costs | data.frame | None | data.frame containing the spend for each channel in the time period when customer journeys have been observed. The parameter is optional and can be set to None if spends are not known |
perc_reall | double | 0.1 | percentage of the overall budget that will be reallocate. (1-perc_reall) is the percentage of the overall budget that will allocated as in the last allocation. Since the allocation algorithm is a local optimization algorithm we suggest allocating a small percentage of the overall budget each time |
min_perc_budget | double | 0.01 | percentage of the overall budget that will be allocated equally through all the channels involved. This avoids that for one or more channels the allocation can be 0 |
server | str | "app.channelattribution.io" | address of the server where password will be checked to authorize the execution of the function |
password | str | None | user |