2 - Types of Machine Learning
2 - Types of Machine Learning
Learning
TIET, PATIALA
Types of Machine Learning
Machine Learning can be classified broadly into three types:
Supervised Learning
Unsupervised Learning
Reinforcement Learning
The above mentioned methods can be combined in different ways and hence we have
some hybrid learning problems :
Semi-supervised Learning
Self-supervised Learning
Multi-Instance Learning
Supervised Learning
Supervised Learning occurs when an algorithm learns from examples data and associated
target responses (which can be numeric values or string labels).
Supervised learning is where we have input variables (x) and an output variable (Y) and
use an algorithm to learn the mapping function from the input to the output Y = f(x) .
The goal is to approximate the mapping function so well that when you have new input data
(x) that you can predict the output variables (Y) for that data.
It is similar to human learning under the supervision of a teacher.
The teacher provides good examples for the student to memorize, and the student then
derives general rules from these specific examples.
Supervised Learning Problems
In Machine Learning, we deal with two types of supervised learning problems:
1. Classification:
Classification models are trained to classify data into categories.
The categories are discrete in nature (such as yes/no, 0/1, small/medium/large, etc.)
Binary Classification has two class labels where as a Multilabel classification has
more than two labels.
2. Regression:
In regression problems, the input variables are mapped to a continuous function.
In other words, we try to predict result within a continuous output.
Supervised Learning Problems Contd….
Example:
Credit Scoring: Given information of customers income, savings, age, profession, past
financial history.
Classification: Predict whether a new customer is at low-risk or at high-risk in
returning the credit.
Regression: Predict what is the probability that a new customer is at high-risk or low-
risk.
Examples-Supervised Learning
Problems
Classification: Regression:
Customer Retention Population Growth Prediction
Fraud Detection Estimating Life Expectancy
Image Classification Market Forecasting (Stock Market, Bit Coin)
Image Segmentation Credit Policing
Medical Diagnosis Weather Forecasting
Anomaly Detection Advertising Popularity Prediction/ New Insights
Handwriting Recognition /OCR
House Price Prediction
Text Classification
Process Optimization
Email Classification
Sentiment Analysis
Opinion Mining
Text Summarization
Classification Algorithms
Bayesian Decision Tree Instance-Based Kernel-Based Neural Network – Miscellaneous
• Naïve Bayes • Classification • K-Nearest • Support Vector Based • Logistic
• Gaussian Naïve and Regression Neighbor Machines • Artificial Neural Regression
Bayes Tree (CART) • Learning Vector • Linear Network • Random Forest
• Multinomial • Iterative Quantization • Non Linear • Deep Neural
Naïve Bayes Dichotomiser 3 (LVQ) • Polynomial Network
• Bayesian Belief (ID3) • Self-Organizing Kernel • Convolutional
Networks • C4.5 Map (SOM) • Gaussian Neural Networks
• Bayesian • C5.0 • Locally Kernel (CNN)
Network • M5 Weighted • Sigmoid • Recurrent
• Conditional Learning (LWL) • Hyperbolic Neural Networks
Decision Tree (RNN)
• Decision Stump
Regression Algorithms
Regression
Multivariate Locally
Least Adaptive Estimated
Linear Logistic Stepwise
Square Regression Scatterplot
Regression Regression Regression
Regression Splines Smoothing
(MARS) (LOESS)
Unsupervised Learning
Unsupervised Learning occurs when an algorithm learns from plain examples
without any associated response.
These type of algorithms determine the data patterns on its own and restructures
the data into something else such as new features that may represent a class or new
series of uncorrelated values.
The goal of unsupervised learning is to discover patterns from data.
As unlabeled data is more abundant than labeled data, machine learning methods
that facilitate unsupervised learning are more valuable.
Unsupervised Learning Problems
Unsupervised Learning methods are used in the following three types of
problems:
Clustering
Learning Associations
Dimensionality Reduction
Clustering
Clustering is the task of dividing the population or data points into a number of
groups such that data points in the same groups are more similar to other data
points in the same group than those in other groups.
In simple words, the aim is to segregate groups with similar traits and assign
them into clusters.
Clustering Examples
Clustering algorithms are widely used in a number of applications such as:
Market Segmentation / Targeted Marketing / Recommender Systems
Document / News / Article Clustering
Biology / Genome Clustering
City Planning
Speech Recognition
Social Network Analysis
Organize Computing Clusters
Astronomical Data Analysis
Clustering Algorithms
Learning Associations
Association rule learning is a type of unsupervised learning technique that checks
for the dependency of one data item on another data item and maps accordingly so
that it can be more profitable.
It tries to find some interesting relations or associations among the variables of
dataset.
It is based on different rules to discover the interesting relations between variables
in the database.
It is employed in Market Basket analysis, Web usage mining, continuous
production, medical diagnosis, protein sequencing, catalog design, etc.
Learning Association Algorithms
Following three algorithms are used for learning associations:
1. Apriori Algorithm
2. FP Growth Algorithm
Ensemble • Ensemble learning is an approach where two or more modes are fit on
Learning the same data and the predictions from each model are combined.
Transfer • Is a type of learning where a model is first trained on one task, then some
or all of the model is used as the starting point for a related task.
Learning • Applications in NLP and Image Classification