aws / amazon-sagemaker-examples

Example 📓 Jupyter notebooks that demonstrate how to build, train, and deploy machine learning models using 🧠 Amazon SageMaker.
https://sagemaker-examples.readthedocs.io
Apache License 2.0
10.14k stars 6.78k forks source link

Batch Transformation example for xgboost_customer_churn #789

Open YiranJing opened 5 years ago

YiranJing commented 5 years ago

740

@zxy844288792 @yuanzhua Hi guys,

For our Customer Churn with Amazon Machine Learning example, Can I add another notebook to xgboost_customer_churn file using batch transformation to deploy GXBoost model, also slightly different feature engineering and model validation process?

Please let me know if worth to do it :) Thanks!

j3ffreyjohn commented 5 years ago

@YiranJing We will be happy to accept more example contributions . Please open a PR and tag me, thanks!

YiranJing commented 5 years ago

@j3ffreyjohn Hi Jeffery,

Thanks so much for this opportunity! I have finished the notebook and passed local tests, but I am unable to pull to the awslabs branch since Permission to awslabs/amazon-sagemaker-examples.git denied to YiranJing. I have upload it here customer_churn_batch_transform notebook

The differences compared to xgboost_customer_churn.ipynb example are:

  1. Batch transformation for model prediction
  2. Train Customised XGBoost(use Sklearn library)
  3. Demo for User-Defined model name for the training model
  4. The way to Call existing model and do the batch job directly (in Extensions part)
  5. Some differences in clean data feature engineering and validation

Can you please have a look? and if you are happy with that, can you help me permission on awslabs?

Thanks for that

Aloha106 commented 5 years ago

@YiranJing , could you create a pull request from your forked repository? Here is some useful instructions - https://help.github.com/en/articles/creating-a-pull-request-from-a-fork?

If it looks good, we'll merge it into our master branch. Thanks!