File size: 994 Bytes
39bb3c2
6ae0235
 
 
 
 
 
 
39bb3c2
6ae0235
39bb3c2
 
6ae0235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: Comment Toxicity & Category Classification Dashboard
emoji: 🛡️
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 6.20.0
app_file: app.py
pinned: false
license: mit
---

# Comment Category Prediction & Toxicity Intelligence Dashboard

An interactive real-time comment classification dashboard powered by a stacked 7-model ensemble (LightGBM, Logistic Regressions, NB-SVM, LinearSVC) trained on toxic text and moderation signals.

## Features
- **Live Classification**: Real-time multiclass prediction across Normal (C-0), Offensive (C-1), Hate Speech (C-2), and Severe/Violent (C-3).
- **Confidence Distribution**: Per-class probability scores with dynamic threshold multipliers.
- **Linguistic Analysis**: Token extraction, leet-speak decoding, sentiment balance, and platform signal detection.
- **Preset Testing**: One-click benchmark samples to evaluate toxicity boundaries.

## Usage
Run locally with:
```bash
cd app
pip install -r requirements.txt
python app.py
```