Model training properties file

This table shows the re-training configurable parameters:

Name Description Example of usage
dburl Connection to the database.

Required.

dburl=jdbc:postgresql://localhost/crm_test?user=crm&password=admin
dbschema Database schema. The default value is public. dbschema=schema_la

dbschema=public

lsfilepathname PL: Purchase Likelihood file's path name. lsfilepathname=/tmp/lsparams.conf
trainingratio Float from 0 to 1, proportion of the dataset to be used for training.

Required.

trainingratio=0.7
today Reference date for "today“.

Default is current date.

today=2017-01-01
obslen Observation period.

Days.

obslen=30
trainlen Training period is followed by lastpurchasebaseline date. Default value is 330 days. trainlen=330
filter Filtering expression to discard qualified transactions from PL calculation. Filter gets copied into the lsfilepathname file after model training.

See Filtering for details.

filter=TOTALCOST<1000
features All the features are included by default, order is fixed. features=1 3 5 10 7 9