Logo Lanfrica

rootcode-creator/Court-Judgments-Prediction-using-Machine-Learning

Domain:

peace and security

Record type:

project
Creator:
roo
Host:
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 …