{"id":15633406,"url":"https://github.com/solegalli/machine-learning-imbalanced-data","last_synced_at":"2025-05-16T12:12:37.783Z","repository":{"id":42565263,"uuid":"303646370","full_name":"solegalli/machine-learning-imbalanced-data","owner":"solegalli","description":"Code repository for the online course Machine Learning with Imbalanced Data","archived":false,"fork":false,"pushed_at":"2024-11-29T19:52:41.000Z","size":23032,"stargazers_count":175,"open_issues_count":0,"forks_count":216,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T08:34:32.578Z","etag":null,"topics":["data-science","imbalanced-classification","imbalanced-data","imbalanced-learning","machine-learning","python"],"latest_commit_sha":null,"homepage":"https://www.courses.trainindata.com/p/machine-learning-with-imbalanced-data","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solegalli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["solegalli"]}},"created_at":"2020-10-13T09:03:28.000Z","updated_at":"2025-03-31T22:22:24.000Z","dependencies_parsed_at":"2024-01-09T14:03:47.736Z","dependency_job_id":"233d32af-986b-4027-955a-b87ac4ddb088","html_url":"https://github.com/solegalli/machine-learning-imbalanced-data","commit_stats":{"total_commits":54,"total_committers":1,"mean_commits":54.0,"dds":0.0,"last_synced_commit":"f0d1127179ee323d4c17d27e357f41168b5e2b8c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solegalli%2Fmachine-learning-imbalanced-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solegalli%2Fmachine-learning-imbalanced-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solegalli%2Fmachine-learning-imbalanced-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solegalli%2Fmachine-learning-imbalanced-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solegalli","download_url":"https://codeload.github.com/solegalli/machine-learning-imbalanced-data/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254527099,"owners_count":22085919,"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":["data-science","imbalanced-classification","imbalanced-data","imbalanced-learning","machine-learning","python"],"created_at":"2024-10-03T10:49:06.722Z","updated_at":"2025-05-16T12:12:32.733Z","avatar_url":"https://github.com/solegalli.png","language":"Jupyter Notebook","readme":"﻿![PythonVersion](https://img.shields.io/badge/python-3.8%20|3.9%20|%203.10%20|%203.11-success)\n[![License https://github.com/solegalli/machine-learning-imbalanced-data/blob/master/LICENSE](https://img.shields.io/badge/license-BSD-success.svg)](https://github.com/solegalli/machine-learning-imbalanced-data/blob/master/LICENSE)\n[![Sponsorship https://www.trainindata.com/](https://img.shields.io/badge/Powered%20By-TrainInData-orange.svg)](https://www.trainindata.com/)\n\n## Machine Learning with Imbalanced Data - Code Repository\n\n[\u003cimg src=\"./course-banner.png\"\u003e](https://www.trainindata.com/p/machine-learning-with-imbalanced-data)\n\n**Launched**: November, 2020\n\n**Updated**: August, 2024\n\nActively maintained.\n\n[\u003cimg src=\"./imbalanced_data_logo.png\" width=\"248\"\u003e](https://www.trainindata.com/p/machine-learning-with-imbalanced-data)\n\n## Links\n\n- [Online Course](https://www.trainindata.com/p/machine-learning-with-imbalanced-data)\n\n\n## Table of Contents\n\n1. **Metrics**\n\t1. Limitations of the Accuracy\n\t2. Precision, Recall, F-Measure\n\t3. Confusion Matrix\n\t4. False Positive Rate and False Negative Rate\n\t5. Geometric Mean\n\t6. Dominance\n\t7. Index of imbalanced accuracy\n\t8. ROC-AUC\n\t9. Precision-Recall Curves\n\t10. Probability Distribution and Calibration\n\t11. Which metric to optimise\n\n\n2. **Udersampling Methods**\n\t1. Random Undersampling\n\t2. Condensed Nearest Neighbour\n    3. Tomek Links\n    4. One Sided Selection\n\t5. Edited Nearest Neighbours\n\t6. Repeated Edited Nearest Neighbours\n\t7. All KNN\n\t8. Neighbourhood Cleaning Rule    \n\t9. NearMiss\n\t10. Instance Hardness Threshold\n\n\n3. **Oversampling methods**\n\t1. Random Oversampling\n\t2. ADASYN\n\t3. SMOTE\n\t4. BorderlineSMOTE\n\t5. KMeansSMOTE\n\t6. SMOTENC\n\t7. SVMSMOTE\n\n\n4. **Over and Undersampling Methods**\n\t1. SMOTENN\n\t2. SMOTETomek\n\n\n5. **Ensemble Methods**\n\t1. Coming Soon\n\n\n6. **Cost Sensitive Learning**\n\t1. Types of cost\n\t2. Obtaining the Cost\n\t3. Missclassification Cost\n\t4. Bayes Risk\n\t5. MetaCost\n\n7. **Probability Calibration**\n\t1. Probability Calibration Curves\n\t2. Brier Score\n\t3. Effect of under and over sampling on Probability Calibration\n\t4. Cost Sensitive Learning and Probability Calibration\n\t4. Calibrating a Classifier\n\n## Links\n\n- [Online Course](https://www.trainindata.com/p/machine-learning-with-imbalanced-data)","funding_links":["https://github.com/sponsors/solegalli"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolegalli%2Fmachine-learning-imbalanced-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolegalli%2Fmachine-learning-imbalanced-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolegalli%2Fmachine-learning-imbalanced-data/lists"}