Oddball machine learning algorithms
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file explodingham-0.0.2.tar.gz.
File metadata
- Download URL: explodingham-0.0.2.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f2692e064eee0b49687526fdf97031753b4c15918cbec93e61efd2fddbb59b7
|
|
| MD5 |
a8d3e9a2a4e3e879c28ea1032c30da5b
|
|
| BLAKE2b-256 |
9056852590bd1f278612e1f8b00968e360a803b09c76b8568e13d7550c20a445
|
Provenance
The following attestation bundles were made for explodingham-0.0.2.tar.gz:
Publisher:
python-publish.yml on pjachim/ExplodingHam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
explodingham-0.0.2.tar.gz -
Subject digest:
1f2692e064eee0b49687526fdf97031753b4c15918cbec93e61efd2fddbb59b7 - Sigstore transparency entry: 781622935
- Sigstore integration time:
-
Permalink:
pjachim/ExplodingHam@f33f8da01cd56db8d37d0ea656b0b2504f519d35 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pjachim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f33f8da01cd56db8d37d0ea656b0b2504f519d35 -
Trigger Event:
push
-
Statement type:
File details
Details for the file explodingham-0.0.2-py3-none-any.whl.
File metadata
- Download URL: explodingham-0.0.2-py3-none-any.whl
- Upload date:
- Size: 21.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
646af1ed604532f766dd8c1ed9472f56f5468f610e6fe10e722861e0009f6a8e
|
|
| MD5 |
dd083a8fbc4ade2cbd1d179cae24ad88
|
|
| BLAKE2b-256 |
b8b5b24361528b2dd7977ae5e0b19365b154600f6dace0dc8d9a2820fc9ad8bc
|
Provenance
The following attestation bundles were made for explodingham-0.0.2-py3-none-any.whl:
Publisher:
python-publish.yml on pjachim/ExplodingHam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
explodingham-0.0.2-py3-none-any.whl -
Subject digest:
646af1ed604532f766dd8c1ed9472f56f5468f610e6fe10e722861e0009f6a8e - Sigstore transparency entry: 781622953
- Sigstore integration time:
-
Permalink:
pjachim/ExplodingHam@f33f8da01cd56db8d37d0ea656b0b2504f519d35 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pjachim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f33f8da01cd56db8d37d0ea656b0b2504f519d35 -
Trigger Event:
push
-
Statement type: