Skip to main content

Density Aware SMOTE

PyPI version Python versions License

A Python package implementing Density Aware SMOTE, developed in the Improved-Oversampling-Density-Aware-Smote repository.
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

pip install density-aware-smote

Metadata

Release files for density-aware-smote 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for density-aware-smote 0.1.0
File Size Uploaded Provenance
density_aware_smote-0.1.0.tar.gz 6.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for density-aware-smote 0.1.0
File Interpreter ABI Platform
density_aware_smote-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 kB

Release files / density_aware_smote-0.1.0.tar.gz

Download URL density_aware_smote-0.1.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d60b0b7ddfcf540e67d32dfa97f37a37d96bb094c642698c9e03b0c77e916a09
BLAKE2b-256 checksum
How to use checksums
5070546601ae614c79a8d63785b6b965465248db95c6a4a36b4d7945b89da6e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / density_aware_smote-0.1.0-py3-none-any.whl

Download URL density_aware_smote-0.1.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
945c8dd5f9601666378ff1111a34a530ee17c6be76e437dc1c7a594bdee18937
BLAKE2b-256 checksum
How to use checksums
228dbffdb6d2792efd02e4ece6856257c50767214c801e5581d4b33826505b87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for density-aware-smote 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page