GithubHelp home page GithubHelp logo

manisha2612 / breast-cancer-classification Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 332 KB

Breast Cancer Classification using Wisconsin Breast Cancer Diagnostic data

Jupyter Notebook 100.00%
breast-cancer-classification rbf-kernal svm-classifier

breast-cancer-classification's Introduction

Breast-Cancer-Classification

File 1 - Using the Wisconsin breast cancer diagnostic data set for predictive analysis

File 2 - Download the data from https://archive.ics.uci.edu/ml/datasets/Breast+Cancer+Coimbra

1- Created a training and test set and compute the accuracy (Training data is 80% or the dataset and Test data is 20% of the dataset ) 2- Built a model using linear kernel - the accuracy on the test data is 83%. 3- Built a model using polynomial kernel and evaluated the accuracy on the test data (80%) 4- Built a model using rbf kernal and evaluated the accuracy on the test data (87%)

Data Visualization :

Clusters:

Correlation between all predictors:

Linear SVM Boundary:

Polynomila Kernal SVM Boundary:

RBF Kernal SVM Boundaries with C=2 gamma=0.1:

RBF Kernal SVM Boundaries with C=40 gamma=0.1:

Final Results :

The kernel function who has the best result is the linear function. However, based on the visualization plots, we can tell the most of data set cannot be separated linearly The size of dataset is way too small which might lead to the inaccurate results. Because of the small size, the validation set only has 20% of the data set to test on.

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.