0% found this document useful (0 votes)
7 views10 pages

Spam Detection Using ML Algorithms - Part 2

Uploaded by

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

Spam Detection Using ML Algorithms - Part 2

Uploaded by

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

Spam Detection Using ML Algorithms

Sai Akhil Podduturi - 160119733044


Varun Maddi - 160119733057
Vinay Kasala - 160119733060
Machine Learning Algorithm Types
● Supervised Machine Learning
The supervised learning models are trained using the labeled dataset. The goal of
supervised learning is to map input data with the output data.

● Unsupervised Machine Learning


Unsupervised learning is a type of machine learning in which models are trained using
unlabeled dataset and are allowed to act on that data without any supervision.

● Reinforcement Machine Learning


Reinforcement learning is the training of machine learning models to make a sequence
of decisions. In reinforcement learning, an artificial intelligence faces a game-like
situation.
How these algorithms help in spam detection?
Naives Bayes :
● It is a type of supervised machine learning algorithm.
● Naive bayes technique classifies the email into spam or ham based on the
probability of the words.
● The Naive Bayes always calculates the probability of each class and the class
having the maximum probability is then chosen as an output. Naïve Bayes always
provide an accurate result.
Support Vector Machine
● The Support vector model is used for classification problems in machine
learning techniques.
● The Main resolution of Support Vector Machine algorithm is to create the
line or decision boundary. The Support Vector Machine algorithm gives
hyperplane.
Decision Tree Classifier
● Decision tree classification is an example of supervised machine learning
algorithms.
● It is a tree-structured classifier, where internal nodes represent the features of a
dataset, branches represent the decision rules and each leaf node represents the
outcome.
Random Forest
The algorithm deducts the classification label for new documents from a set
of decision trees where for each tree, a sample is selected from the training
data, and a decision tree is created by choosing a random subset of all
features.

K nearest neighbours
When a new document needs to be categorised, kNN tries to find the k
nearest neighbours (most similar documents) in the training dataset.
Comparison of Algorithms

But naive bayes algorithm which is supervised ML algorithm is mostly preferred


because it produces accurate results compared to other machine learning algorithms.
THANK YOU

You might also like