Giter Site home page Giter Site logo

jaypatel52970 / breastcancer_classification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akshaybahadur21/breastcancer_classification

0.0 1.0 0.0 21.71 MB

Machine learning classifier for cancer tissues

License: MIT License

MATLAB 25.09% Python 74.91%

breastcancer_classification's Introduction

Breast Cancer Classifier (Logistic Regression)

This code helps you classify malignant and benign tumors using Logistic Regression

Sourcerer

Code Requirements

The example code is in Matlab (R2016 or higher will work).

You can install Conda for python which resolves all the dependencies for machine learning.

Description

Logistic regression is named for the function used at the core of the method, the logistic function.

The logistic function, also called the sigmoid function was developed by statisticians to describe properties of population growth in ecology, rising quickly and maxing out at the carrying capacity of the environment. It’s an S-shaped curve that can take any real-valued number and map it into a value between 0 and 1, but never exactly at those limits.

1 / (1 + e^-value)

For more information, see

Some Notes

  1. Dataset- UCI-ML
  2. I have used only 2 features out of 32 to classify.

Working Example

Execution

To run the code, type run breast_cancer.m

run breast_cancer.m

Python Implementation

  1. Dataset- UCI-ML
  2. I have used 30 features to classify
  3. Instead of 0=benign and 1=malignant, I have used 1=benign and 2=malignant

Acuracy ~ 92%

Execution

To run the code, type python B_Cancer.py

python B_Cancer.py

breastcancer_classification's People

Contributors

akshaybahadur21 avatar kant avatar

Watchers

James Cloos 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.