Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #798 Liver Cirrhosis Prediction #799

Merged
merged 3 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions Prediction Models/Liver_cirrhosis_prediction/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Liver Cirrhosis Prediction

## Project Overview

This repository contains the code and analysis for predicting liver cirrhosis in patients using various machine learning models. The project involves exploratory data analysis (EDA), data preprocessing, feature engineering, model training, and evaluation using a dataset of clinical parameters.

## Dataset

The dataset includes several features related to liver function:
- **Age**: Patient's age.
- **Gender**: Patient's gender.
- **Total Bilirubin** and **Direct Bilirubin**: Measurements indicating liver function.
- **Total Proteins** and **Albumin**: Indicators of liver and kidney function.
- **A/G Ratio**: The ratio of albumin to globulin.
- **SGPT** and **SGOT**: Enzyme levels related to liver health.
- **Alkaline Phosphatase (Alkphos)**: Enzyme level associated with liver and bone health.

## Problem Statement

Liver cirrhosis is a critical health issue that requires early detection for effective treatment. This project aims to develop predictive models to diagnose liver cirrhosis based on clinical and laboratory data, facilitating earlier intervention and better patient outcomes.

## Project Structure

- `data/`: Contains the dataset used for the project.
- `notebooks/`: Jupyter notebooks with EDA, model training, and evaluation steps.
- `src/`: Python scripts for data preprocessing, model building, and evaluation.
- `README.md`: Project documentation.

## Models and Methodology

The following machine learning models were used for prediction:
- **Logistic Regression**
- **Decision Trees**
- **Random Forests**
- **K-Nearest Neighbors (KNN)**
- **Support Vector Machines (SVM)**
- **Artificial Neural Network (ANN)**

Evaluation metrics include:
- **Accuracy**
- **Precision**
- **Recall**
- **F1 Score**
- **Confusion Matrix**

## Requirements

- Python 3.x
- Pandas
- Numpy
- Scikit-learn
- TensorFlow / Keras
- Seaborn and Matplotlib (for visualization)

Large diffs are not rendered by default.

Loading