GithubHelp home page GithubHelp logo

dakshjain1 / breast-cancer-histopathology-classification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonahcoutinho/breast-cancer-histopathology-classification

0.0 0.0 0.0 106 KB

Shell 1.71% Python 75.82% HTML 22.47%

breast-cancer-histopathology-classification's Introduction

Dataset -  BreakHis

Files and uses
model.py - Txt file that has the model . One can train the model with the dataset mentioned to get an accuracy of 90.4%. 
Model is a tiny version of VGG16 that is tuned to get the best possible accuracy.

Augmentation.py - Randomly augments images to equalise the number of images in each category.

app.py - A sample flask app to deploy the model on the localhost with web as it's front end

others - Related to the flask file

To do:
- Run the augmentation.py to generate augmented images
- Merge the augmented images into the original image folders
- Train the model.py with the data set
- Run the app.py file
- Run the local host to find the prediction of an uploaded image



Contributions are welcome!.

Format of image filename
========================

   <BIOPSY_PROCEDURE>_<TUMOR_CLASS>_<TUMOR_TYPE>_<YEAR>-<SLIDE_ID>-<MAGNIFICATION>-<SEQ>

   <BIOPSY_PROCEDURE>::=CNB|SOB
   <TUMOR_CLASS>::=M|B
   <TUMOR_TYPE>::=<BENIGN_TYPE>|<MALIGNANT_TYPE>
   <BENIGN_TYPE>::=A|F|PT|TA
   <MALIGNANT_TYPE>::=DC|LC|MC|PC
   <YEAR>::=<DIGIT><DIGIT>
   <SLIDE_ID>::=<NUMBER><SECTION>
   <SEQ>::=<NUMBER>
   <MAGNIFICATION>::=40|100|200|400

   <NUMBER>::=<NUMBER><DIGIT>|<DIGIT>
   <SECTION>::=<SECTION><LETTER>|<LETTER>	
   <DIGIT>::=0|1|...|9
   <LETTER>::=A|B|...|Z 

* where
   CNB = Core Needle Biopsy (For future use)
   SOB = Surgical Open Biopsy
		
   B  = Benign
        A = Adenosis
   	F = Fibroadenoma
        TA = Tubular Adenoma
        PT = Phyllodes Tumor

   M  = Malignant
	DC = Ductal Carcinoma
        LC = Lobular Carcinoma
        MC = Mucinous Carcinoma (Colloid)
        PC = Papillary Carcinoma

breast-cancer-histopathology-classification's People

Contributors

dakshjain1 avatar harshithard avatar harshmaan avatar romanronin avatar shivanibaskar 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.