SlideShare a Scribd company logo
1 of 40
Download to read offline
PATTERN
RECOGNITION
Talal A. Alsubaie
SFDA
1
OUTLINES
 What is a pattern?
 What is A pattern Class?
 What is pattern recognition?
 Human Perception
 Examples of applications
 The Statistical Way
 Human and Machine Perception
 Pattern Recognition
 Pattern Recognition Process
 Case Study
2
WHAT IS A PATTERN?
 A pattern is an abstract object, or a set of
measurements describing a physical object.
3
WHAT IS A PATTERN CLASS?
 A pattern class (or category) is a set of
patterns sharing common attributes.
 A collection of “similar” (not necessarily
identical) objects.
 During recognition given objects are assigned
to prescribed classes.
4
WHAT IS PATTERN RECOGNITION?
 Theory, Algorithms, Systems to put Patterns
into Categories
 Relate Perceived Pattern to Previously
Perceived Patterns
 Learn to distinguish patterns of interest from
their background
5
HUMAN PERCEPTION
 Humans have developed highly sophisticated
skills for sensing their environment and taking
actions according to what they observe, e.g.,
 Recognizing a face.
 Understanding spoken words.
 Reading handwriting.
 Distinguishing fresh food from its smell.
 We would like to give similar capabilities to
machines.
6
EXAMPLES OF APPLICATIONS
7
THE
STATISTICAL
WAY
8
GRID BY GRID COMPARISON
A A B
Grid by Grid
Comparison
9
GRID BY GRID COMPARISON
A A B
10
0 0 1 0
0 0 1 0
0 1 1 1
1 0 0 1
1 0 0 1
0 1 1 0
0 1 1 0
0 1 1 0
1 0 0 1
1 0 0 1
No of
Mismatch= 3
GRID BY GRID COMPARISON
A A B
Grid by Grid
Comparison
11
GRID BY GRID COMPARISON
A A B
12
0 0 1 0
0 0 1 0
0 1 1 1
1 0 0 1
1 0 0 1
1 1 1 0
0 1 0 1
0 1 1 1
0 1 0 1
1 1 1 0
No of
Mismatch= 9
PROBLEM WITH GRID BY GRID
COMPARISON
 Time to recognize a pattern - Proportional to
the number of stored patterns ( Too costly with
the increase of number of patterns stored )
13
Solution
Artificial
Intelligence
A-Z
A-Z a-z
a-z 0-9
0-9
*/-+1@#
*/-+1@#
HUMAN AND MACHINE PERCEPTION
 We are often influenced by the knowledge of how
patterns are modeled and recognized in nature when we
develop pattern recognition algorithms.
 Research on machine perception also helps us gain
deeper understanding and appreciation for pattern
recognition systems in nature.
 Yet, we also apply many techniques that are purely
numerical and do not have any correspondence in
natural systems.
14
PATTERN RECOGNITION
 Two Phase : Learning and Detection.
 Time to learn is higher.
 Driving a car
 Difficult to learn but once learnt it becomes
natural.
 Can use AI learning methodologies such as:
 Neural Network.
 Machine Learning.
15
LEARNING
 How can machine learn the rule from data?
 Supervised learning: a teacher provides a category label or
cost for each pattern in the training set.
 Unsupervised learning: the system forms clusters or natural
groupings of the input patterns.
16
 Classification (known categories)
 Clustering (creation of new categories)
CLASSIFICATION VS. CLUSTERING
17
Category “A”
Category “B”
Clustering
(Unsupervised Classification)
Classification
(Supervised Classification)
PATTERN RECOGNITION PROCESS
(CONT.)
18
Post- processing
Classification
Feature Extraction
Segmentation
Sensing
input
Decision
PATTERN RECOGNITION PROCESS
 Data acquisition and sensing:
 Measurements of physical variables.
 Important issues: bandwidth, resolution , etc.
 Pre-processing:
 Removal of noise in data.
 Isolation of patterns of interest from the background.
 Feature extraction:
 Finding a new representation in terms of features.
 Classification
 Using features and learned models to assign a pattern to a
