Professional Documents
Culture Documents
Faculty Development Programme On (Sponsored by DBT) : Bioinspired Machine Learning
Faculty Development Programme On (Sponsored by DBT) : Bioinspired Machine Learning
(SPONSORED BY DBT)
BIOINSPIRED MACHINE LEARNING
PRESENTED BY
Dr. K. MEENA
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
SCHOOL OF COMPUTING
VELTECH RANHARAJAN DR SAGUNTHALA R&D INSTITUTE OF SCIENCE
AND TECHNOLOGY
OUTLINE
•Introduction to Machine Learning
3/5/22
•Applications
•Hierarchical (Unsupervised)
2
•Practical demo
ARTIFICIAL INTELLIGENCE, MACHINE
LEARNING & DEEP LEARNING
3/5/22
3
3/5/22
4
3/5/22
5
3/5/22
6
3/5/22
7
WHAT IS MACHINE LEARNING
3/5/22
8
MACHINE LEARNING IS…
3/5/22
9
MACHINE LEARNING IS…
3/5/22
10
MACHINE LEARNING IS…
3/5/22
11
3/5/22
12
3/5/22
13
3/5/22
14
ML TYPES
3/5/22
15
LEARNING SYSTEM MODEL
3/5/22
16
SUPERVISED LEARNING ALGORITHM
3/5/22
17
SUPERVISED LEARNING CONTD…
Training data include the desired outputs.
3/5/22
where the algorithm generates a function that maps
inputs to desired outputs.
3/5/22
19
SUPERVISED LEARNING ALGORITHM
3/5/22
• Linear Regression
• Nearest Neighbor
• Artificial Neural Network (ANN)
• Gaussian Naive Bayes
• Decision Trees
• Support Vector Machine (SVM) 20
• Random Forest
3/5/22
21
UNSUPERVISED LEARNING CONTD…
3/5/22
22
CLUSTERING
3/5/22
23
UNSUPERVISED LEARNING
Training data do not include the desired outputs.
3/5/22
Clustering is an unsupervised learning task.
There is no target value to shoot for.
Identify groups of “similar” data points, that are
“dissimilar” from others.
Partition the data into groups (clusters) that satisfy these
constraints
Points in the same cluster should be similar.
Points in different clusters should be dissimilar
24
UNSUPERVISED LEARNING ALGORITHM
• k-means clustering
3/5/22
• Association Rules
• Hierarchical Clustering
25
DIFFERENCES:
Supervised learning: discover patterns in the data that relate
3/5/22
data attributes with a target (class) attribute.
3/5/22
Unlabeled data - when used in conjunction with a small amount of
accuracy.
Labeling is unreliable
3/5/22
Decision making (robot, chess machine)
Learn action to maximize payoff
Not much information in a payoff signal
Payoff is often delayed
learn from reinforcement or (occasional) rewards --- most general
form of learning
We only get feedback in the form of how well we are doing
(not what we should be doing)
No supervised output but delayed reward
29
REINFORCEMENT ALGORITHM
3/5/22
30
REINFORCEMENT LEARNING
CONTD…
3/5/22
Receive rewards from sequential actions.
Learns a policy of how to act given an observation of the
world.
Every action has some impact in the environment
Environment provides feedback that guides the learning
algorithm.
31
3/5/22
32
3/5/22
Objective
Expected error
precision
CONFUSION MATRIX
3/5/22
34
CONFUSION MATRIX
3/5/22
35
3/5/22
36
ACCURACY
3/5/22
37
PRECISION
3/5/22
38
3/5/22
39
3/5/22
40
RECALL
3/5/22
41
3/5/22
42
3/5/22
5. Performing the Experiment
6. Statistical Analysis of the Data
43
3/5/22
Speech/ Planning
Audio Locomotion
Processing
Vision/
Natural
Language
Processing
Machine Image
Processing
Learning
Biomedical/ Financial
Chemical Modeling
Informatics
Human
Computer Analytics
Interaction
46
Sample Applications
• Web Search
• Computational Biology
3/5/22
• Finance
• E-commerce
• Space Exploration
• Robotics
• Information Extraction
• Social Networks
• Debugging Software 47
3/5/22
48
MACHINE LEARNING APPLICATIONS
Web search
3/5/22
Computational biology
Finance
E-commerce
Space exploration
Robotics
Information extraction
Social networks
49
MACHINE LEARNING APPLICATIONS
Computer vision and robotics:
3/5/22
detection, recognition and categorization of objects
face recognition
tracking objects (rigid and articulated) in video modeling
visual attention
Speech recognition
Information retrieval, Web search, Google ads...
50
MACHINE LEARNING APPLICATIONS
Biology and medicine:
3/5/22
drugdiscovery
computational genomics (analysis and design)
medical imaging and diagnosis.
Financial industry:
Fraud detection
Credit approval
Price and market prediction
51
MACHINE LEARNING APPLICATIONS
Automate employee access granting and revocation
3/5/22
Amazon using its large dataset of employee roles and
employee access levels - Machine Learning algorithm that
will predict which employees should be granted access to
what resources
52
MACHINE LEARNING APPLICATIONS
3/5/22
Protecting Animals
Cornell University – algorithm
to identify whales in the ocean based on audio recordings so that
ships can avoid hitting them.
Oregon State University - algorithm
that will determine which bird species is/are on a given audio
recording collected in field conditions.
53
MACHINE LEARNING APPLICATIONS
Identifying Heart Failure -
machine learning algorithm that combs through physicians free-
3/5/22
form text notes (in the electronic health records) and synthesize the
text using Natural Language Processing (NLP)- similar to a
cardiologist can read through another physician’s notes and figure
out the same
Dr K Meena
56
SIMPLE ANALOGY..
• Tell me about your friends(who your neighbors
are) and I will tell you who you are.
Dr K Meena 03/05/2022 57
INSTANCE-BASED LEARNING
Dr K Meena 03/05/2022 58
KNN – DIFFERENT NAMES
• K-Nearest Neighbors
• Memory-Based Reasoning
• Example-Based Reasoning
• Instance-Based Learning
• Lazy Learning
Dr K Meena 03/05/2022 59
WHAT IS KNN?
Dr K Meena 03/05/2022 60
KNN: CLASSIFICATION APPROACH
Dr K Meena 03/05/2022 61
Knn: Classification Approach
03/05/2022
Dr K Meena
62
DISTANCE MEASURE
Compute
Distance
Test
Record
Training
Records Choose k of the
“nearest” records
Dr K Meena 03/05/2022 63
03/05/2022 Dr K Meena
64
DISTANCE MEASURE
DISTANCE BETWEEN NEIGHBORS
D( X ,Y ) (x y )
ni i
2
i1
Dr K Meena 11
03/05/2022 6
5
K-NEAREST NEIGHBOR
ALGORITHM
• All the instances correspond to points in an n-dimensional
feature space.
? YES
Dr K Meena 03/05/2022 67
HOW TO CHOOSE K?
• If K is too small it is sensitive to noise points.
Dr K Meena 03/05/2022 68
03/05/2022 Dr K Meena
69
03/05/2022
Dr K Meena
X X X
WEAKNESSES OF KNN
Dr K Meena 03/05/2022 71