Git Product home page Git Product logo

breast-cancer-detection-web-app-flask's Introduction

Breast Cancer Detection Web Application

A Web Application to predict Breast Cancer using SVM

output

1.Project Requirements or Dependencies

  • Anaconda Python (to get ML Libraries)
  • Pip install flask (For Front-end)

2. Load Dataset

Breast Cancer Wisconsin (Diagnostic) Original Data Set

Attribute Information:

  1. Sample code number: ID number
  2. Clump Thickness:1-10
  3. Uniformity of Cell size:1-10
  4. Uniformity of Cell shape:1-10
  5. Marginal Adhesion:1-10
  6. Single Epithelial Cell Size:1-10
  7. Bare Nuclei:1-10
  8. Bland Chromatin:1-10
  9. Normal Nucleoli:1-10
  10. Mitoses:1-10
  11. Class: (2 for Benign, 4 for Malignant)

3.Build and Train the model using SVM

Using SVM (Support Vector Machines) we build and train a model using human cell records, and classify cells to predict whether the samples are benign or malignant.

4.Flask Creation

Python app.py http://127.0.0.1:5000/

  1. Breast_Cancer_Detection.ipynb — This contains code for the machine learning model to predict cancer based on the class.
  2. app.py — This contains Flask APIs that receives cells details through GUI or API calls, computes the predicted value based on our model and returns it
  3. templates — This folders contains the HTML template and CSS styling to allow user to enter cells details and displays the predicted output.

5.Backend creation using model.pkl file

Use this pretrained model and connect it with our Flask application. Use this for prediction for model and to show the output

6. Adding form to flask app

7.Integrating web application with machine learning backend.

breast-cancer-detection-web-app-flask's People

Contributors

diveshadivarekar avatar

Stargazers

 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.