category.
 Post-processing
 Evaluation of confidence in decisions. 19
CASE STUDY
 Fish Classification:
 Sea Bass / Salmon.
 Problem: Sorting incoming fish
on a conveyor belt according to
species.
 Assume that we have only two kinds of fish:
 Sea bass.
 Salmon.
20
Salmon
Sea-bass
CASE STUDY (CONT.)
 What can cause problems during sensing?
 Lighting conditions.
 Position of fish on the conveyor belt.
 Camera noise.
 etc…
 What are the steps in the process?
1. Capture image.
2. Isolate fish
3. Take measurements
4. Make decision
21
CASE STUDY (CONT.)
22
Classification
Feature Extraction
Pre-processing
“Sea Bass” “Salmon”
CASE STUDY (CONT.)
 Pre-Processing:
 Image enhancement
 Separating touching or occluding fish.
 Finding the boundary of the fish.
23
HOW TO SEPARATE
SEA BASS FROM SALMON?
 Possible features to be used:
 Length
 Lightness
 Width
 Number and shape of fins
 Position of the mouth
 Etc …
 Assume a fisherman told us that a “sea bass” is
generally longer than a “salmon”.
 Even though “sea bass” is longer than “salmon” on the
average, there are many examples of fish where this
observation does not hold. 24
HOW TO SEPARATE
SEA BASS FROM SALMON?
 To improve recognition, we might have to use
more than one feature at a time.
 Single features might not yield the best performance.
 Combinations of features might yield better performance.
25
1
2
x
x
←
↑
→
1
2
:
:
x lightness
x width
FEATURE SELECTION
26
“Good” features “Bad” features
DECISION BOUNDARY
27
DECISION BOUNDARY (CONT.)
28
More complex model result more complex boundary
DECISION BOUNDARY (CONT.)
29
Different criteria lead to different decision boundaries
DECISION BOUNDARY (CONT.)
 What if a customers find “Sea bass” in there
“Salmon” can?
 We should also consider costs of different
errors we make in our decisions.
30
DECISION BOUNDARY (CONT.)
 For example, if the fish packing company
knows that:
 Customers who buy salmon will object vigorously
if they see sea bass in their cans.
 Customers who buy sea bass will not be unhappy
if they occasionally see some expensive salmon in
their cans.
 How does this knowledge affect our decision?
31
CASE STUDY (CONT.)
Issues with feature extraction:
 Correlated features do not necessary improve
performance.
 It might be difficult to extract certain features.
 It might be computationally expensive to extract
many features.
 Missing Features.
 Domain Knowledge.
32
THE DESIGN CYCLE
33
DEMO
34
DEMO
 Online face detector demo:
 http://demo.pittpatt.com/index.php
35
36
DEMO (CONT.)
 With my friend “Albert Einstein”
37
VIDEO DEMO
38
Q & A
39
THAN
K YOU
40

More Related Content

Similar to talalalsubaie-1220737011220266-9.pdf

Narrative Essay Ideas
Narrative Essay IdeasNarrative Essay Ideas
Narrative Essay IdeasApril Lynn
 
Deep Learning Class #0 - You Can Do It
Deep Learning Class #0 - You Can Do ItDeep Learning Class #0 - You Can Do It
Deep Learning Class #0 - You Can Do ItHolberton School
 
DL Classe 0 - You can do it
DL Classe 0 - You can do itDL Classe 0 - You can do it
DL Classe 0 - You can do itGregory Renard
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningShao-Chuan Wang
 
Machine Learning Summary for Caltech2
Machine Learning Summary for Caltech2Machine Learning Summary for Caltech2
Machine Learning Summary for Caltech2Lukas Mandrake
 
The creative process, six common creative techniques and examples
The creative process, six common creative techniques and examplesThe creative process, six common creative techniques and examples
The creative process, six common creative techniques and examplesGerard Prins
 
Intro to modelling-supervised learning
Intro to modelling-supervised learningIntro to modelling-supervised learning
Intro to modelling-supervised learningJustin Sebok
 
