Boosting MIT Course Notes Cynthia Rudin
|
|
- Suzan Shaw
- 5 years ago
- Views:
Transcription
1 Credi: Freund, Schapire, Daubechies Boosing MIT Course Noes Cynhia Rudin Boosing sared wih a quesion of Michael Kearns, abou wheher a weak learning algorih can be ade ino a srong learning algorih. Suppose a learning algorih is only guaraneed, wih high probabiliy, o be slighly ore accurae han rando guessing. Is i possible, despie how weak his algorih is, o use i o creae a classifier whose error rae is arbirarily close o 0? (There are soe oher consrains ha ade he proble harder, regarding how uch calculaion is allowed.) The answer o his quesion was given by Rob Schapire, wih an algorih ha could do i, bu wasn very pracical. Rob and Yoav Freund developed soe ore algorihs, e.g., Boos-by-Majoriy, and hen developed AdaBoos. Given:. exaples S = {x i, y i }, where y i {, }. easy access o weak learning algorih A, producing weak classifiers h H, h : X {, }. 3. ɛ > 0. Goal: Produce a new classifier H : X {, } wih error ɛ. Noe: H is no required o be in H. Wha we igh do is ask he weak learning algorih A o produce a collecion of weak classifiers and figure ou how o cobine he. Bu running A wih he sae inpu uliple ies won be useful, for insance, if A is deerinisic, i will always produce he sae weak classifiers over and over again. So we need o odify A s inpu o give new inforaion each ie we ask for a weak classifier. AdaBoos does his by producing a discree probabiliy disribuion over he exaples, using ha as inpu o he weak learning algorih and changing i a each round.
2 Ouline of a generic boosing algorih: for =...T consruc d, where d is a discree probabiliy disribuion over indices {...}. run A on d, producing h () : X {, }. calculae ɛ = error d (h () ) = P r i d [h () (xi) = y i ] =: γ, where by he weak learning assupion, γ > γ W LA. (Of course, A ries o iniize he error hrough he choice of h ().) end oupu H How do we design he d s? How do we creae H? Le s see wha AdaBoos does. AdaBoos (Freund and Schapire 98) is one of he op 0 algorihs in daa ining, also boosed decision rees raed # in Caruana and Niculescu-Mizil s 006 epirical survey. The idea is ha a each round, we increase he weigh on he exaples ha are harder o classify - hose are he ones ha have been previously isclassified a previous ieraes. So he weighs of an exaple go up and down, depending on how easy he exaple was o classify. The easy exaples can evenually ge iny weighs and he hard exaples ge all he weigh. In our noaion, d,i is he weigh of he probabiliy disribuion on exaple i. d is called he weigh vecor. d,i = for all i { d,i e α if y i = h () (x i ) (saller weighs for easy exaples) d +,i = Z e α if y i = h () (x i ) (larger weighs for hard exaples) where Z is a noralizaion consan for he discree disribuion ha ensures d +,i = d,i = e y iα h () (x i ) Z i
3 Tha s how AdaBoos s weighs are defined. I s an exponenial weighing schee, where he easy exaples are down-weighed and he hard exaples are upweighed. H is a linear cobinaion of weak classifiers: ( ) T H(x) = sign α h () (x). = I s a weighed voe, where α is he coefficien assigned o h (). Here, α is direcly relaed o how well he weak classifier h () perfored on he weighed raining se: ( ) ɛ α = ln. () ɛ where ɛ = P i d [h () (x i ) = y i ] = d,i [h() (x i )=y i ] () AdaBoos sands for Adapive Boosing. I doesn depend on he weak learning algorih s assupion, γ W LA, i adaps o he weak learning algorih. Deo Try o reeber hese hings abou he noaion: d are he weighs on he exaples, and α are he coefficiens for he linear cobinaion ha is used o ake predicions. These in soe sense are boh weighs, so i s kind of easy o ge he confused. i Saisical View of AdaBoos I going o give he saisical view of AdaBoos, which is ha i s a coordinae descen algorih. Coordinae descen is jus like gradien descen, excep ha you can ove along he gradien, you have o choose jus one coordinae a a ie o ove along. 3
4 .5 5 x -6 x y+5 y = 0 y x AdaBoos was designed by Freund and Schapire, bu hey weren he ones who cae up wih he saisical view of boosing, i was 5 differen groups siulaneously (Breian, 997; Friedan e al., 000; Räsch e al., 00; Duffy and Helbold, 999; Mason e al., 000). Sar again wih {(x i, yi)} and weak learning algorih A ha can produce weak classifiers {h j } n j=, h j : X {, }. Here n can be very large or even infinie. Or, h j could be very siple and produce he j h coordinae when x i is (j) a binary vecor, so h j (x i ) = x i. Consider he isclassificaion error: Miscl. error = [yi f(x i ) 0] which is upper bounded by he exponenial loss: e yi f(x i ). Choose f o be soe linear cobinaion of weak classifiers, Iage by MIT OpenCourseWare. f(x) = n j= λ j h j (x). We re going o end up iniizing he exponenial loss wih respec o he λ j s. 4
5 The noaion is going o ge coplicaed fro here on in, so ry o reeber wha is wha! Define an n arix M so ha M ij = y i h j (x i ). So arix M encodes all of he raining exaples and he whole weak learning algorih. In oher words, M conains all he inpus o AdaBoos. The ij h enry in he arix is whenever weak classifier j correcly classifies exaple i. (Noe: we igh never wrie ou he whole arix M in pracice!) Then Then he exponenial loss is: y i f(x i ) = λ j y i h j (x i ) = λ j M ij = (Mλ) i. j j R rain (λ) = e y if(x i ) = e (Mλ) i. (3) i Le s do coordinae descen on he exp-loss R rain (λ). A each ieraion we ll choose a coordinae of λ, called j, and ove α in he j h direcion. So each weak classifier corresponds o a direcion in he space, and α corresponds o a disance along ha direcion. To do coordinae descen, we need o find he direcion j in which he direcional derivaive is he seepes. Le e j be a vecor ha is in he j h enry and 0 elsewhere. Choose direcion: i 5
6 [ ] R rain (λ + αe j ) j argax j α [ [ α=0 λ = argaxj e (M( α [ = argax e (Mλ ) i α j α [ = argax e (Mλ ) i j α [ = argax ] M e (Mλ ) i j ij. +αe j )) i [ α=0 (Me j ) i ] ] ] ] ] ] [ α=0 αm ij Creae a discree probabiliy disribuion (we ll see laer i s he sae as AdaBoos s): α=0 d,i = e (Mλ ) i /Z where Z = e Mλ ) i (4) Muliplying by Z doesn affec he argax. Sae wih. So fro above we have: j argax j Mij d,i = argax(d T M) j. So ha s how we choose weak classifier j. How far should we go along direcion j? Do a linesearch, se derivaive o 0. R rain (λ + αe j 0 = ) α α = M e (Mλ ) i α M ij ij = e (Mλ ) i e α i:mij = i:m ij = ( e (Mλ ) i e α. 6
7 Ge rid of he / and uliply by /Z : 0 = d e α α d,i e,i i:m ij = i:m ij = =: d e α + de α de α = d + e α e α = d + d α = d + ln = ln d. d d So he coordinae descen algorih is: d,i = / for i =... λ = 0 loop =...T T j argax j(d M) j d = M ij = d,i ( ) α = ln d d λ + = λ + α ej d = e (Mλ +) i / Z for each i, where Z = e (Mλ +) i +,i + + end So ha algorih ieraively iniizes he exp-loss. Bu how is i AdaBoos? Sar wih f(x). Fro coordinae descen, we noice ha λ,j is jus he su of he α s where our chosen direcion j is j. λ,j = In oher words, i s he oal aoun T = α [j =j] we ve raveled along direcion j. Thus n f(x) = n T T n T λ,j h j (x) = α [j =j]h j (x) = α hj (x) [j =j] = α h j (x). j= j= = = j= = Look failiar? There is a sligh difference in noaion beween his and AdaBoos, bu ha s i. (You can jus se AdaBoos s h () o coord descen s h j.) 7
8 Le s look a d. AdaBoos has: d e M ij,ie M ij α α e M ijα d j +,i = = = = Z Z Z e M ijλ,j Z This eans he denoinaor us be i e j M ijλ j because we know he d + vecor is noralized. So he d s for AdaBoos are he sae as for coordinae descen (4) as long as j s and α s are he sae. Le s ake sure AdaBoos chooses he sae direcions j as he coordinae descen algorih. AdaBoos s weak learning algorih hopefully chooses he weak classifier ha has he lowes error. This cobined wih he definiion for he error () eans: j argin j d,i [hj (x i )=y i ] = argin j d,i = argax j i i:mij= d,i = argax j d,i + i:m ij= i:mij= = argax j d,i i:m ij= d,i i:mij= i:mij= d,i = argax j d,i T d,i = argaxj(d M) j. i:m ij= i:m ij= Does ha also look failiar? So AdaBoos chooses he sae direcions as coordinae descen. Bu does i go he sae disance? Look a α. Sar again wih he error rae ɛ : ɛ = d,i [hj (x i )=y i ] = d,i = d,i = d Saring fro AdaBoos, i i:h j (x i )=y i i:m ij = d α = ln ɛ = ln, ɛ d as in coordinae descen. So AdaBoos iniizes he exponenial loss by coordinae descen. 8
9 Probabilisic Inerpreaion This is no quie he sae as logisic regression. Since AdaBoos approxiaely iniizes he expeced exponenial loss over he whole disribuion D, we can ge a relaionship beween i s oupu and he condiional probabiliies. As in logisic regression, assue ha here s a disribuion on y for each x. Lea (Hasie, Friedan, Tibshirani, 00) is iniized a: Proof. Y f(x) E Y D(x) e P (Y = x) f(x) = ln. P (Y = x) 0 = de(e Y f(x) x) df(x) = P (Y = x)e f(x) + P (Y = x)e f(x) Ee Y f(x) = P (Y = x)e f(x) + P (Y = x)e f(x) P (Y = x)e f(x) = P (Y = x)e f(x) P (Y = x) ( P = = e f x) (Y x) f(x) = ln. P (Y = x) P (Y = x) In logisic regression, we had so we re differen by jus a facor of. P (Y = x) f(x) = ln P (Y = x) Fro he Lea, we can ge probabiliies ou of AdaBoos by solving for P (Y = x), which we denoe by p: e f(x) pe f(x) P (Y = x) p f(x) = ln =: ln P (Y = x) p p e f(x) = p = p e f(x) = p( + e f(x) ) 9
10 and finally, e f(x) p = P (Y = x) =. + e f(x) Recall logisic regression had he sae hing, bu wihou he s. So now we can ge probabiliies ou of AdaBoos. This is helpful if you wan a probabiliy of failure, or probabiliy of spa, or probabiliy of discovering oil. Even hough logisic regression iniizes he logisic loss and AdaBoos iniizes he exponenial loss, he forulas o ge probabiliies are soehow very siilar. Training Error Decays Exponenially Fas Theore If he weak learning assupion holds, AdaBoos s isclassificaion error decays exponenially fas: Proof. Sar wih [y i =H(x i )] e γ W LA T. R rain (λ + ) = R rain (λ + α e j ) = e [M(λ +α e j )] i = e (Mλ ) i α M ij α λ = e e (M ) i + e α e (Mλ ) i. (5) i:m ij = i:m ij = To suarize his proof, we will find a recursive relaionship beween R rain (λ + ) and R rain (λ ), so we see how uch he raining error is reduced a each ieraion. Then we ll uncoil he recursion o ge he bound. Le s creae he recursive relaionship. Think abou he disribuion d ha we defined fro coordinae descen: d = e (Mλ ) i,i /Z where Z = e (Mλ ) i (6) 0
11 So you should hink of e (Mλ ) i as an unnoralized version of he weigh d,i. So ha eans: Z Z (Mλ d + = d ) i,i = e. i:m ij = i:m ij = and we could do he sae hing o show Z d = e (Mλ ) i i:m ij =. Plugging ha ino (5), R rain (λ ) = e αz Z + d + + e α d. I s kind of nea ha Z / = R rain (λ ), which we can see fro he definiion of Z in (6) and he definiion of R rain in (3). Le s use ha. Reeber: α = ln R rain (λ + ) = R rain (λ)[e d + + e α d ] = R rain (λ )[e α ( d ) + e α d ]. ( ) ( ) / ( ) / d d d, so e α = and e α = d d d Plugging: [ ( ) / ( rain d R (λ ) = R rain d + (λ ) ( d ) + d = R rain (λ ) [d ( d )] / α / = R rain (λ ) [ɛ ( ɛ )]. d / d. ) ] rain Uncoil he recursion, using for he base case λ = 0, so ha R (0) =, hen T R rain (λ T ) = ɛ ( ɛ ). = Fro all he way back a he beginning (on page in he pseudocode) ɛ = / γ. So, T R rain (λ T ) = ( ) ( ) γ + γ = 4 γ = 4γ. =
12 Using he inequaliy + x e x, which is rue for all x, T 4γ e 4γ = e γ = e = T = γ. Now, we ll use he weak learning assupion, which is ha γ > γ W LA for all. We ll also use ha he isclassificaion error is upper bounded by he exponenial loss: T γ [y ) = =H(x )] R rain (λ T e e γ W LA T. i i And ha s our bound. Inerpreing AdaBoos Soe poins:. AdaBoos can be used in wo ways: (j) where he weak classifiers are ruly weak (e.g., h j (x i ) = x i ). where he weak classifiers are srong, and coe fro anoher learning algorih, like a decision ree. The weak learning algorih is hen, e.g., C4.5 or CART, and each possible ree i produces is one of he h j s. You can hink of he decision ree algorih as a kind of oracle where AdaBoos asks i a each round o coe up wih a ree h j wih low error. So he weak learning algorih does he argax j sep in he algorih. In realiy i igh no ruly find he argax, bu i will give a good direcion j (and ha s fine - as long as i chooses a good enough direcion, i ll sill converge ok).. The WLA does no hold in pracice, bu AdaBoos works anyway. (To see why, you can jus hink of he saisical view of boosing.) 3. AdaBoos has an inerpreaion as a -player repeaed gae.
13 weak learning algorih chooses j colun player chooses a pure sraegy d ixed sraegy for row player 4. Neiher logisic regression nor AdaBoos has regularizaion... bu AdaBoos has a endency no o overfi. There is los of work o explain why his is, and i sees o be copleely due o AdaBoos s ieraive procedure - anoher ehod for opiizing he exponenial loss probably wouldn do as well. There is a argin heory for boosing ha explains a lo. 3
14 MIT OpenCourseWare hp://ocw.i.edu Predicion: Machine Learning and Saisics Spring 0 For inforaion abou ciing hese aerials or our Ters of Use, visi: hp://ocw.i.edu/ers.
1 Widrow-Hoff Algorithm
COS 511: heoreical Machine Learning Lecurer: Rob Schapire Lecure # 18 Scribe: Shaoqing Yang April 10, 014 1 Widrow-Hoff Algorih Firs le s review he Widrow-Hoff algorih ha was covered fro las lecure: Algorih
More informationEnsamble methods: Bagging and Boosting
Lecure 21 Ensamble mehods: Bagging and Boosing Milos Hauskrech milos@cs.pi.edu 5329 Senno Square Ensemble mehods Mixure of expers Muliple base models (classifiers, regressors), each covers a differen par
More informationEnsamble methods: Boosting
Lecure 21 Ensamble mehods: Boosing Milos Hauskrech milos@cs.pi.edu 5329 Senno Square Schedule Final exam: April 18: 1:00-2:15pm, in-class Term projecs April 23 & April 25: a 1:00-2:30pm in CS seminar room
More information1 Review of Zero-Sum Games
COS 5: heoreical Machine Learning Lecurer: Rob Schapire Lecure #23 Scribe: Eugene Brevdo April 30, 2008 Review of Zero-Sum Games Las ime we inroduced a mahemaical model for wo player zero-sum games. Any
More informationOnline Convex Optimization Example And Follow-The-Leader
CSE599s, Spring 2014, Online Learning Lecure 2-04/03/2014 Online Convex Opimizaion Example And Follow-The-Leader Lecurer: Brendan McMahan Scribe: Sephen Joe Jonany 1 Review of Online Convex Opimizaion
More informationFourier Series & The Fourier Transform. Joseph Fourier, our hero. Lord Kelvin on Fourier s theorem. What do we want from the Fourier Transform?
ourier Series & The ourier Transfor Wha is he ourier Transfor? Wha do we wan fro he ourier Transfor? We desire a easure of he frequencies presen in a wave. This will lead o a definiion of he er, he specru.
More informationLecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.
Lecure - Kinemaics in One Dimension Displacemen, Velociy and Acceleraion Everyhing in he world is moving. Nohing says sill. Moion occurs a all scales of he universe, saring from he moion of elecrons in
More informationLearning a Class from Examples. Training set X. Class C 1. Class C of a family car. Output: Input representation: x 1 : price, x 2 : engine power
Alpaydin Chaper, Michell Chaper 7 Alpaydin slides are in urquoise. Ehem Alpaydin, copyrigh: The MIT Press, 010. alpaydin@boun.edu.r hp://www.cmpe.boun.edu.r/ ehem/imle All oher slides are based on Michell.
More informationdt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3.
Mah Rahman Exam Review Soluions () Consider he IVP: ( 4)y 3y + 4y = ; y(3) = 0, y (3) =. (a) Please deermine he longes inerval for which he IVP is guaraneed o have a unique soluion. Soluion: The disconinuiies
More informationProblem set 2 for the course on. Markov chains and mixing times
J. Seif T. Hirscher Soluions o Proble se for he course on Markov chains and ixing ies February 7, 04 Exercise 7 (Reversible chains). (i) Assue ha we have a Markov chain wih ransiion arix P, such ha here
More informationLearning a Class from Examples. Training set X. Class C 1. Class C of a family car. Output: Input representation: x 1 : price, x 2 : engine power
Alpaydin Chaper, Michell Chaper 7 Alpaydin slides are in urquoise. Ehem Alpaydin, copyrigh: The MIT Press, 010. alpaydin@boun.edu.r hp://www.cmpe.boun.edu.r/ ehem/imle All oher slides are based on Michell.
More informationIntroduction to Numerical Analysis. In this lesson you will be taken through a pair of techniques that will be used to solve the equations of.
Inroducion o Nuerical Analysis oion In his lesson you will be aen hrough a pair of echniques ha will be used o solve he equaions of and v dx d a F d for siuaions in which F is well nown, and he iniial
More informationCourse Notes for EE227C (Spring 2018): Convex Optimization and Approximation
Course Noes for EE7C Spring 018: Convex Opimizaion and Approximaion Insrucor: Moriz Hard Email: hard+ee7c@berkeley.edu Graduae Insrucor: Max Simchowiz Email: msimchow+ee7c@berkeley.edu Ocober 15, 018 3
More informationKINEMATICS IN ONE DIMENSION
KINEMATICS IN ONE DIMENSION PREVIEW Kinemaics is he sudy of how hings move how far (disance and displacemen), how fas (speed and velociy), and how fas ha how fas changes (acceleraion). We say ha an objec
More informationT L. t=1. Proof of Lemma 1. Using the marginal cost accounting in Equation(4) and standard arguments. t )+Π RB. t )+K 1(Q RB
Elecronic Companion EC.1. Proofs of Technical Lemmas and Theorems LEMMA 1. Le C(RB) be he oal cos incurred by he RB policy. Then we have, T L E[C(RB)] 3 E[Z RB ]. (EC.1) Proof of Lemma 1. Using he marginal
More informationHomework 2 Solutions
Mah 308 Differenial Equaions Fall 2002 & 2. See he las page. Hoework 2 Soluions 3a). Newon s secon law of oion says ha a = F, an we know a =, so we have = F. One par of he force is graviy, g. However,
More informationLecture 2 October ε-approximation of 2-player zero-sum games
Opimizaion II Winer 009/10 Lecurer: Khaled Elbassioni Lecure Ocober 19 1 ε-approximaion of -player zero-sum games In his lecure we give a randomized ficiious play algorihm for obaining an approximae soluion
More informationChapter 7: Solving Trig Equations
Haberman MTH Secion I: The Trigonomeric Funcions Chaper 7: Solving Trig Equaions Le s sar by solving a couple of equaions ha involve he sine funcion EXAMPLE a: Solve he equaion sin( ) The inverse funcions
More information4.5 Constant Acceleration
4.5 Consan Acceleraion v() v() = v 0 + a a() a a() = a v 0 Area = a (a) (b) Figure 4.8 Consan acceleraion: (a) velociy, (b) acceleraion When he x -componen of he velociy is a linear funcion (Figure 4.8(a)),
More information( ) ( ) if t = t. It must satisfy the identity. So, bulkiness of the unit impulse (hyper)function is equal to 1. The defining characteristic is
UNIT IMPULSE RESPONSE, UNIT STEP RESPONSE, STABILITY. Uni impulse funcion (Dirac dela funcion, dela funcion) rigorously defined is no sricly a funcion, bu disribuion (or measure), precise reamen requires
More informationMath 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:
Mah 4 Eam Review Problems Problem. Calculae he 3rd Taylor polynomial for arcsin a =. Soluion. Le f() = arcsin. For his problem, we use he formula f() + f () + f ()! + f () 3! for he 3rd Taylor polynomial
More informationBiol. 356 Lab 8. Mortality, Recruitment, and Migration Rates
Biol. 356 Lab 8. Moraliy, Recruimen, and Migraion Raes (modified from Cox, 00, General Ecology Lab Manual, McGraw Hill) Las week we esimaed populaion size hrough several mehods. One assumpion of all hese
More informationConservation of Momentum. The purpose of this experiment is to verify the conservation of momentum in two dimensions.
Conseraion of Moenu Purose The urose of his exerien is o erify he conseraion of oenu in wo diensions. Inroducion and Theory The oenu of a body ( ) is defined as he roduc of is ass () and elociy ( ): When
More information2.7. Some common engineering functions. Introduction. Prerequisites. Learning Outcomes
Some common engineering funcions 2.7 Inroducion This secion provides a caalogue of some common funcions ofen used in Science and Engineering. These include polynomials, raional funcions, he modulus funcion
More informationSimulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010
Simulaion-Solving Dynamic Models ABE 5646 Week 2, Spring 2010 Week Descripion Reading Maerial 2 Compuer Simulaion of Dynamic Models Finie Difference, coninuous saes, discree ime Simple Mehods Euler Trapezoid
More informationPhysics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle
Chaper 2 Newonian Mechanics Single Paricle In his Chaper we will review wha Newon s laws of mechanics ell us abou he moion of a single paricle. Newon s laws are only valid in suiable reference frames,
More informationMath 333 Problem Set #2 Solution 14 February 2003
Mah 333 Problem Se #2 Soluion 14 February 2003 A1. Solve he iniial value problem dy dx = x2 + e 3x ; 2y 4 y(0) = 1. Soluion: This is separable; we wrie 2y 4 dy = x 2 + e x dx and inegrae o ge The iniial
More informationNotes on online convex optimization
Noes on online convex opimizaion Karl Sraos Online convex opimizaion (OCO) is a principled framework for online learning: OnlineConvexOpimizaion Inpu: convex se S, number of seps T For =, 2,..., T : Selec
More informationDiebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles
Diebold, Chaper 7 Francis X. Diebold, Elemens of Forecasing, 4h Ediion (Mason, Ohio: Cengage Learning, 006). Chaper 7. Characerizing Cycles Afer compleing his reading you should be able o: Define covariance
More informationM x t = K x F t x t = A x M 1 F t. M x t = K x cos t G 0. x t = A x cos t F 0
Forced oscillaions (sill undaped): If he forcing is sinusoidal, M = K F = A M F M = K cos G wih F = M G = A cos F Fro he fundaenal heore for linear ransforaions we now ha he general soluion o his inhoogeneous
More information5. Stochastic processes (1)
Lec05.pp S-38.45 - Inroducion o Teleraffic Theory Spring 2005 Conens Basic conceps Poisson process 2 Sochasic processes () Consider some quaniy in a eleraffic (or any) sysem I ypically evolves in ime randomly
More informationSome Basic Information about M-S-D Systems
Some Basic Informaion abou M-S-D Sysems 1 Inroducion We wan o give some summary of he facs concerning unforced (homogeneous) and forced (non-homogeneous) models for linear oscillaors governed by second-order,
More informationUnit Root Time Series. Univariate random walk
Uni Roo ime Series Univariae random walk Consider he regression y y where ~ iid N 0, he leas squares esimae of is: ˆ yy y y yy Now wha if = If y y hen le y 0 =0 so ha y j j If ~ iid N 0, hen y ~ N 0, he
More informationLet us start with a two dimensional case. We consider a vector ( x,
Roaion marices We consider now roaion marices in wo and hree dimensions. We sar wih wo dimensions since wo dimensions are easier han hree o undersand, and one dimension is a lile oo simple. However, our
More informationMath 10B: Mock Mid II. April 13, 2016
Name: Soluions Mah 10B: Mock Mid II April 13, 016 1. ( poins) Sae, wih jusificaion, wheher he following saemens are rue or false. (a) If a 3 3 marix A saisfies A 3 A = 0, hen i canno be inverible. True.
More informationModule 2 F c i k c s la l w a s o s f dif di fusi s o i n
Module Fick s laws of diffusion Fick s laws of diffusion and hin film soluion Adolf Fick (1855) proposed: d J α d d d J (mole/m s) flu (m /s) diffusion coefficien and (mole/m 3 ) concenraion of ions, aoms
More informationIn this chapter the model of free motion under gravity is extended to objects projected at an angle. When you have completed it, you should
Cambridge Universiy Press 978--36-60033-7 Cambridge Inernaional AS and A Level Mahemaics: Mechanics Coursebook Excerp More Informaion Chaper The moion of projeciles In his chaper he model of free moion
More informationLesson 3.1 Recursive Sequences
Lesson 3.1 Recursive Sequences 1) 1. Evaluae he epression 2(3 for each value of. a. 9 b. 2 c. 1 d. 1 2. Consider he sequence of figures made from riangles. Figure 1 Figure 2 Figure 3 Figure a. Complee
More informationFinal Spring 2007
.615 Final Spring 7 Overview The purpose of he final exam is o calculae he MHD β limi in a high-bea oroidal okamak agains he dangerous n = 1 exernal ballooning-kink mode. Effecively, his corresponds o
More informationSolutions Problem Set 3 Macro II (14.452)
Soluions Problem Se 3 Macro II (14.452) Francisco A. Gallego 04/27/2005 1 Q heory of invesmen in coninuous ime and no uncerainy Consider he in nie horizon model of a rm facing adjusmen coss o invesmen.
More informationNon-parametric techniques. Instance Based Learning. NN Decision Boundaries. Nearest Neighbor Algorithm. Distance metric important
on-parameric echniques Insance Based Learning AKA: neares neighbor mehods, non-parameric, lazy, memorybased, or case-based learning Copyrigh 2005 by David Helmbold 1 Do no fi a model (as do LDA, logisic
More informationANALYSIS OF BOOSTING ALGORITHMS USING THE SMOOTH MARGIN FUNCTION. By Cynthia Rudin, Robert E. Schapire and Ingrid Daubechies
Submied o he Annals of Saisics ANALYSIS OF BOOSTING ALGORITHMS USING THE SMOOTH MARGIN FUNCTION By Cynhia Rudin, Rober E. Schapire and Ingrid Daubechies Columbia Universiy and Princeon Universiy We inroduce
More informationMathcad Lecture #8 In-class Worksheet Curve Fitting and Interpolation
Mahcad Lecure #8 In-class Workshee Curve Fiing and Inerpolaion A he end of his lecure, you will be able o: explain he difference beween curve fiing and inerpolaion decide wheher curve fiing or inerpolaion
More informationSection 5: Chain Rule
Chaper The Derivaive Applie Calculus 11 Secion 5: Chain Rule There is one more ype of complicae funcion ha we will wan o know how o iffereniae: composiion. The Chain Rule will le us fin he erivaive of
More information3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon
3..3 INRODUCION O DYNAMIC OPIMIZAION: DISCREE IME PROBLEMS A. he Hamilonian and Firs-Order Condiions in a Finie ime Horizon Define a new funcion, he Hamilonian funcion, H. H he change in he oal value of
More informationThus the force is proportional but opposite to the displacement away from equilibrium.
Chaper 3 : Siple Haronic Moion Hooe s law saes ha he force (F) eered by an ideal spring is proporional o is elongaion l F= l where is he spring consan. Consider a ass hanging on a he spring. In equilibriu
More informationChapter 15: Phenomena. Chapter 15 Chemical Kinetics. Reaction Rates. Reaction Rates R P. Reaction Rates. Rate Laws
Chaper 5: Phenomena Phenomena: The reacion (aq) + B(aq) C(aq) was sudied a wo differen emperaures (98 K and 35 K). For each emperaure he reacion was sared by puing differen concenraions of he 3 species
More informationBoosting Based on a Smooth Margin
17h Annual Conference on Compuaional Learning Theory, 2004. Boosing Based on a Smooh Margin Cynhia Rudin 1, Rober E. Schapire 2, and Ingrid Daubechies 1 1 Princeon Universiy, Program in Applied and Compuaional
More informationSolutions from Chapter 9.1 and 9.2
Soluions from Chaper 9 and 92 Secion 9 Problem # This basically boils down o an exercise in he chain rule from calculus We are looking for soluions of he form: u( x) = f( k x c) where k x R 3 and k is
More informationNon-parametric techniques. Instance Based Learning. NN Decision Boundaries. Nearest Neighbor Algorithm. Distance metric important
on-parameric echniques Insance Based Learning AKA: neares neighbor mehods, non-parameric, lazy, memorybased, or case-based learning Copyrigh 2005 by David Helmbold 1 Do no fi a model (as do LTU, decision
More informationLecture 9: September 25
0-725: Opimizaion Fall 202 Lecure 9: Sepember 25 Lecurer: Geoff Gordon/Ryan Tibshirani Scribes: Xuezhi Wang, Subhodeep Moira, Abhimanu Kumar Noe: LaTeX emplae couresy of UC Berkeley EECS dep. Disclaimer:
More informationEcon107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8)
I. Definiions and Problems A. Perfec Mulicollineariy Econ7 Applied Economerics Topic 7: Mulicollineariy (Sudenmund, Chaper 8) Definiion: Perfec mulicollineariy exiss in a following K-variable regression
More informationFITTING EQUATIONS TO DATA
TANTON S TAKE ON FITTING EQUATIONS TO DATA CURRICULUM TIDBITS FOR THE MATHEMATICS CLASSROOM MAY 013 Sandard algebra courses have sudens fi linear and eponenial funcions o wo daa poins, and quadraic funcions
More informationSection 14 Forces in Circular Motion
Secion 14 orces in Circular Moion Ouline 1 Unifor Circular Moion Non-unifor Circular Moion Phsics 04A Class Noes Wh do objecs do wha he do? The answer we have been invesigaing is forces If forces can eplain
More informationViscous Damping Summary Sheet No Damping Case: Damped behaviour depends on the relative size of ω o and b/2m 3 Cases: 1.
Viscous Daping: && + & + ω Viscous Daping Suary Shee No Daping Case: & + ω solve A ( ω + α ) Daped ehaviour depends on he relaive size of ω o and / 3 Cases:. Criical Daping Wee 5 Lecure solve sae BC s
More informationThe average rate of change between two points on a function is d t
SM Dae: Secion: Objecive: The average rae of change beween wo poins on a funcion is d. For example, if he funcion ( ) represens he disance in miles ha a car has raveled afer hours, hen finding he slope
More informationFrom Particles to Rigid Bodies
Rigid Body Dynamics From Paricles o Rigid Bodies Paricles No roaions Linear velociy v only Rigid bodies Body roaions Linear velociy v Angular velociy ω Rigid Bodies Rigid bodies have boh a posiion and
More informationLecture 33: November 29
36-705: Inermediae Saisics Fall 2017 Lecurer: Siva Balakrishnan Lecure 33: November 29 Today we will coninue discussing he boosrap, and hen ry o undersand why i works in a simple case. In he las lecure
More informationVehicle Arrival Models : Headway
Chaper 12 Vehicle Arrival Models : Headway 12.1 Inroducion Modelling arrival of vehicle a secion of road is an imporan sep in raffic flow modelling. I has imporan applicaion in raffic flow simulaion where
More informationFinish reading Chapter 2 of Spivak, rereading earlier sections as necessary. handout and fill in some missing details!
MAT 257, Handou 6: Ocober 7-2, 20. I. Assignmen. Finish reading Chaper 2 of Spiva, rereading earlier secions as necessary. handou and fill in some missing deails! II. Higher derivaives. Also, read his
More informationNotes for Lecture 17-18
U.C. Berkeley CS278: Compuaional Complexiy Handou N7-8 Professor Luca Trevisan April 3-8, 2008 Noes for Lecure 7-8 In hese wo lecures we prove he firs half of he PCP Theorem, he Amplificaion Lemma, up
More informationACE 562 Fall Lecture 4: Simple Linear Regression Model: Specification and Estimation. by Professor Scott H. Irwin
ACE 56 Fall 005 Lecure 4: Simple Linear Regression Model: Specificaion and Esimaion by Professor Sco H. Irwin Required Reading: Griffihs, Hill and Judge. "Simple Regression: Economic and Saisical Model
More informationIB Physics Kinematics Worksheet
IB Physics Kinemaics Workshee Wrie full soluions and noes for muliple choice answers. Do no use a calculaor for muliple choice answers. 1. Which of he following is a correc definiion of average acceleraion?
More informationToday: Falling. v, a
Today: Falling. v, a Did you ge my es email? If no, make sure i s no in your junk box, and add sbs0016@mix.wvu.edu o your address book! Also please email me o le me know. I will be emailing ou pracice
More informationHamilton- J acobi Equation: Explicit Formulas In this lecture we try to apply the method of characteristics to the Hamilton-Jacobi equation: u t
M ah 5 2 7 Fall 2 0 0 9 L ecure 1 0 O c. 7, 2 0 0 9 Hamilon- J acobi Equaion: Explici Formulas In his lecure we ry o apply he mehod of characerisics o he Hamilon-Jacobi equaion: u + H D u, x = 0 in R n
More informationMatlab and Python programming: how to get started
Malab and Pyhon programming: how o ge sared Equipping readers he skills o wrie programs o explore complex sysems and discover ineresing paerns from big daa is one of he main goals of his book. In his chaper,
More informationLinear Time-invariant systems, Convolution, and Cross-correlation
Linear Time-invarian sysems, Convoluion, and Cross-correlaion (1) Linear Time-invarian (LTI) sysem A sysem akes in an inpu funcion and reurns an oupu funcion. x() T y() Inpu Sysem Oupu y() = T[x()] An
More informationACE 562 Fall Lecture 5: The Simple Linear Regression Model: Sampling Properties of the Least Squares Estimators. by Professor Scott H.
ACE 56 Fall 005 Lecure 5: he Simple Linear Regression Model: Sampling Properies of he Leas Squares Esimaors by Professor Sco H. Irwin Required Reading: Griffihs, Hill and Judge. "Inference in he Simple
More information13.3 Term structure models
13.3 Term srucure models 13.3.1 Expecaions hypohesis model - Simples "model" a) shor rae b) expecaions o ge oher prices Resul: y () = 1 h +1 δ = φ( δ)+ε +1 f () = E (y +1) (1) =δ + φ( δ) f (3) = E (y +)
More informationDecision Tree Learning. Decision Tree Learning. Decision Trees. Decision Trees: Operation. Blue slides: Mitchell. Orange slides: Alpaydin Humidity
Decision Tree Learning Decision Tree Learning Blue slides: Michell Oulook Orange slides: Alpaydin Huidiy Sunny Overcas Rain ral Srong Learn o approxiae discree-valued arge funcions. Sep-by-sep decision
More informationWelcome Back to Physics 215!
Welcome Back o Physics 215! (General Physics I) Thurs. Jan 19 h, 2017 Lecure01-2 1 Las ime: Syllabus Unis and dimensional analysis Today: Displacemen, velociy, acceleraion graphs Nex ime: More acceleraion
More informationPhysics 240: Worksheet 16 Name
Phyic 4: Workhee 16 Nae Non-unifor circular oion Each of hee proble involve non-unifor circular oion wih a conan α. (1) Obain each of he equaion of oion for non-unifor circular oion under a conan acceleraion,
More informationGMM - Generalized Method of Moments
GMM - Generalized Mehod of Momens Conens GMM esimaion, shor inroducion 2 GMM inuiion: Maching momens 2 3 General overview of GMM esimaion. 3 3. Weighing marix...........................................
More information10. State Space Methods
. Sae Space Mehods. Inroducion Sae space modelling was briefly inroduced in chaper. Here more coverage is provided of sae space mehods before some of heir uses in conrol sysem design are covered in he
More informationAsymptotic Equipartition Property - Seminar 3, part 1
Asympoic Equipariion Propery - Seminar 3, par 1 Ocober 22, 2013 Problem 1 (Calculaion of ypical se) To clarify he noion of a ypical se A (n) ε and he smalles se of high probabiliy B (n), we will calculae
More informationACE 562 Fall Lecture 8: The Simple Linear Regression Model: R 2, Reporting the Results and Prediction. by Professor Scott H.
ACE 56 Fall 5 Lecure 8: The Simple Linear Regression Model: R, Reporing he Resuls and Predicion by Professor Sco H. Irwin Required Readings: Griffihs, Hill and Judge. "Explaining Variaion in he Dependen
More informationLie Derivatives operator vector field flow push back Lie derivative of
Lie Derivaives The Lie derivaive is a mehod of compuing he direcional derivaive of a vecor field wih respec o anoher vecor field We already know how o make sense of a direcional derivaive of real valued
More informationTwo Coupled Oscillators / Normal Modes
Lecure 3 Phys 3750 Two Coupled Oscillaors / Normal Modes Overview and Moivaion: Today we ake a small, bu significan, sep owards wave moion. We will no ye observe waves, bu his sep is imporan in is own
More information1. Kinematics I: Position and Velocity
1. Kinemaics I: Posiion and Velociy Inroducion The purpose of his eperimen is o undersand and describe moion. We describe he moion of an objec by specifying is posiion, velociy, and acceleraion. In his
More informationTwo Popular Bayesian Estimators: Particle and Kalman Filters. McGill COMP 765 Sept 14 th, 2017
Two Popular Bayesian Esimaors: Paricle and Kalman Filers McGill COMP 765 Sep 14 h, 2017 1 1 1, dx x Bel x u x P x z P Recall: Bayes Filers,,,,,,, 1 1 1 1 u z u x P u z u x z P Bayes z = observaion u =
More informationThe fundamental mass balance equation is ( 1 ) where: I = inputs P = production O = outputs L = losses A = accumulation
Hea (iffusion) Equaion erivaion of iffusion Equaion The fundamenal mass balance equaion is I P O L A ( 1 ) where: I inpus P producion O oupus L losses A accumulaion Assume ha no chemical is produced or
More informationPhys1112: DC and RC circuits
Name: Group Members: Dae: TA s Name: Phys1112: DC and RC circuis Objecives: 1. To undersand curren and volage characerisics of a DC RC discharging circui. 2. To undersand he effec of he RC ime consan.
More information= ( ) ) or a system of differential equations with continuous parametrization (T = R
XIII. DIFFERENCE AND DIFFERENTIAL EQUATIONS Ofen funcions, or a sysem of funcion, are paramerized in erms of some variable, usually denoed as and inerpreed as ime. The variable is wrien as a funcion of
More informationMore Digital Logic. t p output. Low-to-high and high-to-low transitions could have different t p. V in (t)
EECS 4 Spring 23 Lecure 2 EECS 4 Spring 23 Lecure 2 More igial Logic Gae delay and signal propagaion Clocked circui elemens (flip-flop) Wriing a word o memory Simplifying digial circuis: Karnaugh maps
More informationRC, RL and RLC circuits
Name Dae Time o Complee h m Parner Course/ Secion / Grade RC, RL and RLC circuis Inroducion In his experimen we will invesigae he behavior of circuis conaining combinaions of resisors, capaciors, and inducors.
More informationHomework 2: Kinematics and Dynamics of Particles Due Friday Feb 8, 2019
EN4: Dynamics and Vibraions Homework : Kinemaics and Dynamics of Paricles Due Friday Feb 8, 19 School of Engineering Brown Universiy 1. Sraigh Line Moion wih consan acceleraion. Virgin Hyperloop One is
More information( ) a system of differential equations with continuous parametrization ( T = R + These look like, respectively:
XIII. DIFFERENCE AND DIFFERENTIAL EQUATIONS Ofen funcions, or a sysem of funcion, are paramerized in erms of some variable, usually denoed as and inerpreed as ime. The variable is wrien as a funcion of
More informationLinear Response Theory: The connection between QFT and experiments
Phys540.nb 39 3 Linear Response Theory: The connecion beween QFT and experimens 3.1. Basic conceps and ideas Q: How do we measure he conduciviy of a meal? A: we firs inroduce a weak elecric field E, and
More informationPhysics Notes - Ch. 2 Motion in One Dimension
Physics Noes - Ch. Moion in One Dimension I. The naure o physical quaniies: scalars and ecors A. Scalar quaniy ha describes only magniude (how much), NOT including direcion; e. mass, emperaure, ime, olume,
More informationt is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...
Mah 228- Fri Mar 24 5.6 Marix exponenials and linear sysems: The analogy beween firs order sysems of linear differenial equaions (Chaper 5) and scalar linear differenial equaions (Chaper ) is much sronger
More informationThe Arcsine Distribution
The Arcsine Disribuion Chris H. Rycrof Ocober 6, 006 A common heme of he class has been ha he saisics of single walker are ofen very differen from hose of an ensemble of walkers. On he firs homework, we
More informationk B 2 Radiofrequency pulses and hardware
1 Exra MR Problems DC Medical Imaging course April, 214 he problems below are harder, more ime-consuming, and inended for hose wih a more mahemaical background. hey are enirely opional, bu hopefully will
More informationPhysics 180A Fall 2008 Test points. Provide the best answer to the following questions and problems. Watch your sig figs.
Physics 180A Fall 2008 Tes 1-120 poins Name Provide he bes answer o he following quesions and problems. Wach your sig figs. 1) The number of meaningful digis in a number is called he number of. When numbers
More informationMath 115 Final Exam December 14, 2017
On my honor, as a suden, I have neiher given nor received unauhorized aid on his academic work. Your Iniials Only: Iniials: Do no wrie in his area Mah 5 Final Exam December, 07 Your U-M ID # (no uniqname):
More informationMath Week 14 April 16-20: sections first order systems of linear differential equations; 7.4 mass-spring systems.
Mah 2250-004 Week 4 April 6-20 secions 7.-7.3 firs order sysems of linear differenial equaions; 7.4 mass-spring sysems. Mon Apr 6 7.-7.2 Sysems of differenial equaions (7.), and he vecor Calculus we need
More informationKinematics Vocabulary. Kinematics and One Dimensional Motion. Position. Coordinate System in One Dimension. Kinema means movement 8.
Kinemaics Vocabulary Kinemaics and One Dimensional Moion 8.1 WD1 Kinema means movemen Mahemaical descripion of moion Posiion Time Inerval Displacemen Velociy; absolue value: speed Acceleraion Averages
More informationNotes 04 largely plagiarized by %khc
Noes 04 largely plagiarized by %khc Convoluion Recap Some ricks: x() () =x() x() (, 0 )=x(, 0 ) R ț x() u() = x( )d x() () =ẋ() This hen ells us ha an inegraor has impulse response h() =u(), and ha a differeniaor
More informationMath 334 Test 1 KEY Spring 2010 Section: 001. Instructor: Scott Glasgow Dates: May 10 and 11.
1 Mah 334 Tes 1 KEY Spring 21 Secion: 1 Insrucor: Sco Glasgow Daes: Ma 1 and 11. Do NOT wrie on his problem saemen bookle, excep for our indicaion of following he honor code jus below. No credi will be
More information23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes
Represening Periodic Funcions by Fourier Series 3. Inroducion In his Secion we show how a periodic funcion can be expressed as a series of sines and cosines. We begin by obaining some sandard inegrals
More informationComparison between the Discrete and Continuous Time Models
Comparison beween e Discree and Coninuous Time Models D. Sulsky June 21, 2012 1 Discree o Coninuous Recall e discree ime model Î = AIS Ŝ = S Î. Tese equaions ell us ow e populaion canges from one day o
More information