SlideShare una empresa de Scribd logo
1 de 30
Descargar para leer sin conexión
Ch01_Introduction to Pattern Recognition
   (modified from 패턴인식개론/한학용)
Contents

 01_ Philosophical Debates on AI
 02_ Pattern Recognition (PR)
 03_ Features and Patterns
 04_ Components of PR and Design Cycle
 05_ Category of PR and Classifiers
 06_ Performance Evaluation of PR Algorithms
 07_ Approaches of PR and its Application Areas
 08_ Example of PR Applications




                                                   2
01_Philosophical Debates on AI

 Questions
  Is computer merely a calculating machine?
  Can computer think and understand languages like human?




                                                             3
01_Philosophical Debates on AI

 Positive opinions on the possibility of AI




A.M. Turing(1912~1954)                         Imitation Game


 Negative opinions on the possibility of AI




John Searle(1932~   )                   Chinese Room Arguments
                                                                 4
02_Definition of Pattern Recognition

 What is PR?
  An area of AI that deals with the problems to make computable machines
   (Turing Machines) to recognize certain objects




                                 Cognitive
                                 Science

                                      AI


                                      PR




                                                                            5
03_Features and Patterns

 What is feature?
  Discernible aspects, qualities, characteristics that a certain object has


 What is pattern?
  A set of traits or features of individual objects




                                                                               6
03_Features and Patterns

 Easy features and difficult features




 Categories of patterns




                                         7
04_Components of PR and Design Cycle

 Components of PR System and its Process




                                            8
04_ Components of PR and Design Cycle

 Design steps of PR system

  Step 1 : Data gathering
     Most time-consuming tedious process in PR tasks
     Necessary step to ensure stable PR performance
     For stable performance, we need to consider how many samples are needed before
      the gathering.


  Step 2 : Feature selection
     Essential part regarding PR system’s performance
     We need to decide what features to choose through sufficient prior analysis on the
      object patters.


  Step 3 : Model selection
     To decide what approach (model and algorithm) is to be constructed and applied
     Need prior knowledge on the features
     Need to set up parameters for the model according to the approach




                                                                                           9
04_ Components of PR and Design Cycle

 Step 4 : Learning
    Using the feature sets extracted from the collected data and chosen models, the
     learning algorithm generates or fills up the model (or hypothesis, classifier)
    According to the methods, there are supervised learning, unsupervised learning and
     reinforcement learning.


 Step 5 : Recognition
    Given a new feature set, the generated hypothesis decide a class or category that
     the feature set belongs to.




                                                                                          10
05_ Category of PR and Classifiers

 Categories of problems

  Classification
     In classification problem, the system needs to output one label in a set of finite
      number of labels.


  Regression
     Generalized version of classification
     Through regression, the PR system will return a real value score (usually between 0
      and 1)


  Clustering
     The problem of organizing a small number of multiple groups from a certain set
     The output of clustering system is a set of pairs (example and its class).
     The clustering can be processed in an hierarchical manner such as in phylogenetic
      tree.


  Description
     The problem of expressing an object using a set of a prototype or primitive terms

                                                                                            11
05_ Category of PR and Classifiers

 Classifier
     Most classification task in PR is done by classifiers
     Classification is to partitioning a feature space composed of feature vectors into
      decision regions of nominal classes.
     We call the boundaries of the regions as decision boundaries
     Classification of a feature vector x is to decide what decision region the feature
      vector belongs to, and to assign x to the class that represents the region




                                                                                           12
05_ Category of PR and Classifiers

 Classifier can be represented as a set of discriminant functions



 ∀j=i , if 𝑔 𝑖 𝑥 > 𝑔 𝑗 𝑥 , then we decide that the feature vector 𝑥 ∈ class 𝜔 𝑖




                                                                                   13
06_ Performance Evaluation of PR Algorithms

 Confusion Matrix

                          Actual Positive   Actual Negative
    Predicted Positive          TP                FP
   Predicted Negative           FN                TN


                  TP
 Recall rate =
                TP+FN
                TP
 Precision =
              TP+FP
                                TP
 True Positive Rate (TPR) =
                              TP+FN
                                FP
 False Positive Rate (FPR) =
                              FP+TN




                                                              14
06_ Performance Evaluation of PR Algorithms

 Receiver operating characteristic (ROC) Curve




                                                  15
06_ Performance Evaluation of PR Algorithms

 AUROC
   Ares under the region of ROC Curve
   Closer the curve to top-left corner, more accurate the recognition algorithm
   The performance can be evaluated by the amount of AUROC




                                                                                   16
07_ Approaches of PR and its Application Areas

 Approaches of PR
  Template matching
     Oldest and easiest
     First, prepare the template for the object to compare.
     Normalize the pattern to recognize for matching it with the template.
     And calculate similarity value such as cross-correlation or distance to perform the
      recognition
     Most important task is to prepare the most general template that explains all the samples
      in a certain category.
     Fast running time, but weak in variation of features


  Statistical approaches
       Decide the class of unknown pattern bases on decision boundaries of pattern sets.
       Each of the pattern sets represent a certain class.
       The statistical model of the patterns is a probability density function 𝑃 𝑥|𝑐 𝑖 .
       Learning is a process of creating a probability density function and calculating its
        parameters for each class


  Neural networks
     Model the relation of connection and integration of the biological neurons
     Calculate the response process of neural network for input stimulus
     Classify patterns based on the responses
                                                                                                  17
