Skip to main content

TransparentML (transparent-iml)

TransparentML is a unified Python ecosystem for interpretable, rule-based machine learning. It provides native, vectorized implementations of classic and fuzzy rule learners alongside standardized wrappers for the broader interpretable ML ecosystem.

  • PyPI package: transparent-iml (import transparent_ml)
  • Requires: Python $\ge 3.14$

Installation

Install the official release from PyPI:

pip install transparent-iml

Or with uv:

uv add transparent-iml

Implemented Algorithms & Interpretable Models

Every model inherits from BaseInterpretableModel, providing full scikit-learn compatibility (fit, predict, predict_proba) and a standardized export_rules() -> str interface for human inspection:

  • FuriaClassifier: Fuzzy Unordered Rule Induction Algorithm with trapezoidal and triangular fuzzy intervals (Hühn & Hüllermeier, 2009).
  • PartClassifier: Partial Decision Trees (PART) rule induction based on partial C4.5 decision tree generation (Frank & Witten, 1998).
  • FarcHDClassifier: Fuzzy Association Rule-based Classification for High-Dimensional domains with Apriori frequent itemset generation (Alcalá-Fdez et al., 2011).
  • PrismClassifier: Modular rule induction algorithm (Cendrowska, 1987) using vectorized candidate evaluation, quantile continuous split generation, and deterministic tie-breaking.
  • IModelsWrapper: Standardized adapter for rule estimators from the imodels library.
  • ScoredRuleSetsWrapper: Unified adapter interfacing scoredrulesets estimators.

Quickstart

After installing transparent-iml, import the learners from transparent_ml:

from sklearn.datasets import load_breast_cancer
from transparent_ml import FuriaClassifier

X, y = load_breast_cancer(return_X_y=True)

# Fit natively translated FURIA fuzzy rule learner
clf = FuriaClassifier(seed=42)
clf.fit(X, y)

print(f"Accuracy: {clf.score(X, y):.3f}")
print(clf.export_rules())

Example exported rules:

IF feature_27 >= 0.1418 (fuzzy drop-off to 0.1414) AND feature_20 >= 16.31 (fuzzy drop-off to 16.25) THEN class = 0 (weight: 1.00)
IF feature_27 >= 0.1099 (fuzzy drop-off to 0.1096) THEN class = 0 (weight: 1.00)
...

Development

uv sync --extra dev
uv run pytest

Metadata

Release files for transparent-iml 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for transparent-iml 0.1.0
File Size Uploaded Provenance Actions
transparent_iml-0.1.0.tar.gz 18.8 kB With provenance Details for transparent_iml-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for transparent-iml 0.1.0
File Interpreter ABI Platform Actions
transparent_iml-0.1.0-py3-none-any.whl Python 3 none any Details for transparent_iml-0.1.0-py3-none-any.whl

Total release size: 45.0 kB

Release files / transparent_iml-0.1.0.tar.gz

Download URL transparent_iml-0.1.0.tar.gz
Size 18.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d25a05ca55b4ad06809f2e1b35948cf5a1f0ea5d2faf2baeb32459279ef2e214
BLAKE2b-256 checksum
How to use checksums
af605fa1f0263ad2d3aec3c15123152cde04307d911483b0debc679a4f2b538d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / transparent_iml-0.1.0-py3-none-any.whl

Download URL transparent_iml-0.1.0-py3-none-any.whl
Size 26.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
003cda664a5911c8395910520f637524e33c00c4b0707fd8815a0bdf6f3a2497
BLAKE2b-256 checksum
How to use checksums
a089fe22499cfba06f97db656200c27a64e8479aa924bb768eeeef6d9563a9a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for transparent-iml 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for transparent_iml-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page