- A newly established e-commerce company has high traffic but a low web-to-purchase conversion rate. Therefore, we predict the likelihood of each user making a purchase and implement targeted discount policies to encourage them to buy.
- RFM Analysis: Conducted detailed RFM (Recency, Frequency, Monetary) analysis to classify users based on their purchasing behavior.
- Purchase Propensity Model: Used a propensity model to forecast user behavior and identify individuals who need encouragement to make a purchase.
Ensure that Docker is installed on your machine. Check by running:
docker --version
Navigate to the directory containing the Dockerfile for the Customer-propensity-to-purchase application:
cd Customer-propensity-to-purchase
Build the Docker image from the Dockerfile:
docker build -t customer-propensity-to-purchase .
Run the Customer-propensity-to-purchase application in a Docker container:
docker run -p 8000:8000 customer-propensity-to-purchase
The application will run and listen on port 8000.
Log in to Docker Hub from the terminal:
docker login
Enter your username and password when prompted.
Tag your Docker image with the repository name on Docker Hub:
docker tag customer-propensity-to-purchase:latest diends/yourname:image_name
Push the Docker image to Docker Hub:
docker push diends/yourname:image_name
Now, you can run the backend application from the image pushed to Docker Hub:
docker run -it --name customer-propensity-to-purchase -p 8000:8000 diends/yourname:image_name
Make sure to replace diends
with your Docker Hub username and yourname
with your application/yourname.