07_ Approaches of PR and its Application Areas

    Knowledge of the patterns is stored as weights that represent the connection
     strength of synapse.
    Learning is performed similar to biological ways, but the learning process is not a
     serial algorithm.
    The learned knowledge is considered as a black box.
    Minimal need for prior knowledge.
    With sufficient number of neurons, theoretically any complicated decision
     boundaries can be constructed, so this approach is very attractive.


 Structural approaches
    Instead of quantitative features, we consider the relationship among the basic
     prototypes what construct the pattern.
    Examples: Character, Fingerprint, Chromosome




                                                                                           18
07_ Approaches of PR and its Application Areas

 Approaches of PR




                                                   19
07_ Approaches of PR and its Application Areas

 Applications of PR
  Character recognition
     Convert a scanned text image into character codes which can be edited in a
      computer
     Mail classification, Handwriting recognition, Check and banknote recognition,
      License plate recognition




  Biological recognition and human behavioral pattern recognition
     Voice recognition, fingerprint recognition, face recognition, DNA mapping, walking
      pattern analysis and classification, utterance habit analysis and classification


  Diagnostic systems
     Car malfunction, medical diagnostics, EEG, ECG signal analysis and classification, X-
      Ray image pattern recognition


                                                                                              20
07_ Approaches of PR and its Application Areas




 Prediction system
    Weather forecasting based on satellite data, earthquake pattern analysis and
     earthquake prediction, stock price prediction, etc.


 Security and military area
    Intrusion detection based on network traffic pattern analysis, security screening
     system, search and attack of terrorist camp and targets using satellite terrain
     image analysis, radar signal classification, Identification Friend or Foe (IFF)




                                                                                         21
07_ Approaches of PR and its Application Areas


Related Areas                 Application Areas
•Adaptive signal processing   •Image
•Machine learning             processing/segmentation
•Artificial Neural networks   •Computer Vision
•Robotics and Vision          •Speech recognition
•Cognitive science            •Automatic target recognition
•Mathematical Statistics      •Optical character recognition
•Nonlinear optimization       •Seismic Analysis
•Exploratory Data analysis    •Man-machine interaction
•Fuzzy and Genetic System     •Bio recognition (fingerprint,
•Detection and Estimation     vein, iris)
Theory                        •Industrial inspection
•Formal language              •Financial forecast
•Structural modeling          •Medical analysis
•Biological cybernetics       •ECG signal analysis
•Computational neuroscience



                                                               22
08_ Example of PR Applications

 Simple English character recognition system
    feature V : # of vertical lines
    feature H : # of horizontal lines
    feature O : # of slopes
    feature C : # of curves


                      Feature
      Character
                      V   H O C
           L          1   1   0 0
           P          1   0   0 1
           O          0   0   0 1
           E          1   3   0 0
           Q          0   0   1 1




                                                23
08_ Example of PR Applications

 Automatic fish classification (Sea Bass or Salmon)
       A: Conveyor belt for fish
       B: Conveyor belt for classified fish
       C : Robot arm for grabbing fish
       D: Machine vision system with CCD camera
       E : Computer that analyze fish image and control the robot arm




                                                                         24
08_ Example of PR Applications

 Automatic fish classification
     Assume that fish is either salmon or sea bass
     Using machine vision system for acquiring new fish image
     Normalize the intensities of new fish image using image processing algorithm
     Segment fish from the background in the image processing process
     Using the prior knowledge that sea bass is bigger than salmon, extract features in
      the image to measure the length of the new fish
     From the training samples of the two fish categories, calculate the distribution of
      the length, and decide the threshold of decision boundary that minimize the
      classification error




                                                                  Accuracy : 60%




                                                                                            25
08_ Example of PR Applications

 Adding features for enhancing recognition rate
    The accuracy should be over 95% for stable pattern recognition system
    We find that average intensity level is a good feature.




                                                                             26
08_ Example of PR Applications

 Enhancing the recognition rate
    We generate 2 dimensional feature vector with length and average intensity.
    Using a simple linear discriminant function, we enhance the recognition rate.




                                                         Accuracy : 95.7%




                                                                                     27
08_ Example of PR Applications

 Cost vs. Classification Rate
    To minimize the cost, we adjust the decision boundary




                                                             28
08_Example of PR Applications

 Generalization problem
    Using neural network, the performance can be enhanced to 99.9975%
    Is this a good result?




                                                                         29
2013-1 Machine Learning Lecture 01 - Pattern Recognition

Más contenido relacionado

La actualidad más candente

Introduction to pattern recognization
Introduction to pattern recognizationIntroduction to pattern recognization
Introduction to pattern recognizationAjharul Abedeen
 
Pattern Recognition
Pattern RecognitionPattern Recognition
Pattern RecognitionMaaz Hasan
 
