Giter Club home page Giter Club logo

churn_prediction's Introduction

churn_prediction

Build Status Python version

This example is an end-to-end Bedrock tutorial on AWS. It demonstrates how to use Bedrock to preprocess data, train a model and create a HTTP endpoint for serving. This example complements Bedrock documentation.

Data exploration and Model prototyping

See notebook

Goals

At the end of the tutorial, the user will be able to

  • set up a Bedrock training pipeline
  • monitor the training
  • deploy a model endpoint in HTTPS
  • query the endpoint
  • monitor the endpoint API metrics

Run on Bedrock

Just follow the Bedrock quickstart guide. We have already prepared the data on S3 so that you do not have to upload any.

Test your endpoint

After deploying your model as an endpoint, you can test it with the query below

curl -X POST \
  <MODEL_ENDPOINT_URL> \
  -H 'Content-Type: application/json' \
  -H 'X-Bedrock-Api-Token: <MODEL_ENDPOINT_TOKEN>' \
  -d '{"State": "ME", "Area_Code": 408, "Intl_Plan": 1, "VMail_Plan": 1, "VMail_Message": 21, "CustServ_Calls": 4, "Day_Mins": 156.5, "Day_Calls": 122, "Eve_Mins": 209.2, "Eve_Calls": 125, "Night_Mins": 158.7, "Night_Calls": 81, "Intl_Mins": 11.1, "Intl_Calls": 3}'

churn_prediction's People

Contributors

changhc avatar chiewwy avatar chrissng avatar gyng avatar hfchong avatar jarvisnn avatar kesamet avatar lawliet89 avatar leeshangqian avatar mariappan avatar sweatybridge avatar yanliang18 avatar yzchia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.