0% found this document useful (0 votes)
66 views

Lab 04 - SUpervised ML Classification

This document discusses supervised machine learning classification. It defines classification as predicting labels for input data after training on labeled data. It lists common classification algorithms like logistic regression and decision trees. It provides examples of classification in healthcare to predict diseases, education to categorize documents, and transportation to predict traffic or issues. The document differentiates between binary classification with two classes and multi-class classification with more than two. It also distinguishes classification from regression, noting classification predicts discrete targets while regression predicts continuous targets.

Uploaded by

Sharveen Veen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views

Lab 04 - SUpervised ML Classification

This document discusses supervised machine learning classification. It defines classification as predicting labels for input data after training on labeled data. It lists common classification algorithms like logistic regression and decision trees. It provides examples of classification in healthcare to predict diseases, education to categorize documents, and transportation to predict traffic or issues. The document differentiates between binary classification with two classes and multi-class classification with more than two. It also distinguishes classification from regression, noting classification predicts discrete targets while regression predicts continuous targets.

Uploaded by

Sharveen Veen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Lab 04 – Supervised Learning (Classification)

Introduction

Classification is a supervised machine learning method where the model tries to predict the
correct label of a given input data. In classification, the model is fully trained using the training
data, and then it is evaluated on test data before being used to perform prediction on new unseen
data.
For instance, an algorithm can learn to predict whether a given email is spam or ham (no spam),
as illustrated below:

The following are the algorithms in classification:


1. Logistic Regression
2. Support Vector Machine (SVM)
3. Decision Tree
4. Artificial Neural Networks.
5. K-Nearest Neighbor
6. Case-based reasoning

Examples application in Real Life


A. Healthcare
Training a machine learning model on historical patient data can help healthcare
specialists accurately analyze their diagnoses:
 During the COVID-19 pandemic, machine learning models were implemented to
efficiently predict whether a person had COVID-19 or not.
 Researchers can use machine learning models to predict new diseases that are
more likely to emerge in the future.

B. Education
Education is one of the domains dealing with the most textual, video, and audio data.
This unstructured information can be analyzed with the help of Natural Language
technologies to perform different tasks such as:
 The classification of documents per category.
 Automatic identification of the underlying language of students' documents
during their application.
 Analysis of students’ feedback sentiments about a Professor.
C. Transportation
Transportation is the key component of many countries' economic development. As a
result, industries are using machine and deep learning models:
 To predict which geographical location will have a rise in traffic volume.
 Predict potential issues that may occur in specific locations due to weather
conditions.
D. Sustainable Agriculture
Agriculture is one of the most valuable pillars of human survival. Introducing
sustainability can help improve farmers' productivity at a different level without
damaging the environment:
 By using classification models to predict which type of land is suitable for a given
type of seed.
 Predict the weather to help them take proper preventive measures.

Types of Machine Learning

The following are differentiation between:


Binary Classification Multi-Class Classification
In a binary classification task, the goal is to The multi-class classification, on the other
classify the input data into two mutually hand, has at least two mutually exclusive
exclusive categories. class labels, where the goal is to predict to
which class a given input example belongs to.
The training data in such a situation is labeled
in a binary format: true and false; positive and In the following case, the model correctly
negative; O and 1; spam and not spam, etc. classified the image to be a plane.
depending on the problem being tackled.

For instance, we might want to detect whether


a given image is a truck or a boat.
Random Forest Random Forest
Naive Bayes Naive Bayes
K-Nearest Neighbors K-Nearest Neighbors
Gradient Boosting Gradient Boosting
SVM
Logistic Regression.
Classification vs. Regression

Even though classification and regression are both from the category of supervised learning, they
are not the same.

 The prediction task is a classification when the target variable is discrete. An application
is the identification of the underlying sentiment of a piece of text.

 The prediction task is a regression when the target variable is continuous. An example
can be the prediction of the salary of a person given their education degree, previous
work experience, geographical location, and level of seniority.

Case Study

You might also like