{"id":16517271,"url":"https://github.com/vietanhdev/udacity-customer-churn","last_synced_at":"2025-06-17T08:34:49.597Z","repository":{"id":79025390,"uuid":"451385694","full_name":"vietanhdev/udacity-customer-churn","owner":"vietanhdev","description":"Course project Predict Customer Churn of ML DevOps Engineer Nanodegree Udacity.","archived":false,"fork":false,"pushed_at":"2022-01-24T09:16:09.000Z","size":359,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-02T16:20:55.811Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vietanhdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-24T08:51:45.000Z","updated_at":"2022-01-24T09:18:35.000Z","dependencies_parsed_at":"2023-06-02T23:50:10.143Z","dependency_job_id":null,"html_url":"https://github.com/vietanhdev/udacity-customer-churn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vietanhdev/udacity-customer-churn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fudacity-customer-churn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fudacity-customer-churn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fudacity-customer-churn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fudacity-customer-churn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vietanhdev","download_url":"https://codeload.github.com/vietanhdev/udacity-customer-churn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fudacity-customer-churn/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260322730,"owners_count":22991877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T16:29:42.688Z","updated_at":"2025-06-17T08:34:49.543Z","avatar_url":"https://github.com/vietanhdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Predict Customer Churn\n\nCourse project **Predict Customer Churn** of ML DevOps Engineer Nanodegree Udacity.\n\nCode in `churn_library.py` completes the process for solving the data science process including:\n- EDA\n- Feature Engineering (including encoding of categorical variables)\n- Model Training\n- Prediction\n- Model Evaluation\n\n## Environment Setup\n\n- Requirement: Python 3.x\n\n```\npip install requirements.txt\n```\n\n## Training \u0026 Evaluation\n\nExample running command:\n\n```\npython churn_library.py --data=\"data/bank_data.csv\" \\\n                        --log_path=\"churn_library.log\" \\\n                        --eda_output=\"eda\" \\\n                        --model_output=\"models\" \\\n                        --evaluation_output=\"results\" \\\n                        --feature_importance_output=\"feature_importance.png\" \\\n                        --test_size=0.3\n```\n\nAdjust parameters for grid search (DEFAULT_PARAMS_GRID) in `constants.py`.\n\n## Run tests\n\n```\npython3 tests.py\n```\n\nRead `logs/test_log.log` for test log.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvietanhdev%2Fudacity-customer-churn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvietanhdev%2Fudacity-customer-churn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvietanhdev%2Fudacity-customer-churn/lists"}