Coder Social home page Coder Social logo

prometheussx / breast-cancer-rf-classification Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 65 KB

A project that uses Random Forest for descriptive breast cancer diagnosis, classifying breast tumors as malignant or benign.

License: MIT License

Python 100.00%

breast-cancer-rf-classification's Introduction

Breast Cancer Classification Using Random Forest

types-of-breast-cancer-guide-1440x810

Breast cancer is a prevalent form of cancer among women. Early detection and accurate classification of breast tumors are crucial for effective treatment. This project aims to classify breast tumors as malignant (cancerous) or benign (non-cancerous) by using the Random Forest algorithm.

Project Overview

In this project, we perform breast cancer classification using a dataset that contains features extracted from breast mass images. The Random Forest classification algorithm is employed for its ability to make accurate predictions and handle complex data.

Dataset

The dataset used in this project is available in the Cancer_Data.csv file. It includes the following features:

  • radius_mean: Mean of distances from the center to points on the perimeter.
  • texture_mean: Standard deviation of gray-scale values.
  • ... (other feature descriptions)

Project Structure

The project is organized as follows:

  • Cancer_Data.csv: The dataset used for classification.
  • Breast-Cancer-RF-Classification.py: Jupyter Notebook containing the Python code for data analysis, model training, and evaluation.

Requirements

To run the project, you need the following Python libraries:

  • NumPy
  • Pandas
  • Matplotlib
  • Scikit-learn
  • Seaborn (for visualization)

You can install these libraries using pip:

pip install numpy 
pip install pandas 
pip install matplotlib 
pip install scikit-learn 
pip install seaborn

Usage

To execute the breast cancer classification code:

  1. Clone this repository to your local machine:
git clone https://github.com/Prometheussx/Breast-Cancer-RF-Classification.git
  1. Navigate to the project folder:
cd Breast-Cancer-RF-Classification
  1. Open and run the Breast-Cancer-RF-Classification.py Jupyter Notebook.

  2. Follow the code cells to load the dataset, preprocess the data, train the Random Forest classifier, and evaluate the model's performance.

Model Evaluation

We evaluate the model using the Random Forest classifier and calculate the accuracy of predictions on the test dataset.

Results

The project provides a breast cancer classification model with high accuracy, making it a valuable tool for early diagnosis. image

image

Contact Information

For any questions, feedback or requests to contribute to the project, you can contact the contact information below:

Contributing

If you'd like to contribute to this project or report any issues, please create a GitHub issue or send a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

breast-cancer-rf-classification's People

Contributors

prometheussx avatar

Stargazers

 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.