pyss3  by sergioburdisso

Python package for interpretable text classification

created 5 years ago
343 stars

Top 81.8% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
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

1 month ago

Responsiveness

1 week

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

Explore Similar Projects

Starred by Dominik Moritz Dominik Moritz(Professor at CMU; ML Researcher at Apple), Stas Bekman Stas Bekman(Author of Machine Learning Engineering Open Book; Research Engineer at Snowflake), and
2 more.

ecco by jalammar

0%
2k
Python library for interactive NLP model visualization in Jupyter notebooks
created 4 years ago
updated 11 months ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
1 more.

lit by PAIR-code

0.0%
4k
Interactive ML model analysis tool for understanding model behavior
created 5 years ago
updated 5 days ago
Feedback? Help us improve.