density-aware-smote


Namedensity-aware-smote JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryDensity Aware SMOTE: A Python package for density-aware synthetic oversampling
upload_time2025-09-05 08:29:28
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords smote oversampling machine-learning imbalanced-data synthetic-data
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Density Aware SMOTE

![PyPI version](https://img.shields.io/pypi/v/density-aware-smote?color=blue)
![Python versions](https://img.shields.io/pypi/pyversions/density-aware-smote)
![License](https://img.shields.io/github/license/nbeeeel/Improved-Oversampling-Density-Aware-Smote)

A Python package implementing **Density Aware SMOTE**, developed in the [**Improved-Oversampling-Density-Aware-Smote** repository](https://github.com/nbeeeel/Improved-Oversampling-Density-Aware-Smote).  
This method enhances SMOTE by generating synthetic samples based on **local data density**, reducing oversampling in sparse regions and preserving valuable patterns in dense areas.

---

##  Features
- Density-aware oversampling tuned for local distribution  
- Flexible sampling strategy: `auto`, ratio float, or custom class counts  
- Custom neighbor selection: `random`, `nearest`, `farthest`  
- Seamless integration with scikit-learn pipelines  
- Built-in visuals: class distribution, synthetic samples, decision boundaries  

---

##  Installation

```bash
pip install density-aware-smote

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "density-aware-smote",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "SMOTE, oversampling, machine-learning, imbalanced-data, synthetic-data",
    "author": null,
    "author_email": "Your Name <your.email@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/50/70/546601ae614c79a8d63785b6b965465248db95c6a4a36b4d7945b89da6e0/density_aware_smote-0.1.0.tar.gz",
    "platform": null,
    "description": "# Density Aware SMOTE\r\n\r\n![PyPI version](https://img.shields.io/pypi/v/density-aware-smote?color=blue)\r\n![Python versions](https://img.shields.io/pypi/pyversions/density-aware-smote)\r\n![License](https://img.shields.io/github/license/nbeeeel/Improved-Oversampling-Density-Aware-Smote)\r\n\r\nA Python package implementing **Density Aware SMOTE**, developed in the [**Improved-Oversampling-Density-Aware-Smote** repository](https://github.com/nbeeeel/Improved-Oversampling-Density-Aware-Smote).  \r\nThis method enhances SMOTE by generating synthetic samples based on **local data density**, reducing oversampling in sparse regions and preserving valuable patterns in dense areas.\r\n\r\n---\r\n\r\n##  Features\r\n- Density-aware oversampling tuned for local distribution  \r\n- Flexible sampling strategy: `auto`, ratio float, or custom class counts  \r\n- Custom neighbor selection: `random`, `nearest`, `farthest`  \r\n- Seamless integration with scikit-learn pipelines  \r\n- Built-in visuals: class distribution, synthetic samples, decision boundaries  \r\n\r\n---\r\n\r\n##  Installation\r\n\r\n```bash\r\npip install density-aware-smote\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Density Aware SMOTE: A Python package for density-aware synthetic oversampling",
    "version": "0.1.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/nbeeeel/Improved-Oversampling-Density-Aware-Smote/issues",
        "Homepage": "https://github.com/nbeeeel/Improved-Oversampling-Density-Aware-Smote"
    },
    "split_keywords": [
        "smote",
        " oversampling",
        " machine-learning",
        " imbalanced-data",
        " synthetic-data"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "228dbffdb6d2792efd02e4ece6856257c50767214c801e5581d4b33826505b87",
                "md5": "8076f5e24df4467c951c4e80db091bd4",
                "sha256": "945c8dd5f9601666378ff1111a34a530ee17c6be76e437dc1c7a594bdee18937"
            },
            "downloads": -1,
            "filename": "density_aware_smote-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8076f5e24df4467c951c4e80db091bd4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 7201,
            "upload_time": "2025-09-05T08:29:26",
            "upload_time_iso_8601": "2025-09-05T08:29:26.533342Z",
            "url": "https://files.pythonhosted.org/packages/22/8d/bffdb6d2792efd02e4ece6856257c50767214c801e5581d4b33826505b87/density_aware_smote-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "5070546601ae614c79a8d63785b6b965465248db95c6a4a36b4d7945b89da6e0",
                "md5": "1c66bd5c4e1cc801f6a61e4a50f89235",
                "sha256": "d60b0b7ddfcf540e67d32dfa97f37a37d96bb094c642698c9e03b0c77e916a09"
            },
            "downloads": -1,
            "filename": "density_aware_smote-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1c66bd5c4e1cc801f6a61e4a50f89235",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 6327,
            "upload_time": "2025-09-05T08:29:28",
            "upload_time_iso_8601": "2025-09-05T08:29:28.029091Z",
            "url": "https://files.pythonhosted.org/packages/50/70/546601ae614c79a8d63785b6b965465248db95c6a4a36b4d7945b89da6e0/density_aware_smote-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-05 08:29:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nbeeeel",
    "github_project": "Improved-Oversampling-Density-Aware-Smote",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "density-aware-smote"
}
        
Elapsed time: 0.56724s