- Project Predict Customer Churn of ML DevOps Engineer Nanodegree Udacity
First Project of Udacity Machine Learning Devops Engineer This project aims to identify the customers who will stop using credit card. This aim of this project is to use best coding practices to help in making the code production ready.
- The data folder contains the csv of the customer data
- The images folder contains the pngs of the result of data analysis and classification results
- The model folder contains the best trained models
- The logs folder contains all the logging information
- The churn_library.py is the main code which performs the EDA and classification task using Random Forest and Logistic Regression.
- The churn_script_logging_and_testing.py is used as a unit test file to test all the functions of the churn_library module to check if all the functions are running the way they are supposed to.
-
To run the main script type
python churn_library.py
in the cli.
It will create all the images regarding the EDA and final results and will also save the best models -
To run the logging script type
python churn_script_logging_and_tests.py
in the cli.
It will create churn_library.log file in the logs folder where you can see the results of the testing.