pyss3  by sergioburdisso

Python package for interpretable text classification

Created 5 years ago
344 stars

Top 80.4% on SourcePulse

GitHubView on GitHub
Project Summary

PySS3 is a Python package for text classification, offering an interpretable machine learning model (SS3) with built-in visualization tools for Explainable AI. It's designed for researchers and practitioners who need to understand and trust their classification models, particularly in sensitive applications.

How It Works

The core SS3 model is a novel, white-box classifier that naturally explains its rationale. It achieves interpretability by directly exposing the features and their weights contributing to a classification decision. PySS3 enhances this with a Live_Test component for interactive, visual debugging and an Evaluation class for automated hyperparameter tuning and performance visualization via interactive 3D plots.

Quick Start & Requirements

  • Install via pip: pip install pyss3
  • Requires Python.
  • Live demos and full documentation are available online.

Highlighted Details

  • Achieved top results in CLEF's eRisk lab for early depression detection.
  • Supports multi-label classification.
  • extract_insight() method provides text fragments driving classification.
  • Evaluation.plot() generates portable HTML files for sharing interactive performance visualizations.

Maintenance & Community

The project acknowledges several contributors following the all-contributors specification. Contact is available via email for further information.

Licensing & Compatibility

The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The project's license is not clearly stated, which may impact commercial adoption. Specific hardware or software requirements beyond Python are not detailed.

Health Check
Last Commit

2 weeks ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Andre Zayarni Andre Zayarni(Cofounder of Qdrant), and
3 more.

refinery by code-kern-ai

0%
1k
Open-source tool for NLP data scaling, assessment, and maintenance
Created 3 years ago
Updated 9 months ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Travis Addair Travis Addair(Cofounder of Predibase), and
4 more.

alibi by SeldonIO

0.1%
3k
Python library for ML model inspection and interpretation
Created 6 years ago
Updated 17 hours ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Gabriel Almeida Gabriel Almeida(Cofounder of Langflow), and
5 more.

lit by PAIR-code

0.1%
4k
Interactive ML model analysis tool for understanding model behavior
Created 5 years ago
Updated 3 weeks ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Alex Atallah Alex Atallah(Cofounder of OpenRouter), and
8 more.

cleanlab by cleanlab

0.2%
11k
Data-centric AI package for ML with messy data
Created 7 years ago
Updated 1 week ago
Feedback? Help us improve.