{"id":18330103,"url":"https://github.com/dmarks84/ind_project_mall-customer-clustering--kaggle","last_synced_at":"2026-04-12T05:34:11.412Z","repository":{"id":222189377,"uuid":"756513888","full_name":"dmarks84/Ind_Project_Mall-Customer-Clustering--Kaggle","owner":"dmarks84","description":"Independent Project - Kaggle Dataset-- I worked with the Mall Customer Segmentation Dataset, which provided a various instances of shoppers of different ages, incomes, etc.  I utilized unsupervised ML clustering algorithms to identify useful customer segments.","archived":false,"fork":false,"pushed_at":"2024-02-27T22:39:11.000Z","size":1423,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T17:59:13.441Z","etag":null,"topics":["clustering","dataframes","dbscan","kmeans-clustering","market-segmentation","mean-shift","pandas","python","sklearn","technical-analysis","technical-communication","unsupervised-ml"],"latest_commit_sha":null,"homepage":"https://www.kaggle.com/code/danpmarks/mall-customer-clustering","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmarks84.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-02-12T19:58:53.000Z","updated_at":"2024-02-12T20:09:56.000Z","dependencies_parsed_at":"2024-02-12T21:29:33.301Z","dependency_job_id":"9c730d4b-3841-49d4-ba50-f8339233c618","html_url":"https://github.com/dmarks84/Ind_Project_Mall-Customer-Clustering--Kaggle","commit_stats":null,"previous_names":["dmarks84/ind_project_mall-customer-clustering--kaggle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmarks84/Ind_Project_Mall-Customer-Clustering--Kaggle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmarks84%2FInd_Project_Mall-Customer-Clustering--Kaggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmarks84%2FInd_Project_Mall-Customer-Clustering--Kaggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmarks84%2FInd_Project_Mall-Customer-Clustering--Kaggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmarks84%2FInd_Project_Mall-Customer-Clustering--Kaggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmarks84","download_url":"https://codeload.github.com/dmarks84/Ind_Project_Mall-Customer-Clustering--Kaggle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmarks84%2FInd_Project_Mall-Customer-Clustering--Kaggle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31705574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T05:11:36.334Z","status":"ssl_error","status_checked_at":"2026-04-12T05:11:27.332Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["clustering","dataframes","dbscan","kmeans-clustering","market-segmentation","mean-shift","pandas","python","sklearn","technical-analysis","technical-communication","unsupervised-ml"],"created_at":"2024-11-05T19:20:28.462Z","updated_at":"2026-04-12T05:34:11.395Z","avatar_url":"https://github.com/dmarks84.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ind_Project_Mall-Customer-Clustering--Kaggle\n\n## Screenshot\n![screenshot](https://github.com/dmarks84/Ind_Project_Mall-Customer-Clustering--Kaggle/blob/main/mall_screenshot.png)\n\n## Summary\nI worked with the Mall Customer Segmentation Dataset, which provided a various instances of shoppers of different ages, incomes, etc.  I first reviewed the data and used paired plots to determine that gender was not a greaty differentiator/indicator of customer segmentation.  I then employed three different Scikit-learn unsupervised clustering algorithms: K-Means, DBSCAN, and Mean Shift to determine if customer segmentation as a function of the other features-- Age and Income-- was possible and/or clear.  With K-Means, I plotted inertia for different numbers of clusters to hone in on potential elbow points, and I ran through several combinations of min_samples and epsilon for DBSCAN.\n\n## Results\nBoth K-Means and Mean Shift settled on a cluster number of 5 when looking at the Score as a function of Income.  They overlapped substantially in their assignment of segment/cluster, leading to clear indication behind the \"meaning\" of each segment:\n - **Label 0** is \"mid\" income and \"mid\" spending\n - **Label 1** is \"high\" income and \"low\" spending\n - **Label 2** is \"high\" income and \"high\" spending\n - **Label 3** is \"low\" income and \"low\" spending\n - **Label 4** is \"low\" income and \"high\" spending\n\n## Skills (Developed \u0026 Applied)\nProgramming, Python, Pandas, Dataframes, Unsupervised-ML, Clustering, DBSCAN, K-Means, Mean Shift, Scikit-learn, Technical Communication\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmarks84%2Find_project_mall-customer-clustering--kaggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmarks84%2Find_project_mall-customer-clustering--kaggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmarks84%2Find_project_mall-customer-clustering--kaggle/lists"}