An AI-powered web application that analyzes court judgments and detects potential bias patterns using Natural Language Processing (NLP) and Machine Learning.
🔗 https://judgment-bias-detector-c8wtvt49uxakhbqtejetj6.streamlit.app/
- 🔍 Predicts case outcome (Guilty / Not Guilty)
- ⚖️ Analyzes potential bias based on gender and region
- 📊 Visualizes bias trends using charts
- 📂 Includes sample dataset for demo
- ⚡ Interactive UI built with Streamlit
- Python
- Pandas
- NumPy
- Scikit-learn
- NLTK
- Streamlit
- Matplotlib
judgment-bias-detector/
│
├── app/
│ └── streamlit_app.py
│
├── data/
│ └── sample_judgments.csv # small demo dataset ✅
│
├── src/
├── requirements.txt
└── README.md
git clone https://github.com/Shrishti1701/judgment-bias-detector.git
cd judgment-bias-detector
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
streamlit run app/streamlit_app.py
- Includes a sample dataset (
sample_judgments.csv) for demonstration - You can replace it with real court judgment datasets for better results
- Text preprocessing using NLTK
- Feature extraction using TF-IDF
- Classification using Logistic Regression
- Bias detection using grouped statistical analysis
Add your app screenshots here
- Advanced NLP models (BERT / Transformers)
- More bias dimensions (caste, socioeconomic factors)
- Real-time legal data integration
- Model explainability (SHAP/LIME)
This project is for educational purposes only and does not represent real legal judgments.
Shrishti Banshiar GitHub: https://github.com/Shrishti1701
If you like this project, give it a ⭐ on GitHub!
