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

Uploaded Python 3

File details

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

File metadata

  • Download URL: explodingham-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 530e66e4516fa138fcd679b68eabd13ae9fa9450d78cac059f963f3c1683ab5e
MD5 4459856766d58dbd9065fd53aec70109
BLAKE2b-256 e9644505a17eb45a3bccb926f40582a13c575ff24eccd795521105d21d74274c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: explodingham-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3248bb8a467de3fa810f42922f17f704d79be52ba58652b5a3fb738179e03caf
MD5 f4e9bd6bf4a9bc0d85c03bf5ff70cb18
BLAKE2b-256 0b2594004d11bc863144f36f8a3dff4649a08a0114e068f09ad1c6821f85113b

See more details on using hashes here.

Provenance

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