Artificial intelligence Pattern recognition system
Artificial intelligence Pattern recognition systemArtificial intelligence Pattern recognition system
Artificial intelligence Pattern recognition systemREHMAT ULLAH
 
Pattern Recognition and its Application
Pattern Recognition and its ApplicationPattern Recognition and its Application
Pattern Recognition and its ApplicationSajida Mohammad
 
Pattern Recognition and its Applications
Pattern Recognition and its ApplicationsPattern Recognition and its Applications
Pattern Recognition and its ApplicationsSajida Mohammad
 
Örüntü tanıma - Pattern Recognition
Örüntü tanıma - Pattern RecognitionÖrüntü tanıma - Pattern Recognition
Örüntü tanıma - Pattern RecognitionHassan-k Abdi
 
Automatic handwriting recognition
Automatic handwriting recognitionAutomatic handwriting recognition
Automatic handwriting recognitionBIJIT GHOSH
 
Eick/Alpaydin Introduction
Eick/Alpaydin IntroductionEick/Alpaydin Introduction
Eick/Alpaydin Introductionbutest
 
Handwritten character recognition using artificial neural network
Handwritten character recognition using artificial neural networkHandwritten character recognition using artificial neural network
Handwritten character recognition using artificial neural networkHarshana Madusanka Jayamaha
 
The Role Of Ontology In Modern Expert Systems Dallas 2008
The Role Of Ontology In Modern Expert Systems   Dallas   2008The Role Of Ontology In Modern Expert Systems   Dallas   2008
The Role Of Ontology In Modern Expert Systems Dallas 2008Jason Morris
 
IJCAI Workshop Presentation
IJCAI Workshop PresentationIJCAI Workshop Presentation
IJCAI Workshop PresentationNeal Lathia
 
Handwritten Character Recognition: A Comprehensive Review on Geometrical Anal...
Handwritten Character Recognition: A Comprehensive Review on Geometrical Anal...Handwritten Character Recognition: A Comprehensive Review on Geometrical Anal...
Handwritten Character Recognition: A Comprehensive Review on Geometrical Anal...iosrjce
 
object recognition for robots
object recognition for robotsobject recognition for robots
object recognition for robotss1240148
 
Ai4life aiml-xops-sig
Ai4life aiml-xops-sigAi4life aiml-xops-sig
Ai4life aiml-xops-sigmadhucharis
 

La actualidad más candente (20)

S.c ppt
S.c pptS.c ppt
S.c ppt
 
Introduction to pattern recognization
Introduction to pattern recognizationIntroduction to pattern recognization
Introduction to pattern recognization
 
Pattern Recognition
Pattern RecognitionPattern Recognition
Pattern Recognition
 
Pattern recognition
Pattern recognitionPattern recognition
Pattern recognition
 
Artificial intelligence Pattern recognition system
Artificial intelligence Pattern recognition systemArtificial intelligence Pattern recognition system
Artificial intelligence Pattern recognition system
 
Pattern Recognition and its Application
Pattern Recognition and its ApplicationPattern Recognition and its Application
Pattern Recognition and its Application
 
Pattern recognition
Pattern recognitionPattern recognition
Pattern recognition
 
Pattern Recognition and its Applications
Pattern Recognition and its ApplicationsPattern Recognition and its Applications
Pattern Recognition and its Applications
 
Pattern recognition
Pattern recognitionPattern recognition
Pattern recognition
 
Pattern recognition
Pattern recognitionPattern recognition
Pattern recognition
 
Örüntü tanıma - Pattern Recognition
Örüntü tanıma - Pattern RecognitionÖrüntü tanıma - Pattern Recognition
Örüntü tanıma - Pattern Recognition
 
Pattern recognition
Pattern recognitionPattern recognition
Pattern recognition
 
Automatic handwriting recognition
Automatic handwriting recognitionAutomatic handwriting recognition
Automatic handwriting recognition
 
Eick/Alpaydin Introduction
Eick/Alpaydin IntroductionEick/Alpaydin Introduction
Eick/Alpaydin Introduction
 
Handwritten character recognition using artificial neural network
Handwritten character recognition using artificial neural networkHandwritten character recognition using artificial neural network
Handwritten character recognition using artificial neural network
 
The Role Of Ontology In Modern Expert Systems Dallas 2008
The Role Of Ontology In Modern Expert Systems   Dallas   2008The Role Of Ontology In Modern Expert Systems   Dallas   2008
The Role Of Ontology In Modern Expert Systems Dallas 2008
 
IJCAI Workshop Presentation
IJCAI Workshop PresentationIJCAI Workshop Presentation
IJCAI Workshop Presentation
 
Handwritten Character Recognition: A Comprehensive Review on Geometrical Anal...
Handwritten Character Recognition: A Comprehensive Review on Geometrical Anal...Handwritten Character Recognition: A Comprehensive Review on Geometrical Anal...
Handwritten Character Recognition: A Comprehensive Review on Geometrical Anal...
 
object recognition for robots
object recognition for robotsobject recognition for robots
object recognition for robots
 
Ai4life aiml-xops-sig
Ai4life aiml-xops-sigAi4life aiml-xops-sig
Ai4life aiml-xops-sig
 

