introduction to pattern recognition - cedar.buffalo.edusrihari/cse555/chap1.part1.pdf · cse 555:...

17
CSE 555: Sargur Srihari 1 Introduction to Pattern Recognition Sargur N. Srihari [email protected] Dept. of Computer Science & Engineering State University of New York at Buffalo

Upload: doankhanh

Post on 08-Jul-2018

253 views

Category:

Documents


0 download

TRANSCRIPT

CSE 555: Sargur Srihari 1

Introduction to Pattern Recognition

Sargur N. [email protected]

Dept. of Computer Science & EngineeringState University of New York at Buffalo

CSE 555: Sargur Srihari 2

What is a Pattern?

“A pattern is the opposite of chaos; it is an entity vaguely defined, that could be given a name.”

A pattern is an abstract object, such as a set of measurements describing a physical object.

CSE 555: Sargur Srihari 3

Examples of Patterns

Handwritten Characters

Postnet Bar Code

Fingerprint

UPC BarCode

Animal Footprint

Data Trend

CSE 555: Sargur Srihari 4

PR Definitions

• Theory, Algorithms, Systems to put Patterns

into Categories

• Classification of Noisy or Complex Data

• Relate Perceived Pattern to Previously

Perceived Patterns

CSE 555: Sargur Srihari 5

Example Problem:Handwritten Digit Recognition

• Handcrafted rules will result in large no of rules and exceptions

• Better to have a machine that learns from a large training setWide variability of same numeral

CSE 555: Sargur Srihari 6

Role of Machine Learning

• Principled way of building high performance information processing systems

• ML vs PR– ML has origins in Computer Science– PR has origins in Engineering– They are different facets of the same field

• Language Related Technologies– IR, NLP, DAR, ASR– Humans perform them well– Difficult to specify algorithmically

CSE 555: Sargur Srihari 7

Machine Learning

• Programming computers to use example data or past experience

• Well-Posed Learning Problems– A computer program is said to learn from

experience E – with respect to class of tasks T and performance

measure P, – if its performance at tasks T, as measured by P,

improves with experience E.

CSE 555: Sargur Srihari 8

Classification Process(Decision as opposed to Inference)

CSE 555: Sargur Srihari 9

Pattern Recognition Applications

• SENSORY• Vision

– Face/Handwriting/Hand

• Speech – Speaker/Speech

• Touch– Haptics

• Olfaction– Apple Ripe?

• TEXTUAL DATA• Text Categorization• Information Retrieval• Data Mining• Intrusion Detection• Genome Sequence

Matching

CSE 555: Sargur Srihari 10

Pattern Recognition Processes• Objects to be classified are sensed by

transducer (camera)• Signals are preprocessed• Features are extracted• Classification is emitted

CSE 555: Sargur Srihari 11

Generalization

CSE 555: Sargur Srihari 12

Pattern Recognition System

CSE 555: Sargur Srihari 13

Design Cycle

CSE 555: Sargur Srihari 14

Document Recognition Applications

• Optical Character Recognition(OCR)

• Handwriting Recognition

• Writer Recognition

CSE 555: Sargur Srihari 15

Writer Recognition

Preprocessing

Features

Similarity

CSE 555: Sargur Srihari 16

Address Interpretation Problem

Pattern recognition tasks– object recognition (address vs non-address)– two-class discrimination (mp vs hw)– few class recognition (digits)– holistic vs analytical (words)– contextual-hmm(zip codes, words)– Many classes, but cataloged (postal directory)

Contextual Information

• Country/State/City• ZIP Code• Street Name• Primary No (Street/PO

Box )• Secondary No (Apt)• Firm/Personal Name

CSE 555: Sargur Srihari 17