Greg Wilson - We Know (but ignore) More Than We Think
Greg Wilson - We Know (but ignore) More Than We ThinkGreg Wilson - We Know (but ignore) More Than We Think
Greg Wilson - We Know (but ignore) More Than We Think#DevTO
 
John Maxwell, Data Scientist, Nordstrom at MLconf Seattle 2017
John Maxwell, Data Scientist, Nordstrom at MLconf Seattle 2017 John Maxwell, Data Scientist, Nordstrom at MLconf Seattle 2017
John Maxwell, Data Scientist, Nordstrom at MLconf Seattle 2017 MLconf
 
UX from 30,000ft - COMP33512 - Lectures 13 & 14 - Week 7 - 2013/2014 Edition ...
UX from 30,000ft - COMP33512 - Lectures 13 & 14 - Week 7 - 2013/2014 Edition ...UX from 30,000ft - COMP33512 - Lectures 13 & 14 - Week 7 - 2013/2014 Edition ...
UX from 30,000ft - COMP33512 - Lectures 13 & 14 - Week 7 - 2013/2014 Edition ...Simon Harper
 
Pattern recognition and Machine Learning.
Pattern recognition and Machine Learning.Pattern recognition and Machine Learning.
Pattern recognition and Machine Learning.Rohit Kumar
 
Learn About The Iconic Civil Rights Leader Martin Luthe
Learn About The Iconic Civil Rights Leader Martin LutheLearn About The Iconic Civil Rights Leader Martin Luthe
Learn About The Iconic Civil Rights Leader Martin LutheNicole Kathol
 
Predicting Breast Cancer
Predicting Breast CancerPredicting Breast Cancer
Predicting Breast CancerAARollason
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningAI Summary
 
project report
project reportproject report
project reportWeston Wei
 
Conceipt of experimental design sixsigma1
Conceipt of experimental design sixsigma1Conceipt of experimental design sixsigma1
Conceipt of experimental design sixsigma1Mujtaba Masood
 
MachineLearningAndDataAnalytics_034739.pptx
MachineLearningAndDataAnalytics_034739.pptxMachineLearningAndDataAnalytics_034739.pptx
MachineLearningAndDataAnalytics_034739.pptxSakshiSingh770619
 
CMU Trecvid sed11
CMU Trecvid sed11CMU Trecvid sed11
CMU Trecvid sed11Lu Jiang
 

Similar to talalalsubaie-1220737011220266-9.pdf (20)

Narrative Essay Ideas
Narrative Essay IdeasNarrative Essay Ideas
Narrative Essay Ideas
 
Deep Learning Class #0 - You Can Do It
Deep Learning Class #0 - You Can Do ItDeep Learning Class #0 - You Can Do It
Deep Learning Class #0 - You Can Do It
 
DL Classe 0 - You can do it
DL Classe 0 - You can do itDL Classe 0 - You can do it
DL Classe 0 - You can do it
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Machine Learning Summary for Caltech2
Machine Learning Summary for Caltech2Machine Learning Summary for Caltech2
Machine Learning Summary for Caltech2
 
The creative process, six common creative techniques and examples
The creative process, six common creative techniques and examplesThe creative process, six common creative techniques and examples
The creative process, six common creative techniques and examples
 
Intro to modelling-supervised learning
Intro to modelling-supervised learningIntro to modelling-supervised learning
Intro to modelling-supervised learning
 
CAD v2
CAD v2CAD v2
CAD v2
 
Greg Wilson - We Know (but ignore) More Than We Think
Greg Wilson - We Know (but ignore) More Than We ThinkGreg Wilson - We Know (but ignore) More Than We Think
Greg Wilson - We Know (but ignore) More Than We Think
 
John Maxwell, Data Scientist, Nordstrom at MLconf Seattle 2017
John Maxwell, Data Scientist, Nordstrom at MLconf Seattle 2017 John Maxwell, Data Scientist, Nordstrom at MLconf Seattle 2017
John Maxwell, Data Scientist, Nordstrom at MLconf Seattle 2017
 
