ExplodingHam
Oddball scikit-learn style ML+ approaches.
This library provides scikit-learn style solutions for ML problems. The goal of this library is to extend beyond what scikit-learn to include obscure ML approaches, as well as non-ML approaches that you can easily baseline your ML approachs against.
Models
A couple examples of currently available models include:
- Normalized Compression Distance KNN, this is a nifty approach to building a classifier on text data.
- RegEx Classifier, takes a provided RegEx and uses it to create a quick and dirty classifier. This is not machine learning, it doesn't learn, but having this as a scikit-learn classifier allows you to plug and play with your existing code to provide a baseline, or experiment with different versions of your RegEx.
Future methods to include:
- Bumping Classifier, an ensemble method that trains many models on subsets of the data, and keeps the model that performs the best.
- Rotation Forests, a variation on a random forest that performs PCA before each tree is fit.
- InfoGain Trees, classifiers that use ID3 and C4.5 on non-binary trees.
- Zero-Shot LLM Classifier, a classifier that uses an LLM with a prompt to make predictions.
- Few-Shot LLM Classifier, a classifier that uses an LLM with multiple examples to provide a classification prediction.
- Normalized Compression Distance Clustering, hierarchical clustering, KMeans, DBScan using compression algorithms to represent the data.
Integrations:
- ExplodingHam uses the narwhals library for dataset processing, this means that it is plug and play with most DataFrames you might supply.
- ExplodingHam uses base classes from scikit-learn, so these models should be relatively indistinguishable from
Metadata
Release files for explodingham 0.0.4
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 |
|---|---|---|---|---|
| explodingham-0.0.4.tar.gz | 22.1 kB | With provenance | Details for explodingham-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| explodingham-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for explodingham-0.0.4-py3-none-any.whl |
Total release size: 43.9 kB
Release files / explodingham-0.0.4.tar.gz
| Download URL | explodingham-0.0.4.tar.gz |
|---|---|
| Size | 22.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51ab59941a972392d52a28aae375acce5e691479597b604de1413e71946bc963
|
|
BLAKE2b-256 checksum How to use checksums |
e85498fc64bb66f1f03c133afc823e477086835080fa0d2d98504b69b15e9c86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 29, 2025.
Transparency logRelease files / explodingham-0.0.4-py3-none-any.whl
| Download URL | explodingham-0.0.4-py3-none-any.whl |
|---|---|
| Size | 21.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3dce8a3ae19bc87bd28286d23fb8c34ca728220528e970b0b485ec87f9456521
|
|
BLAKE2b-256 checksum How to use checksums |
7ace7fe9fec77dad4ca6f18c82cd966958689d5ff27bed9c261b3f71c075bae7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 29, 2025.
Transparency logSecurity for explodingham 0.0.4
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for explodingham-0.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 29, 2025.
Transparency logA 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.