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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ebonica_daml-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3059826c59122d22be9890e9c6a8a220beb66c1b09ffcb7d31d111fb73cf74e9
MD5 d64816b02449ee26b47171618da37017
BLAKE2b-256 db992b2ddd4e1860cc3f4b9db6cdb447192a14ca6659146cad22dc2b571bd3e2

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