Destacado

N korea65anniv-10-10-10
N korea65anniv-10-10-10N korea65anniv-10-10-10
N korea65anniv-10-10-10psjlew
 
張家界之旅
張家界之旅張家界之旅
張家界之旅psjlew
 
ザックリとDocker
ザックリとDockerザックリとDocker
ザックリとDockerionis111
 
Presentation Document Manager
Presentation Document ManagerPresentation Document Manager
Presentation Document Managerkalliriza
 
U40@nagoya3
U40@nagoya3U40@nagoya3
U40@nagoya3I tomoko
 
High definition performance fitness2
High definition performance fitness2High definition performance fitness2
High definition performance fitness2l g
 
Secondary academic information session
Secondary academic information sessionSecondary academic information session
Secondary academic information sessionEd
 
结婚速成手册
结婚速成手册结婚速成手册
结婚速成手册worldhema
 
Power of one full version 2007 1
Power of one full version 2007 1Power of one full version 2007 1
Power of one full version 2007 1Malcolm Levene
 
G4SI_presentation_02_11_12
G4SI_presentation_02_11_12G4SI_presentation_02_11_12
G4SI_presentation_02_11_12jmcparkin
 
4th weekly news economic times
4th weekly news economic times4th weekly news economic times
4th weekly news economic timesnitinmbacats
 
北京故宮台北故宮鎮館之寶
北京故宮台北故宮鎮館之寶北京故宮台北故宮鎮館之寶
北京故宮台北故宮鎮館之寶psjlew
 
Sobre os sete trovões
Sobre os sete trovõesSobre os sete trovões
Sobre os sete trovõeswelingtonjh
 
Discover the discovery
Discover the discoveryDiscover the discovery
Discover the discoverypsjlew
 
U40@nagoya2
U40@nagoya2U40@nagoya2
U40@nagoya2I tomoko
 

Destacado (20)

Pattern Recognition
Pattern RecognitionPattern Recognition
Pattern Recognition
 
Lektion 13 april
Lektion 13 aprilLektion 13 april
Lektion 13 april
 
N korea65anniv-10-10-10
N korea65anniv-10-10-10N korea65anniv-10-10-10
N korea65anniv-10-10-10
 
張家界之旅
張家界之旅張家界之旅
張家界之旅
 
ザックリとDocker
ザックリとDockerザックリとDocker
ザックリとDocker
 
Presentation Document Manager
Presentation Document ManagerPresentation Document Manager
Presentation Document Manager
 
零世界
零世界零世界
零世界
 
U40@nagoya3
U40@nagoya3U40@nagoya3
U40@nagoya3
 
High definition performance fitness2
High definition performance fitness2High definition performance fitness2
High definition performance fitness2
 
Secondary academic information session
Secondary academic information sessionSecondary academic information session
Secondary academic information session
 
London!
London!London!
London!
 
结婚速成手册
结婚速成手册结婚速成手册
结婚速成手册
 
Power of one full version 2007 1
Power of one full version 2007 1Power of one full version 2007 1
Power of one full version 2007 1
 
About miracles
About miraclesAbout miracles
About miracles
 
G4SI_presentation_02_11_12
G4SI_presentation_02_11_12G4SI_presentation_02_11_12
G4SI_presentation_02_11_12
 
4th weekly news economic times
4th weekly news economic times4th weekly news economic times
4th weekly news economic times
 
北京故宮台北故宮鎮館之寶
北京故宮台北故宮鎮館之寶北京故宮台北故宮鎮館之寶
北京故宮台北故宮鎮館之寶
 
Sobre os sete trovões
Sobre os sete trovõesSobre os sete trovões
Sobre os sete trovões
 
Discover the discovery
Discover the discoveryDiscover the discovery
Discover the discovery
 
U40@nagoya2
U40@nagoya2U40@nagoya2
U40@nagoya2
 

Similar a 2013-1 Machine Learning Lecture 01 - Pattern Recognition

AI and ML Skills for the Testing World Tutorial
AI and ML Skills for the Testing World TutorialAI and ML Skills for the Testing World Tutorial
AI and ML Skills for the Testing World TutorialTariq King
 
Artificial Intelligence Certification
Artificial Intelligence CertificationArtificial Intelligence Certification
Artificial Intelligence Certificationkartikaryan4
 
Arabic Handwritten Script Recognition Towards Generalization: A Survey
Arabic Handwritten Script Recognition Towards Generalization: A Survey Arabic Handwritten Script Recognition Towards Generalization: A Survey
Arabic Handwritten Script Recognition Towards Generalization: A Survey Randa Elanwar
 
Design principle of pattern recognition system and STATISTICAL PATTERN RECOGN...
Design principle of pattern recognition system and STATISTICAL PATTERN RECOGN...Design principle of pattern recognition system and STATISTICAL PATTERN RECOGN...
Design principle of pattern recognition system and STATISTICAL PATTERN RECOGN...TEJVEER SINGH
 
How to choose the right machine learning algorithm for your project (1).pdf
How to choose the right machine learning algorithm for your project (1).pdfHow to choose the right machine learning algorithm for your project (1).pdf
How to choose the right machine learning algorithm for your project (1).pdfSurya250081
 
