Recognition - Unknown - Pattern Recognition and Classification
Recognition - Unknown - Pattern Recognition and Classification
Geoff Dougherty
Pattern Recognition
and Classification
An Introduction
Geoff Dougherty
Applied Physics and Medical Imaging
California State University, Channel Islands
Camarillo, CA, USA
Please note that additional material for this book can be downloaded from
http://extras.springer.com
ISBN 978-1-4614-5322-2 ISBN 978-1-4614-5323-9 (eBook)
DOI 10.1007/978-1-4614-5323-9
Springer New York Heidelberg Dordrecht London
Library of Congress Control Number: 2012949108
v
vi Preface
I would like to thank my colleague Matthew Wiers for many useful conversations
and for helping with several of the Excel files bundled with the book. And thanks to
all my previous students for their feedback on the courses which eventually led
to this book; especially to Brandon Ausmus, Elisabeth Perkins, Michelle Moeller,
Charles Walden, Shawn Richardson, and Ray Alfano.
I am grateful to Chris Coughlin at Springer for his support and encouragement
throughout the process of writing the book and to various anonymous reviewers
who have critiqued the manuscript and trialed it with their classes. Special thanks
go to my wife Hajijah and family (Daniel, Adeline, and Nadia) for their patience
and support, and to my parents, Maud and Harry (who passed away in 2009),
without whom this would never have happened.
vii
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Organization of the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1 The Classification Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.3 Training and Learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.4 Supervised Learning and Algorithm Selection . . . . . . . . . . . . . . 17
2.5 Approaches to Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.6 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.6.1 Classification by Shape . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.6.2 Classification by Size . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.6.3 More Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.6.4 Classification of Letters . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.7 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3 Nonmetric Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.2 Decision Tree Classifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.2.1 Information, Entropy, and Impurity . . . . . . . . . . . . . . . . 29
3.2.2 Information Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.2.3 Decision Tree Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.2.4 Strengths and Weaknesses . . . . . . . . . . . . . . . . . . . . . . . 38
3.3 Rule-Based Classifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.4 Other Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
ix
x Contents
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189