<< Chapter < Page Chapter >> Page >

Minimum complexity penalized function

Recall the basic results of the last lectures: let X and Y denote the input and output spaces respectively. Let X X and Y X be random variables with unknown joint probability distribution P X Y . We would like to use X to “predict” Y . Consider a loss function 0 ( y 1 , y 2 ) 1 , y 1 , y 2 Y . This function is used to measure the accuracy of our prediction. Let F be a collection of candidate functions (models), f : X Y . The expected risk we incur is given by R ( f ) E X Y [ ( f ( X ) , Y ) ] . We have access only to a number of i.i.d. samples, { X i , Y i } i = 1 n . These allow us to compute the empirical risk R ^ n ( f ) 1 n i = 1 n ( f ( X i ) , Y i ) .

Assume in the following that F is countable. Assign a positive number c ( f ) to each f F such that f F 2 - c ( f ) 1 . If we use a prefix code to describe each element of F and define c ( f ) to be the codeword length (in bits) for each f F , the last inequality is automatically satisfied.

We define the minimum complexity penalized estimator as

f ^ n arg min f F R ^ n ( f ) + c ( f ) log 2 + 1 2 log n 2 n .

As we showed previously we have the bound

E [ R ( f ^ n ) ] min f F R ( f ) + c ( f ) log 2 + 1 2 log n 2 n + 1 n .

The performance (risk) of f ^ n is on average better than

R ( f n * ) + c ( f n * ) log 2 + 1 2 log n 2 n + 1 n ,

where

f n * = arg min f F R ( f ) + c ( f ) log 2 + 1 2 log n 2 n .

If it happens that the optimal function, that is

f * = arg min f measurable R ( f ) ,

is close to an f F with a small c ( f ) , then f ^ n will perform almost as well as the optimal function.

Suppose f * F , then

E [ R ( f ^ n ) ] R ( f * ) + c ( f * ) log 2 + 1 2 log n 2 n + 1 n .

Furthermore if c ( f * ) = O ( log n ) then

E [ R ( f ^ n ) ] R ( f * ) + O log n n ,

that is, only within a small O log n n offset of the optimal risk.

In general, we can also bound the excess risk E [ R ( f ^ n ) ] - R * , where R * is the Bayes risk,

R * = inf f measurable R ( f ) .

By subtracting R * (a constant) from both sides of the inequality

E [ R ( f ^ n ) ] min f F R ( f ) + c ( f ) log 2 + 1 2 log n 2 n + 1 n

we obtain

E [ R ( f ^ n ) ] - R * min f F R ( f ) - R * + c ( f ) log 2 + 1 2 log n 2 n + 1 n .

Note that two terms in this upper bound: R ( f ) - R * is a bound on the approximation error of a model f , and remainder is a bound on the estimation error associated with f . Thus, we see that complexity regularization automatically optimizes a balance between approximation and estimationerrors. In other words, complexity regularization is adaptive to the unknown tradeoff between approximation and estimation.

Classification

Consider the particularization of the above to a classification scenario. Let X = [ 0 , 1 ] d , Y = { 0 , 1 } and ( y ^ , y ) 1 { y ^ y } . Then R ( f ) = E X Y [ 1 { f ( X ) Y } ] = P ( f ( X ) Y ) . The Bayes risk is given by

R * = inf f measurable R ( f ) .

As it was observed before, the Bayes classifier ( i.e., a classifier that achieves the Bayes risk) is given by

f * ( x ) = 1 , P ( Y = 1 | X = x ) 1 2 0 , P ( Y = 1 | X = x ) < 1 2 .

This classifier can be expressed in a different way. Consider the set G * = { x : P ( Y = 1 | X = x ) 1 / 2 } . The Bayes classifier can written as f * ( x ) = 1 { x G * } . Therefore the classifier is characterized entirely by the set G * , if X G * then the “best” guess is that Y is one, and vice-versa. The boundary of this set corresponds to the points where the decision is harder.The boundary of G * is called the Bayes Decision Boundary . In [link] (a) this concept is illustrated. If η ( x ) = P ( Y = 1 | X = x ) is a continuous function then the Bayes decision boundary is simply given by { x : P ( Y = 1 | X = x ) = 1 / 2 } . Clearly the structure of the decision boundary provides importantinformation on the difficulty of the problem.

Questions & Answers

what is defense mechanism
Chinaza Reply
what is defense mechanisms
Chinaza
I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Statistical learning theory. OpenStax CNX. Apr 10, 2009 Download for free at http://cnx.org/content/col10532/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Statistical learning theory' conversation and receive update notifications?

Ask