Skip to content

NISH-Original/Cancer-Analysis-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Cancer Data Analysis and Prediction

Cancer tumors are mainly of two types, Benign and Malignant. While none of these types are 'good', both of these function in different ways. Benign cancer does not invade and spread like Malignant cancer, and is generally less painful, but still lethal. Early detection of cancer and its type is essential for the treatment of patients, which calls for the question that we want to address: Is a new observation Benign or Malignant based on the mean statistics of the observation as our predictors?

This classification model trains on a cancer dataset (with 567 observations) which contains statistics of various cancer cells and classifies them as either Benign (B) or Malignant (M). In this project, we will analyse the dataset, use the $K$-nearest neighbors machine learning classification algorithm to make predictions, and then assess the accuracy of our predictive analysis.

Below are two plots of the Radius (x axis) vs Texture (y axis) means, for the testing data (left) and predictions data (right). The accuracy of the model was 93%, which is displayed in the similarity between the two plots.

cancer_accuracy

About

Cancer Analysis and Prediction using a classification model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published