Computer Science & Engineering: Apex Institute of Technology
Computer Science & Engineering: Apex Institute of Technology
Computer Science & Engineering: Apex Institute of Technology
S. No. Objectives
Machine Learning Algorithms are commonly divided into categories according to their purpose and the
main categories are the following:
1. Supervised Learning
2. Unsupervised Learning
3. Reinforcement Learning
• Supervised learning is a type of Machine learning in which the machine needs external supervision to
learn. The supervised learning models are trained using the labeled dataset. Once the training and
processing are done, the model is tested by providing sample test data to check whether it predicts the
correct output.
• The goal of supervised learning is to map input data with the output data. Supervised learning is based
on supervision, and it is the same as when a student learns things under the teacher's supervision. An
example of supervised learning is spam filtering.
• An algorithm is trained and at the end of the process function that best describes the input
data, the one that for a given X makes the best estimation of y (X -> y).
Types of Supervised Learning
• Under the umbrella of supervised learning fall: Classification and
Regression.
• Classification: In the above figure, Output – Purchased has defined labels i.e. 0 or 1; 1 means the
customer will purchase, and 0 means that customer won’t purchase is a classification problem.
• Regression: Similarly, Output – Wind Speed is not having any discrete value but is continuous in the
particular range. The goal here is to predict a value as much closer to the actual output value as our model
can and then evaluation is done by calculating the error value that will be solved by the Regression
problem.
Supervised Learning
1. Linear Regression
2. Logistical Regression
3. Random Forest
4. Gradient Boosted Trees
5. Support Vector Machines
6. Decision Trees
7. Naive Bayes
Supervised Learning applications
1. Signature Recognition
2. Stock Predictions
3. Spam Classification
4. Face Recognition
1. K-means clustering
2. KNN (k-nearest neighbors)
3. Hierarchal clustering
4. Anomaly detection
5. Neural Networks
6. Principle Component Analysis
7. Independent Component Analysis
8. Apriori algorithm
9. Singular value decomposition
Supervised vs Unsupervised
Supervised Learning Unsupervised Learning
Supervised learning algorithms are trained using labeled data. Unsupervised learning algorithms are trained using unlabeled data.
A supervised learning model takes direct feedback to check if it is predicting Unsupervised learning model does not take any feedback.
correct output or not.
Supervised learning model predicts the output. Unsupervised learning model finds the hidden patterns in data.
In supervised learning, input data is provided to the model along with the In unsupervised learning, only input data is provided to the model.
output.
Supervised learning needs supervision to train the model. Unsupervised learning does not need any supervision to train the model.
Supervised learning can be used for those cases where we know the input as Unsupervised learning can be used for those cases where we have only
well as corresponding outputs. input data and no corresponding output data.
Supervised learning model produces an accurate result. Unsupervised learning model may give less accurate result as compared
to supervised learning.
Supervised learning is not close to true Artificial intelligence as in this, we Unsupervised learning is more close to the true Artificial Intelligence as it
first train the model for each data, and then only it can predict the correct learns similarly as a child learns daily routine things by his experiences.
output.
It includes various algorithms such as Linear Regression, Logistic It includes various algorithms such as Clustering, KNN, and Apriori
Regression, Support Vector Machine, Multi-class Classification, Decision algorithm.
tree, Bayesian Logic, etc.
References
Web Sources:
Video Source:
1. https://www.youtube.com/watch?v=zPG4NjIkCjc
THANK
YOU
For Queries,
Write at : [email protected]