All Projects → awslabs → aws-customer-churn-pipeline

awslabs / aws-customer-churn-pipeline

Licence: MIT-0 license
An End to End Customer Churn Prediction solution using AWS services.

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to aws-customer-churn-pipeline

sagemaker-xgboost-container
This is the Docker container based on open source framework XGBoost (https://xgboost.readthedocs.io/en/latest/) to allow customers use their own XGBoost scripts in SageMaker.
Stars: ✭ 93 (+210%)
Mutual labels:  xgboost, sagemaker
ai-deployment
关注AI模型上线、模型部署
Stars: ✭ 149 (+396.67%)
Mutual labels:  deploy, xgboost
aws-lambda-docker-serverless-inference
Serve scikit-learn, XGBoost, TensorFlow, and PyTorch models with AWS Lambda container images support.
Stars: ✭ 56 (+86.67%)
Mutual labels:  xgboost, sagemaker
cfn-deploy
A useful GitHub Action to help you deploy cloudformation templates
Stars: ✭ 14 (-53.33%)
Mutual labels:  cloudformation, deploy
studio-lab-examples
Example notebooks for working with SageMaker Studio Lab. Sign up for an account at the link below!
Stars: ✭ 319 (+963.33%)
Mutual labels:  deploy, sagemaker
takomo
Organize, parameterize and deploy your CloudFormation stacks
Stars: ✭ 27 (-10%)
Mutual labels:  cloudformation, deploy
haoide-vscode
haoide-vscode is a vscode extension for salesforce development, which is used to replace haoide
Stars: ✭ 22 (-26.67%)
Mutual labels:  deploy
paco
Paco: Prescribed automation for cloud orchestration
Stars: ✭ 32 (+6.67%)
Mutual labels:  cloudformation
myprofile
Generate your resume easily from Github actions ✅ using discussion section 📃 🚀
Stars: ✭ 19 (-36.67%)
Mutual labels:  pipelines
travis-deploy-once
🚫Test multiple node versions on Travis. Deploy once. If all of them pass.
Stars: ✭ 34 (+13.33%)
Mutual labels:  deploy
DeployMachineLearningModels
This Repo Contains Deployment of Machine Learning Models on various cloud services like Azure, Heroku, AWS,GCP etc
Stars: ✭ 14 (-53.33%)
Mutual labels:  sagemaker
hugo-deploy
Easily deploy Hugo sites to Github Pages
Stars: ✭ 11 (-63.33%)
Mutual labels:  deploy
devops-101
Intro to DevOps from scratch.
Stars: ✭ 57 (+90%)
Mutual labels:  pipelines
go-ml-benchmarks
⏱ Benchmarks of machine learning inference for Go
Stars: ✭ 27 (-10%)
Mutual labels:  xgboost
matlab-production-server-on-aws
Stand up a MATLAB Production Server using CloudFormation
Stars: ✭ 21 (-30%)
Mutual labels:  cloudformation
managed ml systems and iot
Managed Machine Learning Systems and Internet of Things Live Lesson
Stars: ✭ 35 (+16.67%)
Mutual labels:  sagemaker
datajob
Build and deploy a serverless data pipeline on AWS with no effort.
Stars: ✭ 101 (+236.67%)
Mutual labels:  sagemaker
JLBoost.jl
A 100%-Julia implementation of Gradient-Boosting Regression Tree algorithms
Stars: ✭ 65 (+116.67%)
Mutual labels:  xgboost
Nietzsche
Scrap quotes from Goodreads and schedule random tweets.
Stars: ✭ 44 (+46.67%)
Mutual labels:  cloudformation
domino-research
Projects developed by Domino's R&D team
Stars: ✭ 74 (+146.67%)
Mutual labels:  sagemaker

Customer Churn Pipeline on AWS

A production-focused End to End churn prediction pipeline on AWS

It provides:

  • One-click Training and Inference Pipelines for churn prediction
  • Preprocessing, Validation, Hyperparameter tuning, and model Explainability all backed into the pipelines
  • Amazon Athena and AWS Glue backend that allows for the pipeline to scale on demand and with new data
  • End to End Implementation for your own custom churn pipeline

An AWS Professional Service open source initiative | [email protected]

Python Version Code style: black ActionBuild Release Version License

Table of contents

Getting Started

  1. Step 1 - Modify default Parameters

Update the .env file in the main directory. To run with Cox proportional hazard modeling instead of binary logloss set COXPH to "positive".

S3_BUCKET_NAME="{YOU_BUCKET_NAME}"
REGION="{YOUR_REGION}"
STACK_NAME="{YOUR_STACK_NAME}"
COXPH="{negative|positive}"
  1. Step 2 - Deploy the infrastructure

./standup.sh

  1. Step 3 - Update the pending GitHub Connections

To configure the Github connection manually in the CodeDeploy console, go to Developer Tools -> settings -> connections. This is a one time approval. Install as App or choose existing.

  1. Step 4 - Release change in churn pipeline for the first time

  1. Step 5 - Once the build succeeds, navigate to Step Functions to verify completion

Note that as part of the build, it's going to run the Churn Training Pipeline.

  1. Step 6- Trigger Inference pipeline. Batch Inference can be automated using cron jobs or S3 triggers as per business needs.
AWS_REGION=$(aws configure get region)
aws lambda --region ${AWS_REGION} invoke --function-name invokeInferStepFunction --payload '{ "": ""}' out

Clean up

./delete_resources.sh

This does not delete the S3 bucket. In order to delete the bucket and the contents in it, run the below -

source .env
 accountnum=$(aws sts get-caller-identity --query Account --output text)
 aws s3 rb s3://${S3_BUCKET_NAME}-${accountnum}-${REGION} --force

Read The Docs

Documentation

In addition, check out the blog posts:

Solution Architecture

Contributing

For how to Contribute see here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].