Giter Club home page Giter Club logo

breast-cancer-prediction's Introduction

Breast Cancer Prediction

Breast cancer is cancer that develops from breast tissue [1]. his is basically a classification problem the diagnosis can be distinguished either as benign, or malignant (cancer). The aim of this study he aim of this study is to check how well it can be predicted if patient is diagnosed benign, or malignant based on the available data which were collected from X-ray images.

The data has 30 features and 1 label. Ratio of the benign cases is almost 63% and the malignant cases is 37% which represents relatively balaced dataset. we can safe to say that even though some features left skewed, all of them follows the normal distribution. However, the features are not in similar scale.

During this study, we evaluated the permormance of the below algorithms by using 10 fold cross validation:

  1. Logistic Regression (LR)
  2. Linear Discriminant Analysis (LDA)
  3. $k$-Neighbors Classifier (KNN)
  4. Gaussian Naive Bayes (GNB)
  5. Decision Tree Classifier (DTC)
  6. Support Vector Classifier (SVC)
  7. Random Forest Classifier (RFC)
  8. AdaBoost Classifier (ABC)
  9. Gradient Boosting Classifier (GBC)

As you can see on the below image, the best mean accuracy was 98.25% and provided by SVC after scaling the features using MinMaxScaler.

Algorithm Comparison for Brest Cancer Prediction

Then we applied GridSearchCV to tune the hyperparamaters and we increased the accuracy score to 98.02% bu setting 'C' to 10, 'gamma' to 0.1 and 'kernel' to 'rbf'. We achieved 98.25% prediction accuracy score on test dataset by using these hyperparameters.

References

[1] Breast cancer

breast-cancer-prediction's People

Contributors

muscak 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.