Giter Site home page Giter Site logo

danish-jamil-01 / kidney-tumor-detection Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 1.82 GB

Demonstrating how changes in input image resolution affect the algorithm's output

License: MIT License

disease-prediction imbalanced-learn ipynb-jupyter-notebook jupiter-notebook kidney-disease-prediction matplotlib matplotlib-figures matplotlib-pyplot numpy numpy-python

kidney-tumor-detection's Introduction

Kidney Disease Detection with CT Scan Images


This repository contains code for detecting kidney diseases using CT scan images. The project explores how changes in input image resolution affect the algorithm's output. Various resolutions, ranging from 2x2 to 256x256 pixels, are considered.

File Structure

The repository has the following structure:

  • dataset/
  • resized dataset/
  • .DS_Store/
  • 128x128.ipynb
  • 16x16.ipynb
  • 256x256.ipynb
  • 2x2.ipynb
  • 32x32.ipynb
  • 4x4.ipynb
  • 64x64.ipynb
  • 8x8.ipynb
  • LICENSE
  • README.md
  • requirements.txt

Usage

To use this code, follow these steps:

  1. Clone the repository to your local machine:
    git clone https://github.com/Danish-Jamil-01/kidney-tumor-detection.git

  2. Setup:
    • Ensure you have Python 3.x installed.
    • Install the required libraries using 'pip install -r requirements.txt'.

  3. Data Preprocessing:
    • The 'dataset' folder contains the original CT scan images.
    • Run the notebook corresponding to the desired input resolution (e.g., '2x2.ipynb') to preprocess the images.
    • The 'resized dataset' folder will contain the resized images.

  4. Model Training:
    • Execute the notebook related to the desired input resolution (e.g., '2x2.ipynb') to train the deep learning model.
    • Experiment with different resolutions to observe their impact on model performance.

  5. Evaluation:
    • Run the notebook related to the desired input resolution (e.g., '2x2.ipynb') to evaluate the trained model using test data.
    • Compare the evaluation metrics across different input resolutions.

  6. Sample Prediction:
    • Use the trained model from the corresponding notebook to make predictions on new CT scan images of the same resolution.

Results

The project demonstrates how changes in input image resolution affect the algorithm's output. By comparing the performance metrics (e.g., accuracy, F1 score) across different resolutions, insights can be gained into the optimal resolution for kidney disease detection.

The F1 Score across different input resolutions is as follows:

  • 2x2 --> 0.445
  • 4x4 --> 0.62
  • 8x8 --> 0.68
  • 16x16 --> 0.76
  • 32x32 --> 0.865
  • 64x64 --> 0.92
  • 128x128 --> 0.93
  • 256x256 --> 0.945

Future Improvements

Potential improvements to enhance the project:

  • Explore additional image preprocessing techniques.
  • Incorporate advanced deep learning algorithms for improved performance.
  • Conduct further analysis on the impact of input resolution on model interpretability.

Contributing

Contributions to this project are welcome. Feel free to open an issue or submit a pull request.


License

This project is licensed under the MIT License.


Acknowledgments

kidney-tumor-detection's People

Contributors

danish-jamil-01 avatar

Watchers

 avatar

Forkers

sourodip20kar

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.