Email Campaign Conversion Rates achieved through reinforcement learning
94
This repository provides a prototype implementation of improving conversion rates for email campaigns using Reinforcement Learning
To pull an image use the following
docker pull tomsriddle/rl-email-campaign:1.0
After pulling the image check that it is present using following
docker image ls
To run the image use following
docker run -p <host port>:8786 -v <host path>:/workspace/shared-data -e data-folder=/workspace/shared-data/ -e training-data-file=email_campaign_data.csv "tomsriddle/rl-email-campaign:1.0"
Note: At the moment the image comes packaged with the needed Q Tables and the Campaign Data used for Training. So you can skip the file passing
Following APIs exposed
This provides next action that can be taken on the basis of
POST http://localhost:8788/get-next-action
Request Body (all attributes are mandatory)
--------------------------------------------------------
{
"state": [2,0,1,4,3,1,1],
"action": 4
}
Response Body
--------------------------------------------------------
{
"next_action": 0
}
Content type
Image
Digest
sha256:3032d8b19…
Size
546.6 MB
Last updated
over 2 years ago
docker pull tomsriddle/rl-email-campaign:1.0