An open API service indexing awesome lists of open source software.

https://github.com/akshaybahadur21/BreastCancer_Classification

Machine learning classifier for cancer tissues πŸ”¬
https://github.com/akshaybahadur21/BreastCancer_Classification

breast-cancer breast-cancer-prediction breast-cancer-wisconsin dataset-uci logistic-regression machine-learning python

Last synced: 4 months ago
JSON representation

Machine learning classifier for cancer tissues πŸ”¬

Awesome Lists containing this project

README

          

# Breast Cancer Classifier (Logistic Regression) πŸ”¬
[![](https://img.shields.io/github/license/sourcerer-io/hall-of-fame.svg?colorB=ff0000)](https://github.com/akshaybahadur21/BreastCancer_Classification/blob/master/LICENSE.txt) [![](https://img.shields.io/badge/Akshay-Bahadur-brightgreen.svg?colorB=ff0000)](https://akshaybahadur.com)

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

## Code Requirements πŸ¦„

The example code is in Matlab ([R2016](https://in.mathworks.com/help/matlab/) 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](https://en.wikipedia.org/wiki/Logistic_regression)

## Some Notes πŸ—’οΈ
1) Dataset- UCI-ML
2) I have used only 2 features out of 32 to classify.

## Results πŸ“Š

## 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

## Results πŸ“Š

## Execution πŸ‰
To run the code, type `python B_Cancer.py`

```
python B_Cancer.py
```