Skip to main content

logistic_regression

Perform transaction level attribution with logistic regression.

Parameters

PARAMETERTYPEDEFAULTDESCRIPTION
Datadata.frame/strdata.frame or a file address where customer journeys are stored
var_pathstrname of the column containing paths
var_convstrname of the column containing total conversions
var_nullstrname of the column containing total paths that do not lead to conversion
var_valuestrNonename of the column containing total conversion value
row_sepstr","if Data is a file address then row _sep is the line separator
cha_sepstr">"separator between channels
flg_write_nullsboolTrueIf True then non converting paths will be returned in path attribution output
flg_write_pathsboolFalseIf True then paths will be returned in the path attribution output
file_outputstrNonefile address where path attribution will be written
verboseboolTrueif True, additional information during the execution 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
parametersdata.frameparameters for transaction-level attribution
attributiondata.framepath-level attribution