Skip to main content

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

explodingham-0.0.2.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

explodingham-0.0.2-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

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

Hashes for explodingham-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1f2692e064eee0b49687526fdf97031753b4c15918cbec93e61efd2fddbb59b7
MD5 a8d3e9a2a4e3e879c28ea1032c30da5b
BLAKE2b-256 9056852590bd1f278612e1f8b00968e360a803b09c76b8568e13d7550c20a445

See more details on using hashes here.

Provenance

The following attestation bundles were made for explodingham-0.0.2.tar.gz:

Publisher: python-publish.yml on pjachim/ExplodingHam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for explodingham-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 646af1ed604532f766dd8c1ed9472f56f5468f610e6fe10e722861e0009f6a8e
MD5 dd083a8fbc4ade2cbd1d179cae24ad88
BLAKE2b-256 b8b5b24361528b2dd7977ae5e0b19365b154600f6dace0dc8d9a2820fc9ad8bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for explodingham-0.0.2-py3-none-any.whl:

Publisher: python-publish.yml on pjachim/ExplodingHam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page