{"id":20162295,"url":"https://github.com/mongshil553/scikit-learn-clustering","last_synced_at":"2025-03-03T02:44:49.156Z","repository":{"id":249607723,"uuid":"830597809","full_name":"mongshil553/Scikit-Learn-Clustering","owner":"mongshil553","description":"Sleep Health and Lifestyle Clustering using Scikit-Learn","archived":false,"fork":false,"pushed_at":"2024-07-25T03:06:11.000Z","size":3292,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T14:18:54.601Z","etag":null,"topics":["clustering","machine-learning","scikit-learn-python"],"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/mongshil553.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":"2024-07-18T15:20:51.000Z","updated_at":"2024-07-25T03:06:14.000Z","dependencies_parsed_at":"2024-11-14T00:25:21.686Z","dependency_job_id":"ba3adf24-1080-4cff-b388-359d6e38c17a","html_url":"https://github.com/mongshil553/Scikit-Learn-Clustering","commit_stats":null,"previous_names":["mongshil553/scikit-learn-clustering"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongshil553%2FScikit-Learn-Clustering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongshil553%2FScikit-Learn-Clustering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongshil553%2FScikit-Learn-Clustering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongshil553%2FScikit-Learn-Clustering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongshil553","download_url":"https://codeload.github.com/mongshil553/Scikit-Learn-Clustering/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241600484,"owners_count":19988713,"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":["clustering","machine-learning","scikit-learn-python"],"created_at":"2024-11-14T00:24:15.680Z","updated_at":"2025-03-03T02:44:49.133Z","avatar_url":"https://github.com/mongshil553.png","language":"Python","readme":"# Sleep Health and Lifestyle Clustering using Scikit-Learn\n\u003chr\u003e\n\u003ch2\u003eData\u003c/h2\u003e\nhttps://www.kaggle.com/datasets/informateur234/sleep-health-and-lifestyle-dataset\u003cbr\u003e\n\n\u003chr\u003e\n\u003ch2\u003eData Distribution\u003c/h2\u003e\n\u003cdiv align=center\u003e\n\u003cimg src = \"https://github.com/user-attachments/assets/467eb0a1-a9cd-4499-907b-9ccbaa170839\" width=\"32.6%\" height=\"32.6%\" title=\"LDA Applied\"\u003e\n\u003cimg src = \"https://github.com/user-attachments/assets/2fd81b48-560a-4531-90ee-6e704a6dc8ad\" width=\"63%\" height=\"63%\" title=\"Train, Test Dataset\"\u003e\n\u003c/div\u003e\n\nAfter preprocessing, the data distribution are shown in the images above. Applied linear discriminant analysis(LAD) for each class to be seperated which will be helpful for the algorithm to learn. Oversampling for train set is used.\u003cbr\u003e\n\n\u003chr\u003e\n\u003ch2\u003eClustering Models\u003c/h2\u003e\nSelected Models are the following; \u003cbr\u003e\u003cbr\u003e\n1. KMeans Clustering \u003cbr\u003e\n2. MeanShift Clustering \u003cbr\u003e\n3. Gaussian Mixture Clustering \u003cbr\u003e\n4. DBSCAN Clustering \u003cbr\u003e\n\n\u003chr\u003e\n\u003ch2\u003eClustering Result Before Hyper-Tuning\u003c/h2\u003e\n\u003cdiv align=center\u003e\n\u003cimg src = \"https://github.com/user-attachments/assets/6f031ef4-3c3d-4da2-8289-bc52781d7699\" width=\"100%\" height=\"100%\"\u003e\n\u003c/div\u003e\n\u003ch2\u003eClustering Result After Hyper-Tuning\u003c/h2\u003e\n\u003cdiv align=center\u003e\n\u003cimg src = \"https://github.com/user-attachments/assets/c1549b2d-2681-46e9-b32a-5456affcbc61\" width=\"98%\" height=\"98%\"\u003e\n\u003c/div\u003e\n\n\u003chr\u003e\n\u003ch2\u003eModel Analysis\u003c/h2\u003e\n\u003ch3\u003eKMeans:\u003c/h3\u003e\n\u003cimg src = \"https://github.com/user-attachments/assets/47233353-33ca-4abe-859a-d633b86ce592\" width=\"60%\" height=\"60%\"\u003e\n\u003cimg src = \"https://github.com/user-attachments/assets/7f542928-fcda-4303-a32c-a059c202f0d7\" width=\"30%\" height=\"30%\"\u003e\n\n\n\u003ch3\u003eMeanShift:\u003c/h3\u003e\n\u003cimg src = \"https://github.com/user-attachments/assets/f040eb5d-a7e5-45f2-9200-26947339e9b1\" width=\"100%\" height=\"100%\"\u003e\n\n\u003ch3\u003eGaussian Mixture:\u003c/h3\u003e\n\u003cimg src = \"https://github.com/user-attachments/assets/d4a98873-f1d9-4b35-a7eb-94227ad3823a\" width=\"100%\" height=\"100%\"\u003e\n\n\u003ch3\u003eDBSCAN:\u003c/h3\u003e\n\u003cimg src = \"https://github.com/user-attachments/assets/91a686db-8d9f-4bae-8425-a692d2edde22\" width=\"60%\" height=\"60%\"\u003e\n\u003cimg src = \"https://github.com/user-attachments/assets/dcfd8363-0083-4ba8-b553-b80023bacf4b\" width=\"37%\" height=\"37%\"\u003e\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongshil553%2Fscikit-learn-clustering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongshil553%2Fscikit-learn-clustering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongshil553%2Fscikit-learn-clustering/lists"}