Docsity

Bayes Classifier - Introduction to Pattern Recognition - Lecture Slides, Slides of Design and Analysis of Algorithms

Partial preview of the text

Download Bayes Classifier - Introduction to Pattern Recognition - Lecture Slides and more Slides Design and Analysis of Algorithms in PDF only on Docsity!

Recap^ •

We have gone through a general overview of patternclassification. PR NPTEL course – p.1/

Recap^ •

We have gone through a general overview of patternclassification.

  • The Bayes classifier minimizes risk . - If we have complete knowledge of the underlyingprobability distributions, then Bayes classifier isoptimal (for minimizing risk). PR NPTEL course – p.2/

Recap^ •

Another important form for a classifier is h

X

if g

W

X

g is called Discriminant function. PR NPTEL course – p.4/

Recap^ •

Another important form for a classifier is h

X

if g

W

X

g is called Discriminant function.

  • Important special case is linear discriminant functions h

X

sgn

W

T

X

PR NPTEL course – p.5/

Bayes Classifier^ •

In this class we will derive the Bayes classifier for

M

classes under a general loss function.

  • This can actually be looked at as a special case of amore general problem of decision making underuncertainity. PR NPTEL course – p.7/

Bayesian Decision Making^ •

The task: Decision making under uncertainity PR NPTEL course – p.8/

Bayesian Decision Making^ •

The task: Decision making under uncertainity

  • We want to decide on one of finitely many ‘actions’based on some observation. - Our ‘payoff’ or ’cost’ depends on the unknown ‘state of nature’ and the observation gives some (stochastic)information on the ‘state of nature’. - A Loss function gives ‘costs’ for each decision forevery ‘true’ state of nature. - We want a strategy of decision making that minimizes,e.g., expected loss. PR NPTEL course – p.10/

In the context of classifier design

  • Observation is the feature vector. - The ‘state of nature’ is the ‘true’ class label of thefeature vector. - We need to decide on a class label based on theobservation. PR NPTEL course – p.11/

Bayes Classifier^ •

We now consider the Bayes classifier with

M

classes and arbitrary loss function.

C

0

, C

1

, C

M − 1

  • the class labels. y

X

C

0

, C

M − 1

. PR NPTEL course – p.13/

Bayes Classifier^ •

We now consider the Bayes classifier with

M

classes and arbitrary loss function.

C

0

, C

1

, C

M − 1

  • the class labels. y

X

C

0

, C

M − 1

.

  • Let h

X

α 0 , α 1

, α K − 1

. The out put of classifier would be α j ’s. PR NPTEL course – p.14/

  • In general, we may have

M

K

. The classifier out put need not always be a classlabel.

  • For example, we can have

K

M

and α M may denote the decision of ‘rejection’.

  • We take

K

M

unless specified otherwise. PR NPTEL course – p.16/

L

α j

, C

k

  • loss when classifier says α j and ‘true class’ is

C

k

. We assume that loss function is non-negative. - Notation makes it easy to understand arguments ofloss function. PR NPTEL course – p.17/

  • Given a

X

, let

R

α i

X

denote the expected loss when classifier says α i and conditioned on

X

. PR NPTEL course – p.19/

  • Given a

X

, let

R

α i

X

denote the expected loss when classifier says α i and conditioned on

X

. R

α i

X

E

[

L

h

X

, y

X

h

X

α i

X

]

PR NPTEL course – p.20/