Skip to main content

Integrated tool for model development and validation.

Project description

MoDeVa

Model Development and Validation — an integrated toolkit for building and validating interpretable machine-learning models.

MoDeVa provides a single, consistent workflow for loading data, training a range of interpretable and black-box models, and running a comprehensive test suite for explanation, diagnostics, robustness, fairness and model comparison.

  • Documentation: https://modeva.ai
  • License: proprietary (offline signed-license activation; a free developer tier is available)

Installation

pip install modeva

That's it — every dependency (numpy, scikit-learn, XGBoost, LightGBM, PyTorch, SHAP, MLflow, …) is resolved and installed automatically. MoDeVa requires Python 3.12.

Verify your environment

If an import fails or a dependency looks off, run the built-in diagnostic. It reads MoDeVa's declared dependencies, checks each against what's installed, and prints the exact pip install line to fix any gap (it never installs anything itself):

import modeva
modeva.check_dependencies()

Quickstart

from modeva import DataSet, TestSuite
from modeva.models import MoXGBRegressor, MoLGBMRegressor

# 1. Load a dataset and make a train/test split
ds = DataSet()
ds.load(name="BikeSharing")
ds.set_random_split()

# 2. Train one or more models
model1 = MoXGBRegressor(name="XGB")
model1.fit(ds.train_x, ds.train_y)

model2 = MoLGBMRegressor(name="LGBM", max_depth=2, verbose=-1)
model2.fit(ds.train_x, ds.train_y)

# 3. Explain and diagnose
ts = TestSuite(ds, model1)
results = ts.explain_pdp("hr")
results.plot()

# 4. Compare models
tsc = TestSuite(ds, models=[model1, model2])
results = tsc.compare_slicing_accuracy(features="hr", method="quantile",
                                       bins=10, metric="MSE")
results.plot()

See the documentation for the full user guide, API reference and notebook examples.

License activation

MoDeVa uses offline, signed-license activation — there is no license server and no machine binding. A free developer tier is available; enterprise tiers unlock the full capability set. See the documentation for how to obtain and activate a license key.

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 Distributions

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

modeva-2.1.0-cp312-cp312-win_amd64.whl (14.5 MB view details)

Uploaded CPython 3.12Windows x86-64

modeva-2.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (23.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

modeva-2.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (20.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

modeva-2.1.0-cp312-cp312-macosx_11_0_universal2.whl (17.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ universal2 (ARM64, x86-64)

File details

Details for the file modeva-2.1.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: modeva-2.1.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 14.5 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for modeva-2.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 558e6d4e6ec3fba7bbf60c58772d60ae9b26e90f7ae46a723377ff64ea3c6ce2
MD5 e2f6614c93b4dc22a64df41acbd81dcf
BLAKE2b-256 32c89dfc129e74e98b974ef87503fc2a700ac4a7e2ca6a1152ac410c80eb6de0

See more details on using hashes here.

Provenance

The following attestation bundles were made for modeva-2.1.0-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on knowlytix/MoDeVa-Private

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

File details

Details for the file modeva-2.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for modeva-2.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1a159ad815394afda957bf1badcb4955b8d518c414545a1d8c2b4e1a1871f535
MD5 83f9b75079a3d17b7e981d65525446f7
BLAKE2b-256 5e543cc34122bb4589fe48621c8481b48f7c360c598fbde422385f67c329b694

See more details on using hashes here.

Provenance

The following attestation bundles were made for modeva-2.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on knowlytix/MoDeVa-Private

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

File details

Details for the file modeva-2.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for modeva-2.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6f3fc0297dfe8b5495d759df0780f23e958527a07b0c17faca6d6656699d9e60
MD5 1552224d2341acbd075f85804b4938ca
BLAKE2b-256 7edaf7061c24457048800cdd7ba4a943013dc2e4c575bcddf4a2c67ba89c8f43

See more details on using hashes here.

Provenance

The following attestation bundles were made for modeva-2.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on knowlytix/MoDeVa-Private

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

File details

Details for the file modeva-2.1.0-cp312-cp312-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for modeva-2.1.0-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 cf82f8b7b208500c56935f296efc4a715fb010970a6a59aae3a75a9010f6bbf1
MD5 cf3875caa161e329f676dfb1ad9873e0
BLAKE2b-256 002d94992f7e91c09cf34a21abc09eeca464236287c9376d01d725643bcb5385

See more details on using hashes here.

Provenance

The following attestation bundles were made for modeva-2.1.0-cp312-cp312-macosx_11_0_universal2.whl:

Publisher: publish.yml on knowlytix/MoDeVa-Private

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