Learn To Predict Breast Cancer Using Machine Learning

Learn to build three Machine Learning models (Logistic regression, Decision Tree, Random Forest) from scratch

4.65 (142 reviews)
Udemy
platform
English
language
Data Science
category
instructor
4,878
students
2 hours
content
Dec 2021
last update
FREE
regular price

What you will learn

Use Python for Machine Learning to classify breast cancer as either Malignant or Benign.

Implement Machine Learning Algorithms

Exploratory Data Analysis

Learn to use Pandas for Data Analysis

Learn to use NumPy for Numerical Data

Learn to use Matplotlib for Python Plotting

Use Plotly for interactive dynamic visualizations

Learn to use Seaborn for Python Graphical Representation

Logistic Regression

Random Forest and Decision Trees

Description

Here you will learn to build three models that are Logistic regression model, the Decision Tree model, and Random Forest Classifier model using Scikit-learn to classify breast cancer as either Malignant or Benign.

We will use the Breast Cancer Wisconsin (Diagnostic) Data Set from Kaggle.

Prerequisite

You should be familiar with the Python Programming language and you should have a theoretical understanding of the three algorithms that is Logistic regression model, Decision Tree model, and Random Forest Classifier model.

Learn Step-By-Step

In this course you will be taught through these steps:


  • Section 1: Loading Dataset

    • Introduction and Import Libraries

    • Download Dataset directly from Kaggle

    • 2nd Way To Load Data To Colab

  • Section 2: EDA - Exploratory Data Analysis

    • Checking The Total Number Of Rows And Columns

    • Checking The Columns And Their Corresponding Data Types (Along With Finding Whether They Contain Null Values Or Not)

    • 2nd Way To Check For Null Values

    • Dropping The Column With All Missing Values

    • Checking Datatypes

  • Section 3: Visualization

    • Display A Count Of Malignant (M) Or Benign (B) Cells

    • Visualizing The Counts Of Both Cells

    • Perform LabelEncoding - Encode The 'diagnosis' Column Or Categorical Data Values

    • Pair Plot - Plot Pairwise Relationships In A Dataset

    • Get The Correlation Of The Columns -> How One Column Can Influence The Other Visualizing The Correlation

  • Section 4: Dataset Manipulation on ML Algorithms

    • Split the data into Independent and Dependent sets to perform Feature Scaling

    • Scaling The Dataset - Feature Scaling

  • Section 5: Create Function For Three Different Models

    • Building Logistic Regression Classifier

    • Building Decision Tree Classifier

    • Building Random Forest Classifier

  • Section 6: Evaluate the performance of the model

    • Printing Accuracy Of Each Model On The Training Dataset

    • Model Accuracy On Confusion Matrix

      • 2nd Way To Get Metrics

    • Prediction

Conclusion

By the end of this project, you will be able to build three classifiers to classify cancerous and noncancerous patients. You will also be able to set up and work with the Google colab environment. Additionally, you will also be able to clean and prepare data for analysis.

Content

Introduction - Loading Dataset

Setting up Colab Environment
Importing and downloading python libraries
Downloading Dataset from Kaggle [Part 1]
Downloading Dataset from Kaggle [Part 2]

EDA - Exploratory Data Analysis

Data Analysis [Part 1] - Summary Statistics
Data Analysis [Part 2] - Dropping The Column With All Missing Values

Data Visualization

Display A Count Of Malignant (M) Or Benign (B) Cells
Pair Plot - Plot Pairwise Relationships In A Dataset
HeatMap - Get The Correlation Of The Columns

Dataset Manipulation on ML Algorithms

Scaling The Dataset - Feature Scaling

Create Function For Three Different Models

Building Logistic Regression Classifier
Building Decision Tree Classifier
Building Random Forest Classifier

Evaluate the performance of the model

Evaluate the performance of the model
Model Accuracy On Confusion Matrix
Model Prediction Vs. Actual Prediction

Screenshots

Learn To Predict Breast Cancer Using Machine Learning - Screenshot_01Learn To Predict Breast Cancer Using Machine Learning - Screenshot_02Learn To Predict Breast Cancer Using Machine Learning - Screenshot_03Learn To Predict Breast Cancer Using Machine Learning - Screenshot_04

Reviews

Tuana
February 2, 2023
Obviously, this video was a spare time activity and the lecturer is not a professional. Hence the delivery level was like a course homework presentation. There were also a few issues with the voice and screen recording quality. But overall it is essential to keep in mind this is a free course. It is a good guided project for those who have some familiarity with the ML concepts and does not need much explanation.
Muhammed
July 3, 2022
As a beginner student, It was really fantastic to learn ML Algorithms in such easy and elaborative way. It should be great help if you upload more tutorials.

Charts

Price

Learn To Predict Breast Cancer Using Machine Learning - Price chart

Rating

Learn To Predict Breast Cancer Using Machine Learning - Ratings chart

Enrollment distribution

Learn To Predict Breast Cancer Using Machine Learning - Distribution chart
4469694
udemy ID
12/31/2021
course created date
1/2/2022
course indexed date
Bot
course submited by