How to choose the right machine learning algorithm for your project
How to choose the right machine learning algorithm for your projectHow to choose the right machine learning algorithm for your project
How to choose the right machine learning algorithm for your projectFathimaZajelLiyakath
 
Top 40 Data Science Interview Questions and Answers 2022.pdf
Top 40 Data Science Interview Questions and Answers 2022.pdfTop 40 Data Science Interview Questions and Answers 2022.pdf
Top 40 Data Science Interview Questions and Answers 2022.pdfSuraj Kumar
 
Imtiaz khan data_science_analytics
Imtiaz khan data_science_analyticsImtiaz khan data_science_analytics
Imtiaz khan data_science_analyticsimtiaz khan
 
Introduction to Machine Learning with SciKit-Learn
Introduction to Machine Learning with SciKit-LearnIntroduction to Machine Learning with SciKit-Learn
Introduction to Machine Learning with SciKit-LearnBenjamin Bengfort
 
Reinforcement Learning, Application and Q-Learning
Reinforcement Learning, Application and Q-LearningReinforcement Learning, Application and Q-Learning
Reinforcement Learning, Application and Q-LearningAbdullah al Mamun
 
Screening of Mental Health in Adolescents using ML.pptx
Screening of Mental Health in Adolescents using ML.pptxScreening of Mental Health in Adolescents using ML.pptx
Screening of Mental Health in Adolescents using ML.pptxNitishChoudhary23
 
Supervised learning
Supervised learningSupervised learning
Supervised learningJohnson Ubah
 
How to choose the right machine learning algorithm for your project
How to choose the right machine learning algorithm for your projectHow to choose the right machine learning algorithm for your project
How to choose the right machine learning algorithm for your projectFathimaZajelLiyakath
 
Responsible AI in Industry: Practical Challenges and Lessons Learned
Responsible AI in Industry: Practical Challenges and Lessons LearnedResponsible AI in Industry: Practical Challenges and Lessons Learned
Responsible AI in Industry: Practical Challenges and Lessons LearnedKrishnaram Kenthapadi
 
MachineLlearning introduction
MachineLlearning introductionMachineLlearning introduction
MachineLlearning introductionThe IOT Academy
 

Similar a 2013-1 Machine Learning Lecture 01 - Pattern Recognition (20)

AI and ML Skills for the Testing World Tutorial
AI and ML Skills for the Testing World TutorialAI and ML Skills for the Testing World Tutorial
AI and ML Skills for the Testing World Tutorial
 
Ai
AiAi
Ai
 
Ai
AiAi
Ai
 
Ai
AiAi
Ai
 
Artificial Intelligence Certification
Artificial Intelligence CertificationArtificial Intelligence Certification
Artificial Intelligence Certification
 
Ai
AiAi
Ai
 
Arabic Handwritten Script Recognition Towards Generalization: A Survey
Arabic Handwritten Script Recognition Towards Generalization: A Survey Arabic Handwritten Script Recognition Towards Generalization: A Survey
Arabic Handwritten Script Recognition Towards Generalization: A Survey
 
Design principle of pattern recognition system and STATISTICAL PATTERN RECOGN...
Design principle of pattern recognition system and STATISTICAL PATTERN RECOGN...Design principle of pattern recognition system and STATISTICAL PATTERN RECOGN...
Design principle of pattern recognition system and STATISTICAL PATTERN RECOGN...
 
How to choose the right machine learning algorithm for your project (1).pdf
How to choose the right machine learning algorithm for your project (1).pdfHow to choose the right machine learning algorithm for your project (1).pdf
How to choose the right machine learning algorithm for your project (1).pdf
 
How to choose the right machine learning algorithm for your project
How to choose the right machine learning algorithm for your projectHow to choose the right machine learning algorithm for your project
How to choose the right machine learning algorithm for your project
 
Top 40 Data Science Interview Questions and Answers 2022.pdf
Top 40 Data Science Interview Questions and Answers 2022.pdfTop 40 Data Science Interview Questions and Answers 2022.pdf
Top 40 Data Science Interview Questions and Answers 2022.pdf
 
Imtiaz khan data_science_analytics
Imtiaz khan data_science_analyticsImtiaz khan data_science_analytics
Imtiaz khan data_science_analytics
 
Introduction to Machine Learning with SciKit-Learn
Introduction to Machine Learning with SciKit-LearnIntroduction to Machine Learning with SciKit-Learn
Introduction to Machine Learning with SciKit-Learn
 
Reinforcement Learning, Application and Q-Learning
Reinforcement Learning, Application and Q-LearningReinforcement Learning, Application and Q-Learning
Reinforcement Learning, Application and Q-Learning
 
Screening of Mental Health in Adolescents using ML.pptx
Screening of Mental Health in Adolescents using ML.pptxScreening of Mental Health in Adolescents using ML.pptx
Screening of Mental Health in Adolescents using ML.pptx
 
Supervised learning
Supervised learningSupervised learning
Supervised learning
 
