$npx skillfedfor your agent

skope-rules

Machine Learning with Interpretable Rules

With conditionsPyPI Artificial IntelligenceReleased Jan 202086.6K downloads / moBSD 3 clausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — skope_rules-1.0.1-py3-none-any.whl
v1.0.1 · released 2020-01-25 · 4 runtime deps: numpy, scikit-learn, scipy, pandas

Yes, if you need interpretable rules for binary classification and can accept dormant maintenance. The package is stable, has low install friction, and carries no known vulnerabilities. However, verify compatibility with your current numpy, scikit-learn, scipy, and pandas versions before relying on it in production.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with four common scientific dependencies (numpy, scikit-learn, scipy, pandas).
  • However, the package is dormant—last release was 2020-01-25, over four years ago, with no recent commits beyond 2024-01-31.

License · maintenance · safety

BSD 3 clause (permissive) — BSD 3 clause is permissive; you can use, modify, and distribute skope-rules freely in commercial and private projects with minimal restrictions, provided you retain the license notice.

last release 2020-01-25 (2393 days) · last repo commit 2024-01-31 · 663 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 86,577 downloads/mo, #13,851 on PyPI

Verify before relying

pip install skope-rules

from skope_rules import SkopeRules

clf = SkopeRules(max_depth_duplication=2, n_estimators=30, precision_min=0.3, recall_min=0.1)
clf.fit(X, y)
rules = clf.rules_[0:3]
  • Whether the package remains compatible with current versions of numpy, scikit-learn, scipy, and pandas given its dormant status.
  • Whether Python 3.10+ is supported; the description mentions Python 2.7 and 3.5 but provides no upper bound.
  • Active community support or maintenance plans, given the gap since the last release in 2020-01-25.
Same gist for agents: .md · .json

What it is and what it does

Skope-rules is a machine learning module built on top of scikit-learn that learns interpretable logical rules for binary classification by extracting and deduplicating rules from tree ensembles. It aims to find rules that detect instances of a target class with high precision, offering a middle ground between the transparency of a single decision tree and the predictive power of a random forest.

The package extracts rules from tree ensembles, removes near-duplicates based on support similarity, and filters them by user-specified precision and recall thresholds. Rules can be used both for explanation (examining the logical conditions) and for prediction via methods that rank instances by the precision of the rules that match them.

Use it for

  • Extract human-readable classification rules from a trained tree ensemble to understand which feature combinations define a target class.
  • Build a high-precision detector for rare or critical events where false positives are costly and interpretability is required.
  • Score new instances by the precision of the rules that match them, balancing accuracy with explainability.
  • Generate a small set of actionable business rules from historical data for manual review and deployment in rule engines.
  • Compare rule-based predictions with tree or forest predictions to validate that simplified rules capture ensemble logic.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need interpretable rules for binary classification and can accept dormant maintenance.

The package is stable, has low install friction, and carries no known vulnerabilities. However, verify compatibility with your current numpy, scikit-learn, scipy, and pandas versions before relying on it in production.

Install

skope-rules on PyPI

Before you install

Low friction: pure Python wheel with four common scientific dependencies (numpy, scikit-learn, scipy, pandas). However, the package is dormant—last release was 2020-01-25, over four years ago, with no recent commits beyond 2024-01-31.

License in practice

BSD 3 clause is permissive; you can use, modify, and distribute skope-rules freely in commercial and private projects with minimal restrictions, provided you retain the license notice.

Quickstart

pip install skope-rules

from skope_rules import SkopeRules

clf = SkopeRules(max_depth_duplication=2, n_estimators=30, precision_min=0.3, recall_min=0.1)
clf.fit(X, y)
rules = clf.rules_[0:3]

Verify before relying

  • Whether the package remains compatible with current versions of numpy, scikit-learn, scipy, and pandas given its dormant status.
  • Whether Python 3.10+ is supported; the description mentions Python 2.7 and 3.5 but provides no upper bound.
  • Active community support or maintenance plans, given the gap since the last release in 2020-01-25.

Package facts

LicenseBSD 3 clause permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
numpyscikit-learnscipypandas
MaintenanceDormant 2,393 days since the last release
Last repo commit
First released
Downloads86,577 / month, #13,851 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: skope_rules-1.0.1-py3-none-any.whl

Tags

Capabilities
interpretable machine learning ruleslogical rule extractiondecision rule learninghigh-precision classification rulesrule-based classificationexplainable rule inductiontree ensemble rule extraction
Topics
interpretable-mlrule-extractionensemble-methods
PyPI keywords
learning with rulesinterpretable machine learning

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “interpretable machine learning rules”

  • skope-rulesSkope-rules learns interpretable logical rules from data to classify…
  • interpret-coreTrains interpretable machine learning models and explains blackbox…
  • interpretInterpretML provides interpretable machine learning models and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also interpret-core · interpret · ydf · mlxtend · rules · dtreeviz · lime · properscoring · treeinterpreter · pySigma