Coder Social home page Coder Social logo

codebygirum / chest-xray-pneumonia-detection-neural-network-model Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.02 MB

This project aims to detect pneumonia from chest X-ray images using a Convolutional Neural Network (CNN). The model is trained on a dataset of chest X-ray images and evaluated for its performance. The project is ongoing, and I aim to fine-tune the model in the future. If you are seeing this, it means I am still working on the project.

Home Page: https://www.kaggle.com/code/girumwondemagegn/xray-model

Jupyter Notebook 100.00%
aiinhealthcare artificialintelligence chestxray cnn cnn-classification cnn-for-visual-recognition cnn-model datascience deep-neural-networks deeplearning

chest-xray-pneumonia-detection-neural-network-model's Introduction

Chest Xray Pneumonia Detection Neural Network Model

This project aims to detect pneumonia from chest X-ray images using a Convolutional Neural Network (CNN). The model is trained on a dataset of chest X-ray images and evaluated for its performance. The project is ongoing, and I aim to fine-tune the model in the future.

If you are seeing this, it means I am still working on the project.

image

Prediction Accuracy: Currently at 84%

image

Data

The dataset consisted of chest X-ray images divided into two main categories: NORMAL and PNEUMONIA. The images were sourced from a publicly available medical imaging dataset.

You can get the data here: https://doi.org/10.17632/rscbjbr9sj.2

Methodology

  1. Data Preprocessing: Images were resized and normalized to a uniform scale. Data augmentation techniques like rotation, width shift, height shift, and horizontal flip were applied to increase the robustness of the model.

  2. Model Development: A CNN was designed with multiple convolutional, max pooling, and dense layers. Dropout layers were also incorporated to prevent overfitting.

  3. Training: The model was trained on the training dataset, with a portion set aside for validation to monitor the training process for signs of overfitting.

  4. Evaluation: After training, the model was evaluated on a separate test set to measure its accuracy and ability to generalize to new data.

Results

  • The CNN achieved an accuracy of approximately 84% on the validation dataset.

image

  • The model tended to predict most test images as having pneumonia, indicating potential issues with class imbalance or model sensitivity.

Discussion

  • The results suggest that while the model can identify pneumonia in many cases, its tendency to over-predict pneumonia points to the need for further tuning. Adjustments to the model’s architecture, training process, or data preprocessing steps could improve its specificity and overall accuracy. I intend to work on these improvements in the future, so you might see a higher accuracy rate in the fine-tuned model.

Purpose

  • I have built this model for my own study purposes, which is why you may encounter undefined and unexplained steps and codes. I am actively working to clean up the first draft of my model, so please stay tuned for more updates.

chest-xray-pneumonia-detection-neural-network-model's People

Contributors

codebygirum avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.