How to choose the right machine learning algorithm for your project
How to choose the right machine learning algorithm for your projectHow to choose the right machine learning algorithm for your project
How to choose the right machine learning algorithm for your project
 
Responsible AI in Industry: Practical Challenges and Lessons Learned
Responsible AI in Industry: Practical Challenges and Lessons LearnedResponsible AI in Industry: Practical Challenges and Lessons Learned
Responsible AI in Industry: Practical Challenges and Lessons Learned
 
Introduction to ml
Introduction to mlIntroduction to ml
Introduction to ml
 
MachineLlearning introduction
MachineLlearning introductionMachineLlearning introduction
MachineLlearning introduction
 

Más de Dongseo University

Lecture_NaturalPolicyGradientsTRPOPPO.pdf
Lecture_NaturalPolicyGradientsTRPOPPO.pdfLecture_NaturalPolicyGradientsTRPOPPO.pdf
Lecture_NaturalPolicyGradientsTRPOPPO.pdfDongseo University
 
Evolutionary Computation Lecture notes03
Evolutionary Computation Lecture notes03Evolutionary Computation Lecture notes03
Evolutionary Computation Lecture notes03Dongseo University
 
Evolutionary Computation Lecture notes02
Evolutionary Computation Lecture notes02Evolutionary Computation Lecture notes02
Evolutionary Computation Lecture notes02Dongseo University
 
Evolutionary Computation Lecture notes01
Evolutionary Computation Lecture notes01Evolutionary Computation Lecture notes01
Evolutionary Computation Lecture notes01Dongseo University
 
Average Linear Selection Algorithm
Average Linear Selection AlgorithmAverage Linear Selection Algorithm
Average Linear Selection AlgorithmDongseo University
 
Lower Bound of Comparison Sort
Lower Bound of Comparison SortLower Bound of Comparison Sort
Lower Bound of Comparison SortDongseo University
 
Running Time of Building Binary Heap using Array
Running Time of Building Binary Heap using ArrayRunning Time of Building Binary Heap using Array
Running Time of Building Binary Heap using ArrayDongseo University
 
Proof By Math Induction Example
Proof By Math Induction ExampleProof By Math Induction Example
Proof By Math Induction ExampleDongseo University
 
Estimating probability distributions
Estimating probability distributionsEstimating probability distributions
Estimating probability distributionsDongseo University
 
2018-2 Machine Learning (Wasserstein GAN and BEGAN)
2018-2 Machine Learning (Wasserstein GAN and BEGAN)2018-2 Machine Learning (Wasserstein GAN and BEGAN)
2018-2 Machine Learning (Wasserstein GAN and BEGAN)Dongseo University
 
2018-2 Machine Learning (Linear regression, Logistic regression)
2018-2 Machine Learning (Linear regression, Logistic regression)2018-2 Machine Learning (Linear regression, Logistic regression)
2018-2 Machine Learning (Linear regression, Logistic regression)Dongseo University
 
2017-2 ML W9 Reinforcement Learning #5
2017-2 ML W9 Reinforcement Learning #52017-2 ML W9 Reinforcement Learning #5
2017-2 ML W9 Reinforcement Learning #5Dongseo University
 

Más de Dongseo University (20)

Lecture_NaturalPolicyGradientsTRPOPPO.pdf
Lecture_NaturalPolicyGradientsTRPOPPO.pdfLecture_NaturalPolicyGradientsTRPOPPO.pdf
Lecture_NaturalPolicyGradientsTRPOPPO.pdf
 
Evolutionary Computation Lecture notes03
Evolutionary Computation Lecture notes03Evolutionary Computation Lecture notes03
Evolutionary Computation Lecture notes03
 
Evolutionary Computation Lecture notes02
Evolutionary Computation Lecture notes02Evolutionary Computation Lecture notes02
Evolutionary Computation Lecture notes02
 
Evolutionary Computation Lecture notes01
Evolutionary Computation Lecture notes01Evolutionary Computation Lecture notes01
Evolutionary Computation Lecture notes01
 
Markov Chain Monte Carlo
Markov Chain Monte CarloMarkov Chain Monte Carlo
Markov Chain Monte Carlo
 
Simplex Lecture Notes
Simplex Lecture NotesSimplex Lecture Notes
Simplex Lecture Notes
 
Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement Learning
 
Median of Medians
Median of MediansMedian of Medians
Median of Medians
 
Average Linear Selection Algorithm
Average Linear Selection AlgorithmAverage Linear Selection Algorithm
Average Linear Selection Algorithm
 
Lower Bound of Comparison Sort
Lower Bound of Comparison SortLower Bound of Comparison Sort
Lower Bound of Comparison Sort
 
Running Time of Building Binary Heap using Array
Running Time of Building Binary Heap using ArrayRunning Time of Building Binary Heap using Array
Running Time of Building Binary Heap using Array
 
Running Time of MergeSort
Running Time of MergeSortRunning Time of MergeSort
Running Time of MergeSort
 
Binary Trees
Binary TreesBinary Trees
Binary Trees
 
Proof By Math Induction Example
Proof By Math Induction ExampleProof By Math Induction Example
Proof By Math Induction Example
 
