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.4.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.4-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file explodingham-0.0.4.tar.gz.

File metadata

  • Download URL: explodingham-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 51ab59941a972392d52a28aae375acce5e691479597b604de1413e71946bc963
MD5 1b4e536e1340fe24e835fa7654d3654c
BLAKE2b-256 e85498fc64bb66f1f03c133afc823e477086835080fa0d2d98504b69b15e9c86

See more details on using hashes here.

Provenance

The following attestation bundles were made for explodingham-0.0.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: explodingham-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3dce8a3ae19bc87bd28286d23fb8c34ca728220528e970b0b485ec87f9456521
MD5 2e7f2f7a5131dad155d9a5173b9ca558
BLAKE2b-256 7ace7fe9fec77dad4ca6f18c82cd966958689d5ff27bed9c261b3f71c075bae7

See more details on using hashes here.

Provenance

The following attestation bundles were made for explodingham-0.0.4-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