UX from 30,000ft - COMP33512 - Lectures 13 & 14 - Week 7 - 2013/2014 Edition ...
UX from 30,000ft - COMP33512 - Lectures 13 & 14 - Week 7 - 2013/2014 Edition ...UX from 30,000ft - COMP33512 - Lectures 13 & 14 - Week 7 - 2013/2014 Edition ...
UX from 30,000ft - COMP33512 - Lectures 13 & 14 - Week 7 - 2013/2014 Edition ...
 
Pattern recognition and Machine Learning.
Pattern recognition and Machine Learning.Pattern recognition and Machine Learning.
Pattern recognition and Machine Learning.
 
Learn About The Iconic Civil Rights Leader Martin Luthe
Learn About The Iconic Civil Rights Leader Martin LutheLearn About The Iconic Civil Rights Leader Martin Luthe
Learn About The Iconic Civil Rights Leader Martin Luthe
 
Predicting Breast Cancer
Predicting Breast CancerPredicting Breast Cancer
Predicting Breast Cancer
 
Data mining BY Zubair Yaseen
Data mining BY Zubair YaseenData mining BY Zubair Yaseen
Data mining BY Zubair Yaseen
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
project report
project reportproject report
project report
 
Conceipt of experimental design sixsigma1
Conceipt of experimental design sixsigma1Conceipt of experimental design sixsigma1
Conceipt of experimental design sixsigma1
 
MachineLearningAndDataAnalytics_034739.pptx
MachineLearningAndDataAnalytics_034739.pptxMachineLearningAndDataAnalytics_034739.pptx
MachineLearningAndDataAnalytics_034739.pptx
 
CMU Trecvid sed11
CMU Trecvid sed11CMU Trecvid sed11
CMU Trecvid sed11
 

Recently uploaded

Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 

Recently uploaded (20)

Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 