TRPO and PPO notes
TRPO and PPO notesTRPO and PPO notes
TRPO and PPO notes
 
Estimating probability distributions
Estimating probability distributionsEstimating probability distributions
Estimating probability distributions
 
2018-2 Machine Learning (Wasserstein GAN and BEGAN)
2018-2 Machine Learning (Wasserstein GAN and BEGAN)2018-2 Machine Learning (Wasserstein GAN and BEGAN)
2018-2 Machine Learning (Wasserstein GAN and BEGAN)
 
2018-2 Machine Learning (Linear regression, Logistic regression)
2018-2 Machine Learning (Linear regression, Logistic regression)2018-2 Machine Learning (Linear regression, Logistic regression)
2018-2 Machine Learning (Linear regression, Logistic regression)
 
2017-2 ML W11 GAN #1
2017-2 ML W11 GAN #12017-2 ML W11 GAN #1
2017-2 ML W11 GAN #1
 
2017-2 ML W9 Reinforcement Learning #5
2017-2 ML W9 Reinforcement Learning #52017-2 ML W9 Reinforcement Learning #5
2017-2 ML W9 Reinforcement Learning #5
 

Último

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 

Último (20)

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 

2013-1 Machine Learning Lecture 01 - Pattern Recognition

  • 1. Ch01_Introduction to Pattern Recognition (modified from 패턴인식개론/한학용)
  • 2. Contents  01_ Philosophical Debates on AI  02_ Pattern Recognition (PR)  03_ Features and Patterns  04_ Components of PR and Design Cycle  05_ Category of PR and Classifiers  06_ Performance Evaluation of PR Algorithms  07_ Approaches of PR and its Application Areas  08_ Example of PR Applications 2
  • 3. 01_Philosophical Debates on AI  Questions  Is computer merely a calculating machine?  Can computer think and understand languages like human? 3
  • 4. 01_Philosophical Debates on AI  Positive opinions on the possibility of AI A.M. Turing(1912~1954) Imitation Game  Negative opinions on the possibility of AI John Searle(1932~ ) Chinese Room Arguments 4
  • 5. 02_Definition of Pattern Recognition  What is PR?  An area of AI that deals with the problems to make computable machines (Turing Machines) to recognize certain objects Cognitive Science AI PR 5
  • 6. 03_Features and Patterns  What is feature?  Discernible aspects, qualities, characteristics that a certain object has  What is pattern?  A set of traits or features of individual objects 6
  • 7. 03_Features and Patterns  Easy features and difficult features  Categories of patterns 7
  • 8. 04_Components of PR and Design Cycle  Components of PR System and its Process 8
  • 9. 04_ Components of PR and Design Cycle  Design steps of PR system  Step 1 : Data gathering  Most time-consuming tedious process in PR tasks  Necessary step to ensure stable PR performance  For stable performance, we need to consider how many samples are needed before the gathering.  Step 2 : Feature selection  Essential part regarding PR system’s performance  We need to decide what features to choose through sufficient prior analysis on the object patters.  Step 3 : Model selection  To decide what approach (model and algorithm) is to be constructed and applied  Need prior knowledge on the features  Need to set up parameters for the model according to the approach 9
  • 10. 04_ Components of PR and Design Cycle  Step 4 : Learning  Using the feature sets extracted from the collected data and chosen models, the learning algorithm generates or fills up the model (or hypothesis, classifier)  According to the methods, there are supervised learning, unsupervised learning and reinforcement learning.  Step 5 : Recognition  Given a new feature set, the generated hypothesis decide a class or category that the feature set belongs to. 10
  • 11. 05_ Category of PR and Classifiers  Categories of problems  Classification  In classification problem, the system needs to output one label in a set of finite number of labels.  Regression  Generalized version of classification  Through regression, the PR system will return a real value score (usually between 0 and 1)  Clustering  The problem of organizing a small number of multiple groups from a certain set  The output of clustering system is a set of pairs (example and its class).  The clustering can be processed in an hierarchical manner such as in phylogenetic tree.  Description  The problem of expressing an object using a set of a prototype or primitive terms 11
  • 12. 05_ Category of PR and Classifiers  Classifier  Most classification task in PR is done by classifiers  Classification is to partitioning a feature space composed of feature vectors into decision regions of nominal classes.  We call the boundaries of the regions as decision boundaries  Classification of a feature vector x is to decide what decision region the feature vector belongs to, and to assign x to the class that represents the region 12
  • 13. 05_ Category of PR and Classifiers  Classifier can be represented as a set of discriminant functions  ∀j=i , if 𝑔 𝑖 𝑥 > 𝑔 𝑗 𝑥 , then we decide that the feature vector 𝑥 ∈ class 𝜔 𝑖 13
  • 14. 06_ Performance Evaluation of PR Algorithms  Confusion Matrix Actual Positive Actual Negative Predicted Positive TP FP Predicted Negative FN TN TP  Recall rate = TP+FN TP  Precision = TP+FP TP  True Positive Rate (TPR) = TP+FN FP  False Positive Rate (FPR) = FP+TN 14
  • 15. 06_ Performance Evaluation of PR Algorithms  Receiver operating characteristic (ROC) Curve 15
  • 16. 06_ Performance Evaluation of PR Algorithms  AUROC  Ares under the region of ROC Curve  Closer the curve to top-left corner, more accurate the recognition algorithm  The performance can be evaluated by the amount of AUROC 16
  • 17. 07_ Approaches of PR and its Application Areas  Approaches of PR  Template matching  Oldest and easiest  First, prepare the template for the object to compare.  Normalize the pattern to recognize for matching it with the template.  And calculate similarity value such as cross-correlation or distance to perform the recognition  Most important task is to prepare the most general template that explains all the samples in a certain category.  Fast running time, but weak in variation of features  Statistical approaches  Decide the class of unknown pattern bases on decision boundaries of pattern sets.  Each of the pattern sets represent a certain class.  The statistical model of the patterns is a probability density function 𝑃 𝑥|𝑐 𝑖 .  Learning is a process of creating a probability density function and calculating its parameters for each class  Neural networks  Model the relation of connection and integration of the biological neurons  Calculate the response process of neural network for input stimulus  Classify patterns based on the responses 17
  • 18. 07_ Approaches of PR and its Application Areas  Knowledge of the patterns is stored as weights that represent the connection strength of synapse.  Learning is performed similar to biological ways, but the learning process is not a serial algorithm.  The learned knowledge is considered as a black box.  Minimal need for prior knowledge.  With sufficient number of neurons, theoretically any complicated decision boundaries can be constructed, so this approach is very attractive.  Structural approaches  Instead of quantitative features, we consider the relationship among the basic prototypes what construct the pattern.  Examples: Character, Fingerprint, Chromosome 18
  • 19. 07_ Approaches of PR and its Application Areas  Approaches of PR 19
  • 20. 07_ Approaches of PR and its Application Areas  Applications of PR  Character recognition  Convert a scanned text image into character codes which can be edited in a computer  Mail classification, Handwriting recognition, Check and banknote recognition, License plate recognition  Biological recognition and human behavioral pattern recognition  Voice recognition, fingerprint recognition, face recognition, DNA mapping, walking pattern analysis and classification, utterance habit analysis and classification  Diagnostic systems  Car malfunction, medical diagnostics, EEG, ECG signal analysis and classification, X- Ray image pattern recognition 20
  • 21. 07_ Approaches of PR and its Application Areas  Prediction system  Weather forecasting based on satellite data, earthquake pattern analysis and earthquake prediction, stock price prediction, etc.  Security and military area  Intrusion detection based on network traffic pattern analysis, security screening system, search and attack of terrorist camp and targets using satellite terrain image analysis, radar signal classification, Identification Friend or Foe (IFF) 21
  • 22. 07_ Approaches of PR and its Application Areas Related Areas Application Areas •Adaptive signal processing •Image •Machine learning processing/segmentation •Artificial Neural networks •Computer Vision •Robotics and Vision •Speech recognition •Cognitive science •Automatic target recognition •Mathematical Statistics •Optical character recognition •Nonlinear optimization •Seismic Analysis •Exploratory Data analysis •Man-machine interaction •Fuzzy and Genetic System •Bio recognition (fingerprint, •Detection and Estimation vein, iris) Theory •Industrial inspection •Formal language •Financial forecast •Structural modeling •Medical analysis •Biological cybernetics •ECG signal analysis •Computational neuroscience 22
  • 23. 08_ Example of PR Applications  Simple English character recognition system  feature V : # of vertical lines  feature H : # of horizontal lines  feature O : # of slopes  feature C : # of curves Feature Character V H O C L 1 1 0 0 P 1 0 0 1 O 0 0 0 1 E 1 3 0 0 Q 0 0 1 1 23
  • 24. 08_ Example of PR Applications  Automatic fish classification (Sea Bass or Salmon)  A: Conveyor belt for fish  B: Conveyor belt for classified fish  C : Robot arm for grabbing fish  D: Machine vision system with CCD camera  E : Computer that analyze fish image and control the robot arm 24
  • 25. 08_ Example of PR Applications  Automatic fish classification  Assume that fish is either salmon or sea bass  Using machine vision system for acquiring new fish image  Normalize the intensities of new fish image using image processing algorithm  Segment fish from the background in the image processing process  Using the prior knowledge that sea bass is bigger than salmon, extract features in the image to measure the length of the new fish  From the training samples of the two fish categories, calculate the distribution of the length, and decide the threshold of decision boundary that minimize the classification error Accuracy : 60% 25
  • 26. 08_ Example of PR Applications  Adding features for enhancing recognition rate  The accuracy should be over 95% for stable pattern recognition system  We find that average intensity level is a good feature. 26
  • 27. 08_ Example of PR Applications  Enhancing the recognition rate  We generate 2 dimensional feature vector with length and average intensity.  Using a simple linear discriminant function, we enhance the recognition rate. Accuracy : 95.7% 27
  • 28. 08_ Example of PR Applications  Cost vs. Classification Rate  To minimize the cost, we adjust the decision boundary 28
  • 29. 08_Example of PR Applications  Generalization problem  Using neural network, the performance can be enhanced to 99.9975%  Is this a good result? 29