Judgments Prediction of Supreme Court of Nigeria (SCN)
Court Judgments Prediction using Machine Learning
Supreme Court of Nigeria (SCN) appeal-case outcome prediction with interpretable ML workflows.
## Court Judgments Prediction β README
This project predicts judicial outcomes for Supreme Court of Nigeria appeal cases using supervised machine learning models and compares their performance with visual diagnostics and confusion matrices.
## Table of Contents
- π Project intro
- π Project structure
- π Dataset
- π§ Modeling approach
- π€ Models evaluated
- π Outputs and artifacts
- βοΈ How to run
- π License
## π Project intro
The repository demonstrates an end-to-end ML workflow for legal outcome prediction:
- Data profiling and exploratory analysis of SCN appeal data
- Feature engineering and preprocessing (including encoding/scaling)
- Training and comparison of multiple classification algorithms
- Performance reporting with confusion matrices and plots
## π Project structure
```txt
Court-Judgments-Prediction-using-Machine-Learning/
βββ CSE 445.ipynb
βββ scn_appeal_cases_data.csv
βββ datasetprofiling.html
βββ Dataset description.pdf
βββ IMAGES/
β βββ Confusion Matrix for LogisticRegression().png
β βββ Confusion Matrix for SVC().png
β βββ Feature_corelation_rc_heatmap_plot.png
β βββ ...
βββ LICENSE
βββ README.md
```
## π Dataset
- **Source:** Primsol Law Pavilion archive (distributed via Mendeley)
- **Records:** 5,585 appeal cases
- **Scope:** Criminal and civil appeal matters from the Supreme Court of Nigeria
- **Dataset link:**
data.mendeley.com
## π§ Modeling approach
The notebook performs:
- Data cleaning and exploratory visual analysis
- Feature transformation with `LabelEncoder` and scaling tools where required
- Train/test split and model training
- Evaluation using accuracy metrics, classification reports, and confusion matrices
## π€ Models evaluated
Primary and baseline models included in the notebook:
- `DummyClassifier`
- `DecisionTreeCl β¦