Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/amhsirak/breast-cancer-detection

Breast Cancer Detection using various machine learning algorithms
https://github.com/amhsirak/breast-cancer-detection

breast-cancer-prediction jupyter-notebook machine-learning python xgboost

Last synced: about 1 month ago
JSON representation

Breast Cancer Detection using various machine learning algorithms

Awesome Lists containing this project

README

        

# Breast Cancer Detection

Dataset: https://www.kaggle.com/datasets/uciml/breast-cancer-wisconsin-data

## Algorithms

1. K-Nearest Neighbor (KNN)
2. Random Forest (RF)
3. Logistic Regression (LR)
4. XG Boost

## Results

### 1. K-Nearest Neighbor (KNN)

### Classification Report
image

### Confusion Matrix
![knn](https://user-images.githubusercontent.com/76456498/165811486-a957d13c-cd9f-4378-870d-e1a9db6f4783.png)

### Accuracy: 95.2% at 5th epoch

### 2. Random Forest (RF)

### Classification Report
image

### Confusion Matrix
![rf](https://user-images.githubusercontent.com/76456498/165811733-700dc651-f6f3-446c-adaa-69dd0016cc46.png)

### Accuracy: 97.3%

### 3. Logistic Regression (LR)

### Classification Report
image

### Confusion Matrix
![lr](https://user-images.githubusercontent.com/76456498/165811755-c3d85e7b-0b50-4e51-82af-632a79bc9043.png)

### Accuracy: 97.3%

### 4. XG Boost

### Classification Report
image

### Confusion Matrix

![xgb](https://user-images.githubusercontent.com/76456498/165811775-de2f171e-825e-433f-af00-b8109fd1161f.png)

### Accuracy: 98.2%


XG Boost performs the best! 🎉🎉🎉