AdHocBoost
Welcome to AdHocBoost--a model that is specialized for classification in a severely imbalanced-class scenario.
About
Many data science problems have severely imbalanced classes (e.g. predicting fraudulent transactions, predicting order-cancellations in food-delivery, predicting if a day in Berlin will be sunny). In these situations, predicting the positive class is hard! This module aims to alleviate some of that.
The AdHocBoost model works by creating n sequential models. The first n-1 models can most aptly be thought of
as dataset filtering models, i.e. each one does a good job at classifying rows as "definitely not the positive class"
versus "maybe the positive class". The nth model only works on this filtered "maybe positive" data.
Like this, the class imbalance is alleviated at each filter-step, such that by the time the dataset is filtered for
final classification by the nth model, the classes are considerably more balanced.
Run Instructions
Installation is with pip install adhocboost. Beyond that, AdHocBoost conforms to a sklearn-like API: to use
it, you simply instantiate it, and then use .fit(), .predict(), and .predict_proba() as you see... fit ;)
Metadata
Release files for adhocboost 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| adhocboost-0.0.6.tar.gz | 7.2 kB | Without provenance | Details for adhocboost-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adhocboost-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for adhocboost-0.0.6-py3-none-any.whl |
Total release size: 14.4 kB
Release files / adhocboost-0.0.6.tar.gz
| Download URL | adhocboost-0.0.6.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
378908ec50bf8b21bb73ac076bad513f8c5835bf737eadaa6a1eaf6dcc60aec1
|
|
BLAKE2b-256 checksum How to use checksums |
b880e6ec9e4a3b9d34105491f496b000da8142495c6252a3096f341f5dd6e650
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.1 readme-renderer/30.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.2.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.7
|
Release files / adhocboost-0.0.6-py3-none-any.whl
| Download URL | adhocboost-0.0.6-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc0e77d4ef03ad559546c755015881b99591c5706001dd0c9cff45c13bccb743
|
|
BLAKE2b-256 checksum How to use checksums |
91be170ecaf53f130bbd29cb71ed039db588e37232a1913066e90344b68ab925
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.1 readme-renderer/30.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.2.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.7
|
Security for adhocboost 0.0.6
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.