Skip to main content

Disagreement-Aware Multi-Learning (DAML) - A production-level Python ML library.

Project description

DAML: Disagreement-Aware Multi-Learning

DAML is a production-level Python machine learning library designed to detect ambiguous or difficult examples through ensemble variance, filtering them based on an adaptive disagreement threshold.

Key Features

  • DAMLRegressor & DAMLClassifier: Core ML models compatible with the scikit-learn API. They dynamically retrain on difficult data points to improve performance.
  • Drift Detection: Detect dataset feature shifts gracefully in production using simple thresholding rules matching your feature space.
  • Hyperparameter Tuning: Cross-validation wrapper built specifically for fine-tuning the base ensemble.
  • Scikit-Learn API: Seamless fit, predict, and partial_fit API style integrations.

Installation

pip install ebonica-daml

Or from source for development:

git clone https://github.com/yourusername/ebonica-daml.git
cd ebonica-daml
pip install -r requirements.txt
pip install -e .

Basic Usage

from daml import DAMLRegressor
from sklearn.datasets import make_regression

X, y = make_regression(n_samples=500, n_features=10)
model = DAMLRegressor(n_models=5, lambda_param=1.0)
model.fit(X, y)
predictions = model.predict(X)

See example_usage.py for a larger, complete end-to-end example dealing with hyperparameter tuning, model training, and data drift detection scenarios.

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

ebonica_daml-0.1.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

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

ebonica_daml-0.1.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file ebonica_daml-0.1.0.tar.gz.

File metadata

  • Download URL: ebonica_daml-0.1.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for ebonica_daml-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f963e3ce3b5ead7fc21ab80edaf268b09f1b2323b25db24b2e9d6b2c72d883ea
MD5 ddb0ad9ab2518378413613aab2ae60fb
BLAKE2b-256 daa5af88e241bc66ab44ff715133fcf8592b6f543ac2d31f44174fb4c57ad1b3

See more details on using hashes here.

File details

Details for the file ebonica_daml-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ebonica_daml-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for ebonica_daml-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f568abccb620986825b1687b456fce666ce330c1c2cf4cdd442a3404221902f9
MD5 69aaf41771d2e30f7a4377e25cc23fbe
BLAKE2b-256 09de0b83973f765a567a13581074e5530b4885fe9bb002e550bfdf46cebf6d87

See more details on using hashes here.

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