talalalsubaie-1220737011220266-9.pdf

  • 2. OUTLINES  What is a pattern?  What is A pattern Class?  What is pattern recognition?  Human Perception  Examples of applications  The Statistical Way  Human and Machine Perception  Pattern Recognition  Pattern Recognition Process  Case Study 2
  • 3. WHAT IS A PATTERN?  A pattern is an abstract object, or a set of measurements describing a physical object. 3
  • 4. WHAT IS A PATTERN CLASS?  A pattern class (or category) is a set of patterns sharing common attributes.  A collection of “similar” (not necessarily identical) objects.  During recognition given objects are assigned to prescribed classes. 4
  • 5. WHAT IS PATTERN RECOGNITION?  Theory, Algorithms, Systems to put Patterns into Categories  Relate Perceived Pattern to Previously Perceived Patterns  Learn to distinguish patterns of interest from their background 5
  • 6. HUMAN PERCEPTION  Humans have developed highly sophisticated skills for sensing their environment and taking actions according to what they observe, e.g.,  Recognizing a face.  Understanding spoken words.  Reading handwriting.  Distinguishing fresh food from its smell.  We would like to give similar capabilities to machines. 6
  • 9. GRID BY GRID COMPARISON A A B Grid by Grid Comparison 9
  • 10. GRID BY GRID COMPARISON A A B 10 0 0 1 0 0 0 1 0 0 1 1 1 1 0 0 1 1 0 0 1 0 1 1 0 0 1 1 0 0 1 1 0 1 0 0 1 1 0 0 1 No of Mismatch= 3
  • 11. GRID BY GRID COMPARISON A A B Grid by Grid Comparison 11
  • 12. GRID BY GRID COMPARISON A A B 12 0 0 1 0 0 0 1 0 0 1 1 1 1 0 0 1 1 0 0 1 1 1 1 0 0 1 0 1 0 1 1 1 0 1 0 1 1 1 1 0 No of Mismatch= 9
  • 13. PROBLEM WITH GRID BY GRID COMPARISON  Time to recognize a pattern - Proportional to the number of stored patterns ( Too costly with the increase of number of patterns stored ) 13 Solution Artificial Intelligence A-Z A-Z a-z a-z 0-9 0-9 */-+1@# */-+1@#
  • 14. HUMAN AND MACHINE PERCEPTION  We are often influenced by the knowledge of how patterns are modeled and recognized in nature when we develop pattern recognition algorithms.  Research on machine perception also helps us gain deeper understanding and appreciation for pattern recognition systems in nature.  Yet, we also apply many techniques that are purely numerical and do not have any correspondence in natural systems. 14
  • 15. PATTERN RECOGNITION  Two Phase : Learning and Detection.  Time to learn is higher.  Driving a car  Difficult to learn but once learnt it becomes natural.  Can use AI learning methodologies such as:  Neural Network.  Machine Learning. 15
  • 16. LEARNING  How can machine learn the rule from data?  Supervised learning: a teacher provides a category label or cost for each pattern in the training set.  Unsupervised learning: the system forms clusters or natural groupings of the input patterns. 16
  • 17.  Classification (known categories)  Clustering (creation of new categories) CLASSIFICATION VS. CLUSTERING 17 Category “A” Category “B” Clustering (Unsupervised Classification) Classification (Supervised Classification)
  • 18. PATTERN RECOGNITION PROCESS (CONT.) 18 Post- processing Classification Feature Extraction Segmentation Sensing input Decision
  • 19. PATTERN RECOGNITION PROCESS  Data acquisition and sensing:  Measurements of physical variables.  Important issues: bandwidth, resolution , etc.  Pre-processing:  Removal of noise in data.  Isolation of patterns of interest from the background.  Feature extraction:  Finding a new representation in terms of features.  Classification  Using features and learned models to assign a pattern to a category.  Post-processing  Evaluation of confidence in decisions. 19
  • 20. CASE STUDY  Fish Classification:  Sea Bass / Salmon.  Problem: Sorting incoming fish on a conveyor belt according to species.  Assume that we have only two kinds of fish:  Sea bass.  Salmon. 20 Salmon Sea-bass
  • 21. CASE STUDY (CONT.)  What can cause problems during sensing?  Lighting conditions.  Position of fish on the conveyor belt.  Camera noise.  etc…  What are the steps in the process? 1. Capture image. 2. Isolate fish 3. Take measurements 4. Make decision 21
  • 22. CASE STUDY (CONT.) 22 Classification Feature Extraction Pre-processing “Sea Bass” “Salmon”
  • 23. CASE STUDY (CONT.)  Pre-Processing:  Image enhancement  Separating touching or occluding fish.  Finding the boundary of the fish. 23
  • 24. HOW TO SEPARATE SEA BASS FROM SALMON?  Possible features to be used:  Length  Lightness  Width  Number and shape of fins  Position of the mouth  Etc …  Assume a fisherman told us that a “sea bass” is generally longer than a “salmon”.  Even though “sea bass” is longer than “salmon” on the average, there are many examples of fish where this observation does not hold. 24
  • 25. HOW TO SEPARATE SEA BASS FROM SALMON?  To improve recognition, we might have to use more than one feature at a time.  Single features might not yield the best performance.  Combinations of features might yield better performance. 25 1 2 x x ← ↑ → 1 2 : : x lightness x width
  • 28. DECISION BOUNDARY (CONT.) 28 More complex model result more complex boundary
  • 29. DECISION BOUNDARY (CONT.) 29 Different criteria lead to different decision boundaries
  • 30. DECISION BOUNDARY (CONT.)  What if a customers find “Sea bass” in there “Salmon” can?  We should also consider costs of different errors we make in our decisions. 30
  • 31. DECISION BOUNDARY (CONT.)  For example, if the fish packing company knows that:  Customers who buy salmon will object vigorously if they see sea bass in their cans.  Customers who buy sea bass will not be unhappy if they occasionally see some expensive salmon in their cans.  How does this knowledge affect our decision? 31
  • 32. CASE STUDY (CONT.) Issues with feature extraction:  Correlated features do not necessary improve performance.  It might be difficult to extract certain features.  It might be computationally expensive to extract many features.  Missing Features.  Domain Knowledge. 32
  • 35. DEMO  Online face detector demo:  http://demo.pittpatt.com/index.php 35
  • 36. 36
  • 37. DEMO (CONT.)  With my friend “Albert Einstein” 37