8 : Learning in Fully Observed Markov Networks. 1 Why We Need to Learn Undirected Graphical Models. 2 Structural Learning for Completely Observed MRF
|
|
- Rhoda Harrison
- 6 years ago
- Views:
Transcription
1 10-708: Probablstc Graphcal Models , Sprng : Learnng n Fully Observed Markov Networks Lecturer: Erc P. Xng Scrbes: Meng Song, L Zhou 1 Why We Need to Learn Undrected Graphcal Models In the prevous lectures, we have talked about the structure and parameter learnng for the completely observed BNs. In the drected models, the potentals are restrcted to condtonal dstrbutons whch model the dependence of a varable on ts parents. However, sometmes an undrected assocaton graph s more nformatve and natural to do the modelng. For example, n domans such as computer vson, the nfluences of pxels n an mage are ntrnscally symmetrc. In bology, the gene expressons may be nfluenced by the unobserved factors where we don t have enough nformaton to know the drecton. In ths lecture, we wll cover the technques of structural learnng and parameter estmaton for fully observed MRF. 2 Structural Learnng for Completely Observed MRF 2.1 Gaussan Graphcal Models In ths secton, we wll ntroduce the neghborhood selecton for undrected structural learnng. To gve the background of ths method, let s frst look at a typcal MRF: Gaussan Graphcal Model. As what we have known, when the varables follows the multvarate Gaussan densty, t can be expressed as 1 p(x µ, Σ) = exp{ 1 (2π) n 2 Σ (x µ)t Σ 1 (x µ)} where x = [x 1, x 2,, x p ] T. Wthout loss of generalty, let µ = 0 and Q = Σ 1, then we have p(x 1, x 2,, x p µ = 0, Q) = Q 1 2 exp{ 1 q (2π) n (x ) 2 q j x x j } 2 2 <j Now by observaton, we can fnd that whle the lefthand sde of the equaton s stll a jont dstrbuton, the rghthand sde now descrbes the structure of a MRF. 1 Z exp{ φ(x ) + <j φ(x, x j )} where 1 2 q (x ) 2 can be vewed as the node potental φ(x ), and q j x x j can be vewed as the edge potental φ(x, x j ). 1
2 2 8 : Learnng n Fully Observed Markov Networks 2.2 The Covarance and the Precson Matrces Gven the covarance matrx Σ and the precson matrx Q, we want to nvestgate the dfferences of ther probablty and graphcal model nterpretaton. 1. For Σ Wth the assumpton that x 1,, x p follows multvarate Gaussan dstrbuton, x and x j are uncorrelated means they are ndependent. Therefore, Σ,j = 0 x x j or P (x, x j ) = P (x )P (x j ). x and x j are margnally ndependent. Through Σ, we solely concentrate on the relatonshp between x and x j regardless the other nodes n the graph. 2. For Q Q,j = 0 x x j x j or P (x, x j x j ) = P (x x j )P (x j x j ) x and x j are condtonally ndependent gven the rest of the graph. Ths s what we need to decde the structure of a graph. Specfcally, every non-zero entry n Q corresponds to an edge n the MRF. To better understand the condtonal ndependence nduced by Q, we can look at P (x, x j x j, Q). When q j = 0, P (x, x j x j, Q) = Q 1 2 exp{ 1 q (2π) n kk (x k ) 2 q hg x h x g } exp{ (q (x ) 2 + q jj (x j ) 2 )} k,j h,g,j,h<g }{{} constant = P (x x j, Q)P (x j x j, Q) Fgure 1 shows a chan graphcal model. The Q matrx well captures the structure of the chan, where zero ndcates that there s no edge between the two nodes, and non-zero ndcates an edge exsts. However, f we represent a graph accordng to the Σ matrx, we wll get a clque. Fgure 1: Q and Σ Matrces for a Chan Graphcal Model 2.3 The Neghborhood Selecton Algorthm Now we know that whether the entres of Q are zero or non-zero can completely encode the structure of the graph. The next questons s how to learn the precson matrx Q. In the deal stuaton, Σ s nvertble, then we can use MLE to learn Σ. However, n the real world, an common scenaro s that p n where p s the number of features, and n s the number of samples. In ths case, Σ s not nvertble. Thus we are gong to learn a sparse GM by fndng the non-zero entres n the sparse Q drectly from data. The method we used
3 8 : Learnng n Fully Observed Markov Networks 3 to solve ths problem s called neghborhood selecton algorthm (Fgure 2). Here, we apply LASSO regresson to each varable teratvely to fnd ts neghbors. In the th teraton, one varable s ndcated as y, and all the other varables are represented by vector x. We want to compute a vector θ n whch the non-zero entry θ j ndcates an edge between the correspondng varable xj and y. And θ s just the th row or column n Q. Therefore we need to solve where l(θ ) = logp (y x, θ ), and Y = θ T X. ˆθ = arg mn θ l(θ ) + λ θ 1 (a) Pck One Node (b) Iteraton Fgure 2: The Neghborhood Selecton Algorthm Havng known the structure of the graph, we put Q back to the equaton and perform MLE to estmate the parameters. For the dscrete nodes, we can also perform ths procedure and smply use L1 regularzed logstc regresson nstead of L1 lnear regresson. Under fnte data and hgh dmenson condton, the graphcal regresson algorthm s ensured to be consstency. 3 MLE for Decomposable Undrected Graphcal Models Estmatng the parameters n UGM s more challengng than n DGM for the reason that the partton functon Z nvolves all parameters log-lkelhood, thus log-lkelhood s no more decomposable. In some cases, we need to do nferences (.e. margnalzaton) to learn parameters even n the fully observed case. In ths secton, let s begn wth a relatvely smple case, the decomposable (trangulated) UGM. 3.1 Log Lkelhood wth Tabular Clque Potentals To remove Z n the log lkelhood, we ntroduce a notaton for counts. The number of tmes a confguraton x s observed n the dataset D can be represented as m(x) = n δ(x, x n )
4 4 8 : Learnng n Fully Observed Markov Networks and m(x C ) = x V \C m(x) s the count for clque C. In terms of the counts, the lkelhood s gven by p(d θ) = p(x θ) δ(x,xn) n x The log lkelhood s l = log p(d θ) = n = x = x = C δ(x, x n ) log p(x θ) x δ(x, x n ) log p(x θ) n m(x) log( 1 ψ C (x C )) Z l 1 C m(x C ) log ψ C (x C ) N log Z }{{}}{{} x C l 2 We can see that the margnal counts m(x C ) are the suffcent statstcs for our model. 3.2 Maxmum Lkelhood Estmaton To fnd MLE, we take the dervatves of the log lkelhood wth respect to ψ C (x C ) and set t to zero. The dervatve of the frst term can be obtaned mmedately. l 1 ψ C (x C ) = m(x C) ψ C (x C ) Then we turn to the second term l 2 ψ C (x C ) = 1 Z ψ C (x C ) ( x ψ D ( x D )) D = 1 δ( x C, x C ) Z ψ C (x C ) ( ψ D ( x D )) x D = 1 δ( x C, x C ) ψ D ( x D ) Z x = x 1 1 δ( x C, x C ) ψ D ( x D ) ψ C ( x C ) Z D 1 = δ( x C, x C )p( x) ψ C (x C ) = p(x C) ψ C (x C ) Note that when takng dervatve of l 2, x C s fxed. x
5 8 : Learnng n Fully Observed Markov Networks 5 Thus, The MLE of the parameters s l ψ C (x C ) = m(x C) ψ C (x C ) N p(x C) ψ C (x C ) = 0 ˆp MLE (x C ) = m(x C) N = p(x C) Ths tells us an mportant characterzaton of maxmum lkelhood estmates: for each clque, the model margnals must be equal to the observed margnals (emprcal counts). However, t doesn t tell us the MLE of the parameters, ψ C (x C ) themselves appear mplctly n these equatons. 3.3 Decomposable Models When a model G s decomposable, ts jont dstrbuton can be represented as ψ C (x C ) C p(x) = ϕ S (x S ) S If G s potentals are defned on maxmal clques, we can fnd maxmum lkelhood estmates by nspecton. That s, to compute the clque potentals, just set them to the emprcal margnals or condtonals,.e., the separator must be dvded nto one of ts neghbors. Fgure 3 gves us an example of a three node chan model. Its probablty can be wrtten as p(x 1, x 2, x 3 ) = 1 Z ψ 12(x 1, x 2 )ψ 23 (x 2, x 3 ) The maxmum lkelhood estmates of ts clque potentals can be gven as whch also mples that Z = 1. ψ 12,MLE (x 1, x 2 ) = p(x 1, x 2 ) ψ 23,MLE (x 2, x 3 ) = p(x 2, x 3 ) p(x 2 ) Fgure 3: A Three Node Markov Chan 4 MLE for Non-decomposable Undrected Graphcal Models For now we know how to do MLE for decomposable graphcal model, however f the clque potental does not drectly correspond to the clque margnal, then the graph s non-decomposable. How can we do MLE for
6 6 8 : Learnng n Fully Observed Markov Networks non-decomposable graphcal model? If the potentals are tabular, we can use Iteratve Proportonal Fttng (IPF) algorthm and f the potentals are themselves functons of ther own parameters, then we can use Generalzed Iteratve Scalng (GIS) algorthm. 4.1 Iteratve Proportonal Fttng Iteratve Proportonal Fttng (IPF) can be used when the potentals n the undrected graphcal model are tabular. It s an teratve algorthm, and hopng that the teratons can converge to a fxed pont the soluton for the orgnal mplct equatons. One nce thng about IPF s that t s not only a fxed-pont algorthm, but also a a coordnate ascent algorthm, so t s guaranteed to converge. Let s frst derve the update rule for each teraton. Set the dervatve of lkelhood functon equal to 0, we can get m(x c ) Nψ c (x c ) = p(x c) ψ c (x c ) we can rewrte m(xc) N as p(x c), the emprcal margnal of x c, so p(x c ) ψ c (x c ) = p(x c) ψ c (x c ) Note that our goal ψ c (x c ) s on both sde of the equaton, so we can not solvng t n closed-form from ths equaton, however we can fx ψ c (x c ) on the rght sde and solve for t on the left hand sde. At the end we create a rule for teratve update: ψ c (t+1) (x c ) = ψ c (t) (x c ) p(x c) p (t) (x c ) Also note that n the equaton above, p (t) (x c ) s the clque margnal, not the emprcal margnal, so we have to do nference for p (t) (x c ) n each teraton. We do the update for all the clques n each teraton. and t can be proved that t s a coordnate ascent algorthm, where the coordnates are parameters of clque potentals: Frst we take the dervatve of the log lkelhood wth respect to the coordnate ψ c (x c ), for fxed c and varyng x c. l ψ c (x c ) = m(x c) ψ c (x c ) N δ( c, x c ) ψ D ( D ) Z To reflect that D s beng fxed, we can add an teraton superscrpt to ψ D on the rght sde. l ψ c (x c ) = m(x c) ψ c (t+1) (x c ) N δ( Z (t+1) c, x c ) ψ (t) D ( D) Also, one of IPF s propertes s that Z remans constant durng the teraton, so Z (t+1) = Z (t), so l ψ c (x c ) = m(x c) ψ c (t+1) (x c ) N δ( Z (t+1) c, x c ) ψ (t) D ( D) = m(x c) ψ c (t+1) (x c ) N δ( Z (t) c, x c ) ψ (t) D ( D) = m(x c) ψ c (t+1) (x c ) N δ( ψ (t) c, x c ) 1 ψ (t) (x c ) Z (t) D ( D) = m(x c) ψ (t+1) c (x c ) N ψ (t) (x c ) p(t) (x c ). D
7 8 : Learnng n Fully Observed Markov Networks 7 Now we can see that the IPF update functon would set the dervatve of log-lkelhood above to zero, so the algorthm s coordnate ascent, t wll ncrease the log-lkelhood and fnally converge to a global maxmum. 4.2 Feature Based Model For most of the graphcal model we deal wth, the potentals wll not be tabular, but wll themselves be functons of some parameters. Ths s because for large clques, defnng tabular potental functons are exponentally costly for nference and would have exponental numbers of parameters to learn. Wth lmted data and tme, t s mpossble to learn when clques become very large. Feature-based Clque potentals solve ths problem by usng a less general parameterzaton of the clque potentals, that s, for each potental, t defnes a set of feature on t, so the parameter space s now the space of features, whch can be controlled by ourselves. For example, consder a clque: three consecutve characters n a strng of Englsh text. The full jont clque potental would be , because we have 26 letters n Englsh, and ths s a huge potental space. But we can defne features based on the three characters, such as whether they are ng or on, and each feature has only 2 possble values as they are bnary. So suppose we defne n features, we only have to estmate n parameters. Of course we can defne more complcated feature than bnary feature, such as contnuous features. Let s represent clque potentals as ψ c (x c ) = exp( k θ kf k (x c )), we can treat each feature functon as a mcropotental functon. Also note that f the feature functons are ndcator functon per combnaton of x c, we can recover the standard tabular potental. To combne feature nto the probablty model: we can smplfy ths form to p(x) = 1 Z(θ) ψ c (X c ) c = 1 Z(θ) exp c θ k f k (x c ) k p(x) = 1 Z(θ) exp θ f (x c ) Ths s the form of exponental famly model, and features are suffcent statstcs. So now our goal s to fnd MLE under the above form. 4.3 Generalzed Iteratve Scalng One method to solve ths problem s Generalzed Iteratve Scalng (GIS) algorthm. It s also a teratve algorthm and try to attack the lower bound of the scaled lkelhood functon. Scaled lkelhood functon of UGM can be expressed as: ˆl(θ; D) = l(θ; D)/N = x ˆp(x)logp(x θ) = x ˆp(x) θ f (x) logz(θ)
8 8 8 : Learnng n Fully Observed Markov Networks Z(θ) s n the log, and we want to get rd of the log, so we can use the lnear upper bound of logarthm logz(θ) µz(θ) logµ 1. Ths bound holds for all µ, so we can set µ = Z 1 (θ (t) ). Now we have: ˆl(θ; D) ˆp(x) x θ f (x) Z(θ) Z(θ (t) ) logz(θ(t) ) + 1 We can see that now the frst part of the equaton s a lnear combnaton of coeffcent that we want to learn, and the second part Z(θ) s now not n logarthm form. We defne θ (t) = θ θ (t), that s the dfference between old and new verson of θ. Then we can plug θ (t) nto the lower bound: ˆl(θ; D) ˆp(x) θ f (x) x = θ ˆp(x)f (x) x x Z(θ) Z(θ (t) ) logz(θ(t) ) + 1 p(x θ (t) )exp θ (t) f (x) logz(θ (t) ) + 1 We assume f (x) 0 and f (x) = 1, then we can have a nequalty whch has smlar form as Jense s nequalty: exp( π x ) π exp(x ). so we can get the f (x) out of the exp n the above equaton, so we have: ˆl(θ; D) θ ˆp(x)f (x) p(x θ (t) ) f (x)exp θ (t) logz(θ (t) ) + 1 x x Take the dervatve and set t to zero we can have the closed-form soluton of θ: e θ(t) = x ˆp(x)f (x) x p(t) (x)f (x) Z(θ(t) ) We also have a relatonshp between the update functon of θ and total dstrbuton: θ (t+1) p (t+1) (x) = p (t) = θ (t) + θ (t) e θ(t) f (x) so the update rule for GIS s: p (t+1) (x) = p (t) (x) θ (t+1) ( x ˆp(x)f (x) (x)) x p(t) (x)f (x) )(f = θ (t) + log( x ˆp(x)f (x) x p(t) (x)f (x) ) Smlar to IPF, GIS also has to do nference n each teraton, that s to compute the expectaton over the feature functon x p(x) (x)f (x), so estmate a fully observed MRF can be very dffcult.
Hidden Markov Models & The Multivariate Gaussian (10/26/04)
CS281A/Stat241A: Statstcal Learnng Theory Hdden Markov Models & The Multvarate Gaussan (10/26/04) Lecturer: Mchael I. Jordan Scrbes: Jonathan W. Hu 1 Hdden Markov Models As a bref revew, hdden Markov models
More informationEM and Structure Learning
EM and Structure Learnng Le Song Machne Learnng II: Advanced Topcs CSE 8803ML, Sprng 2012 Partally observed graphcal models Mxture Models N(μ 1, Σ 1 ) Z X N N(μ 2, Σ 2 ) 2 Gaussan mxture model Consder
More informationLecture Notes on Linear Regression
Lecture Notes on Lnear Regresson Feng L fl@sdueducn Shandong Unversty, Chna Lnear Regresson Problem In regresson problem, we am at predct a contnuous target value gven an nput feature vector We assume
More informationLectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix
Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could
More informationConjugacy and the Exponential Family
CS281B/Stat241B: Advanced Topcs n Learnng & Decson Makng Conjugacy and the Exponental Famly Lecturer: Mchael I. Jordan Scrbes: Bran Mlch 1 Conjugacy In the prevous lecture, we saw conjugate prors for the
More information3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X
Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number
More informationLimited Dependent Variables
Lmted Dependent Varables. What f the left-hand sde varable s not a contnuous thng spread from mnus nfnty to plus nfnty? That s, gven a model = f (, β, ε, where a. s bounded below at zero, such as wages
More informationThe Expectation-Maximization Algorithm
The Expectaton-Maxmaton Algorthm Charles Elan elan@cs.ucsd.edu November 16, 2007 Ths chapter explans the EM algorthm at multple levels of generalty. Secton 1 gves the standard hgh-level verson of the algorthm.
More informationFeature Selection: Part 1
CSE 546: Machne Learnng Lecture 5 Feature Selecton: Part 1 Instructor: Sham Kakade 1 Regresson n the hgh dmensonal settng How do we learn when the number of features d s greater than the sample sze n?
More informationMATH 829: Introduction to Data Mining and Analysis The EM algorithm (part 2)
1/16 MATH 829: Introducton to Data Mnng and Analyss The EM algorthm (part 2) Domnque Gullot Departments of Mathematcal Scences Unversty of Delaware Aprl 20, 2016 Recall 2/16 We are gven ndependent observatons
More informationThe Geometry of Logit and Probit
The Geometry of Logt and Probt Ths short note s meant as a supplement to Chapters and 3 of Spatal Models of Parlamentary Votng and the notaton and reference to fgures n the text below s to those two chapters.
More informationStat260: Bayesian Modeling and Inference Lecture Date: February 22, Reference Priors
Stat60: Bayesan Modelng and Inference Lecture Date: February, 00 Reference Prors Lecturer: Mchael I. Jordan Scrbe: Steven Troxler and Wayne Lee In ths lecture, we assume that θ R; n hgher-dmensons, reference
More informationComposite Hypotheses testing
Composte ypotheses testng In many hypothess testng problems there are many possble dstrbutons that can occur under each of the hypotheses. The output of the source s a set of parameters (ponts n a parameter
More informationLecture 12: Discrete Laplacian
Lecture 12: Dscrete Laplacan Scrbe: Tanye Lu Our goal s to come up wth a dscrete verson of Laplacan operator for trangulated surfaces, so that we can use t n practce to solve related problems We are mostly
More informationGeneralized Linear Methods
Generalzed Lnear Methods 1 Introducton In the Ensemble Methods the general dea s that usng a combnaton of several weak learner one could make a better learner. More formally, assume that we have a set
More informationStanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011
Stanford Unversty CS359G: Graph Parttonng and Expanders Handout 4 Luca Trevsan January 3, 0 Lecture 4 In whch we prove the dffcult drecton of Cheeger s nequalty. As n the past lectures, consder an undrected
More informationAPPENDIX A Some Linear Algebra
APPENDIX A Some Lnear Algebra The collecton of m, n matrces A.1 Matrces a 1,1,..., a 1,n A = a m,1,..., a m,n wth real elements a,j s denoted by R m,n. If n = 1 then A s called a column vector. Smlarly,
More informationLecture 3: Probability Distributions
Lecture 3: Probablty Dstrbutons Random Varables Let us begn by defnng a sample space as a set of outcomes from an experment. We denote ths by S. A random varable s a functon whch maps outcomes nto the
More informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 12 10/21/2013. Martingale Concentration Inequalities and Applications
MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.65/15.070J Fall 013 Lecture 1 10/1/013 Martngale Concentraton Inequaltes and Applcatons Content. 1. Exponental concentraton for martngales wth bounded ncrements.
More informationSTATS 306B: Unsupervised Learning Spring Lecture 10 April 30
STATS 306B: Unsupervsed Learnng Sprng 2014 Lecture 10 Aprl 30 Lecturer: Lester Mackey Scrbe: Joey Arthur, Rakesh Achanta 10.1 Factor Analyss 10.1.1 Recap Recall the factor analyss (FA) model for lnear
More informationParametric fractional imputation for missing data analysis. Jae Kwang Kim Survey Working Group Seminar March 29, 2010
Parametrc fractonal mputaton for mssng data analyss Jae Kwang Km Survey Workng Group Semnar March 29, 2010 1 Outlne Introducton Proposed method Fractonal mputaton Approxmaton Varance estmaton Multple mputaton
More informationCS 2750 Machine Learning. Lecture 5. Density estimation. CS 2750 Machine Learning. Announcements
CS 750 Machne Learnng Lecture 5 Densty estmaton Mlos Hauskrecht mlos@cs.ptt.edu 539 Sennott Square CS 750 Machne Learnng Announcements Homework Due on Wednesday before the class Reports: hand n before
More informationOutline. Bayesian Networks: Maximum Likelihood Estimation and Tree Structure Learning. Our Model and Data. Outline
Outlne Bayesan Networks: Maxmum Lkelhood Estmaton and Tree Structure Learnng Huzhen Yu janey.yu@cs.helsnk.f Dept. Computer Scence, Unv. of Helsnk Probablstc Models, Sprng, 200 Notces: I corrected a number
More informationFor now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.
Neural Networks : Dervaton compled by Alvn Wan from Professor Jtendra Malk s lecture Ths type of computaton s called deep learnng and s the most popular method for many problems, such as computer vson
More informationANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)
Econ 413 Exam 13 H ANSWERS Settet er nndelt 9 deloppgaver, A,B,C, som alle anbefales å telle lkt for å gøre det ltt lettere å stå. Svar er gtt . Unfortunately, there s a prntng error n the hnt of
More informationUsing T.O.M to Estimate Parameter of distributions that have not Single Exponential Family
IOSR Journal of Mathematcs IOSR-JM) ISSN: 2278-5728. Volume 3, Issue 3 Sep-Oct. 202), PP 44-48 www.osrjournals.org Usng T.O.M to Estmate Parameter of dstrbutons that have not Sngle Exponental Famly Jubran
More informationLinear Approximation with Regularization and Moving Least Squares
Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...
More informationModule 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur
Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:
More informationLogistic Regression. CAP 5610: Machine Learning Instructor: Guo-Jun QI
Logstc Regresson CAP 561: achne Learnng Instructor: Guo-Jun QI Bayes Classfer: A Generatve model odel the posteror dstrbuton P(Y X) Estmate class-condtonal dstrbuton P(X Y) for each Y Estmate pror dstrbuton
More information10-701/ Machine Learning, Fall 2005 Homework 3
10-701/15-781 Machne Learnng, Fall 2005 Homework 3 Out: 10/20/05 Due: begnnng of the class 11/01/05 Instructons Contact questons-10701@autonlaborg for queston Problem 1 Regresson and Cross-valdaton [40
More informationHidden Markov Models
Hdden Markov Models Namrata Vaswan, Iowa State Unversty Aprl 24, 204 Hdden Markov Model Defntons and Examples Defntons:. A hdden Markov model (HMM) refers to a set of hdden states X 0, X,..., X t,...,
More informationMaximum Likelihood Estimation
Maxmum Lkelhood Estmaton INFO-2301: Quanttatve Reasonng 2 Mchael Paul and Jordan Boyd-Graber MARCH 7, 2017 INFO-2301: Quanttatve Reasonng 2 Paul and Boyd-Graber Maxmum Lkelhood Estmaton 1 of 9 Why MLE?
More informationLinear Feature Engineering 11
Lnear Feature Engneerng 11 2 Least-Squares 2.1 Smple least-squares Consder the followng dataset. We have a bunch of nputs x and correspondng outputs y. The partcular values n ths dataset are x y 0.23 0.19
More informationMaximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models
ECO 452 -- OE 4: Probt and Logt Models ECO 452 -- OE 4 Maxmum Lkelhood Estmaton of Bnary Dependent Varables Models: Probt and Logt hs note demonstrates how to formulate bnary dependent varables models
More informationInner Product. Euclidean Space. Orthonormal Basis. Orthogonal
Inner Product Defnton 1 () A Eucldean space s a fnte-dmensonal vector space over the reals R, wth an nner product,. Defnton 2 (Inner Product) An nner product, on a real vector space X s a symmetrc, blnear,
More informationNUMERICAL DIFFERENTIATION
NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the
More informationLecture 10 Support Vector Machines II
Lecture 10 Support Vector Machnes II 22 February 2016 Taylor B. Arnold Yale Statstcs STAT 365/665 1/28 Notes: Problem 3 s posted and due ths upcomng Frday There was an early bug n the fake-test data; fxed
More informationEcon107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4)
I. Classcal Assumptons Econ7 Appled Econometrcs Topc 3: Classcal Model (Studenmund, Chapter 4) We have defned OLS and studed some algebrac propertes of OLS. In ths topc we wll study statstcal propertes
More informationExpectation propagation
Expectaton propagaton Lloyd Ellott May 17, 2011 Suppose p(x) s a pdf and we have a factorzaton p(x) = 1 Z n f (x). (1) =1 Expectaton propagaton s an nference algorthm desgned to approxmate the factors
More informationU.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017
U.C. Berkeley CS94: Beyond Worst-Case Analyss Handout 4s Luca Trevsan September 5, 07 Summary of Lecture 4 In whch we ntroduce semdefnte programmng and apply t to Max Cut. Semdefnte Programmng Recall that
More informationStatistical analysis using matlab. HY 439 Presented by: George Fortetsanakis
Statstcal analyss usng matlab HY 439 Presented by: George Fortetsanaks Roadmap Probablty dstrbutons Statstcal estmaton Fttng data to probablty dstrbutons Contnuous dstrbutons Contnuous random varable X
More informationThe Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction
ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also
More informationMLE and Bayesian Estimation. Jie Tang Department of Computer Science & Technology Tsinghua University 2012
MLE and Bayesan Estmaton Je Tang Department of Computer Scence & Technology Tsnghua Unversty 01 1 Lnear Regresson? As the frst step, we need to decde how we re gong to represent the functon f. One example:
More informationSDMML HT MSc Problem Sheet 4
SDMML HT 06 - MSc Problem Sheet 4. The recever operatng characterstc ROC curve plots the senstvty aganst the specfcty of a bnary classfer as the threshold for dscrmnaton s vared. Let the data space be
More informationEEE 241: Linear Systems
EEE : Lnear Systems Summary #: Backpropagaton BACKPROPAGATION The perceptron rule as well as the Wdrow Hoff learnng were desgned to tran sngle layer networks. They suffer from the same dsadvantage: they
More information2E Pattern Recognition Solutions to Introduction to Pattern Recognition, Chapter 2: Bayesian pattern classification
E395 - Pattern Recognton Solutons to Introducton to Pattern Recognton, Chapter : Bayesan pattern classfcaton Preface Ths document s a soluton manual for selected exercses from Introducton to Pattern Recognton
More informationHere is the rationale: If X and y have a strong positive relationship to one another, then ( x x) will tend to be positive when ( y y)
Secton 1.5 Correlaton In the prevous sectons, we looked at regresson and the value r was a measurement of how much of the varaton n y can be attrbuted to the lnear relatonshp between y and x. In ths secton,
More informationPrimer on High-Order Moment Estimators
Prmer on Hgh-Order Moment Estmators Ton M. Whted July 2007 The Errors-n-Varables Model We wll start wth the classcal EIV for one msmeasured regressor. The general case s n Erckson and Whted Econometrc
More information9 : Learning Partially Observed GM : EM Algorithm
10-708: Probablstc Graphcal Models 10-708, Sprng 2014 9 : Learnng Partally Observed GM : EM Algorthm Lecturer: Erc P. Xng Scrbes: Rohan Ramanath, Rahul Goutam 1 Generalzed Iteratve Scalng In ths secton,
More informationPredictive Analytics : QM901.1x Prof U Dinesh Kumar, IIMB. All Rights Reserved, Indian Institute of Management Bangalore
Sesson Outlne Introducton to classfcaton problems and dscrete choce models. Introducton to Logstcs Regresson. Logstc functon and Logt functon. Maxmum Lkelhood Estmator (MLE) for estmaton of LR parameters.
More informationCSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography
CSc 6974 and ECSE 6966 Math. Tech. for Vson, Graphcs and Robotcs Lecture 21, Aprl 17, 2006 Estmatng A Plane Homography Overvew We contnue wth a dscusson of the major ssues, usng estmaton of plane projectve
More informationFinite Mixture Models and Expectation Maximization. Most slides are from: Dr. Mario Figueiredo, Dr. Anil Jain and Dr. Rong Jin
Fnte Mxture Models and Expectaton Maxmzaton Most sldes are from: Dr. Maro Fgueredo, Dr. Anl Jan and Dr. Rong Jn Recall: The Supervsed Learnng Problem Gven a set of n samples X {(x, y )},,,n Chapter 3 of
More informationDifference Equations
Dfference Equatons c Jan Vrbk 1 Bascs Suppose a sequence of numbers, say a 0,a 1,a,a 3,... s defned by a certan general relatonshp between, say, three consecutve values of the sequence, e.g. a + +3a +1
More informationHomework Assignment 3 Due in class, Thursday October 15
Homework Assgnment 3 Due n class, Thursday October 15 SDS 383C Statstcal Modelng I 1 Rdge regresson and Lasso 1. Get the Prostrate cancer data from http://statweb.stanford.edu/~tbs/elemstatlearn/ datasets/prostate.data.
More informationGlobal Sensitivity. Tuesday 20 th February, 2018
Global Senstvty Tuesday 2 th February, 28 ) Local Senstvty Most senstvty analyses [] are based on local estmates of senstvty, typcally by expandng the response n a Taylor seres about some specfc values
More informationFinding Dense Subgraphs in G(n, 1/2)
Fndng Dense Subgraphs n Gn, 1/ Atsh Das Sarma 1, Amt Deshpande, and Rav Kannan 1 Georga Insttute of Technology,atsh@cc.gatech.edu Mcrosoft Research-Bangalore,amtdesh,annan@mcrosoft.com Abstract. Fndng
More informationj) = 1 (note sigma notation) ii. Continuous random variable (e.g. Normal distribution) 1. density function: f ( x) 0 and f ( x) dx = 1
Random varables Measure of central tendences and varablty (means and varances) Jont densty functons and ndependence Measures of assocaton (covarance and correlaton) Interestng result Condtonal dstrbutons
More informationWeek3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity
Week3, Chapter 4 Moton n Two Dmensons Lecture Quz A partcle confned to moton along the x axs moves wth constant acceleraton from x =.0 m to x = 8.0 m durng a 1-s tme nterval. The velocty of the partcle
More informationWeek 5: Neural Networks
Week 5: Neural Networks Instructor: Sergey Levne Neural Networks Summary In the prevous lecture, we saw how we can construct neural networks by extendng logstc regresson. Neural networks consst of multple
More informationLINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity
LINEAR REGRESSION ANALYSIS MODULE IX Lecture - 30 Multcollnearty Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur 2 Remedes for multcollnearty Varous technques have
More informationProf. Dr. I. Nasser Phys 630, T Aug-15 One_dimensional_Ising_Model
EXACT OE-DIMESIOAL ISIG MODEL The one-dmensonal Isng model conssts of a chan of spns, each spn nteractng only wth ts two nearest neghbors. The smple Isng problem n one dmenson can be solved drectly n several
More informationReport on Image warping
Report on Image warpng Xuan Ne, Dec. 20, 2004 Ths document summarzed the algorthms of our mage warpng soluton for further study, and there s a detaled descrpton about the mplementaton of these algorthms.
More informationELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM
ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM An elastc wave s a deformaton of the body that travels throughout the body n all drectons. We can examne the deformaton over a perod of tme by fxng our look
More informationBézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0
Bézer curves Mchael S. Floater September 1, 215 These notes provde an ntroducton to Bézer curves. 1 Bernsten polynomals Recall that a real polynomal of a real varable x R, wth degree n, s a functon of
More informationLecture 3 Stat102, Spring 2007
Lecture 3 Stat0, Sprng 007 Chapter 3. 3.: Introducton to regresson analyss Lnear regresson as a descrptve technque The least-squares equatons Chapter 3.3 Samplng dstrbuton of b 0, b. Contnued n net lecture
More informationProbabilistic Classification: Bayes Classifiers. Lecture 6:
Probablstc Classfcaton: Bayes Classfers Lecture : Classfcaton Models Sam Rowes January, Generatve model: p(x, y) = p(y)p(x y). p(y) are called class prors. p(x y) are called class condtonal feature dstrbutons.
More informationxp(x µ) = 0 p(x = 0 µ) + 1 p(x = 1 µ) = µ
CSE 455/555 Sprng 2013 Homework 7: Parametrc Technques Jason J. Corso Computer Scence and Engneerng SUY at Buffalo jcorso@buffalo.edu Solutons by Yngbo Zhou Ths assgnment does not need to be submtted and
More informationComputing MLE Bias Empirically
Computng MLE Bas Emprcally Kar Wa Lm Australan atonal Unversty January 3, 27 Abstract Ths note studes the bas arses from the MLE estmate of the rate parameter and the mean parameter of an exponental dstrbuton.
More informationLecture 4: September 12
36-755: Advanced Statstcal Theory Fall 016 Lecture 4: September 1 Lecturer: Alessandro Rnaldo Scrbe: Xao Hu Ta Note: LaTeX template courtesy of UC Berkeley EECS dept. Dsclamer: These notes have not been
More informationMarginal Effects in Probit Models: Interpretation and Testing. 1. Interpreting Probit Coefficients
ECON 5 -- NOE 15 Margnal Effects n Probt Models: Interpretaton and estng hs note ntroduces you to the two types of margnal effects n probt models: margnal ndex effects, and margnal probablty effects. It
More informationLecture 21: Numerical methods for pricing American type derivatives
Lecture 21: Numercal methods for prcng Amercan type dervatves Xaoguang Wang STAT 598W Aprl 10th, 2014 (STAT 598W) Lecture 21 1 / 26 Outlne 1 Fnte Dfference Method Explct Method Penalty Method (STAT 598W)
More informationChapter 12. Ordinary Differential Equation Boundary Value (BV) Problems
Chapter. Ordnar Dfferental Equaton Boundar Value (BV) Problems In ths chapter we wll learn how to solve ODE boundar value problem. BV ODE s usuall gven wth x beng the ndependent space varable. p( x) q(
More informationModelli Clamfim Equazione del Calore Lezione ottobre 2014
CLAMFIM Bologna Modell 1 @ Clamfm Equazone del Calore Lezone 17 15 ottobre 2014 professor Danele Rtell danele.rtell@unbo.t 1/24? Convoluton The convoluton of two functons g(t) and f(t) s the functon (g
More informationPHYS 705: Classical Mechanics. Calculus of Variations II
1 PHYS 705: Classcal Mechancs Calculus of Varatons II 2 Calculus of Varatons: Generalzaton (no constrant yet) Suppose now that F depends on several dependent varables : We need to fnd such that has a statonary
More informationAdditional Codes using Finite Difference Method. 1 HJB Equation for Consumption-Saving Problem Without Uncertainty
Addtonal Codes usng Fnte Dfference Method Benamn Moll 1 HJB Equaton for Consumpton-Savng Problem Wthout Uncertanty Before consderng the case wth stochastc ncome n http://www.prnceton.edu/~moll/ HACTproect/HACT_Numercal_Appendx.pdf,
More informationKernel Methods and SVMs Extension
Kernel Methods and SVMs Extenson The purpose of ths document s to revew materal covered n Machne Learnng 1 Supervsed Learnng regardng support vector machnes (SVMs). Ths document also provdes a general
More informationCIS526: Machine Learning Lecture 3 (Sept 16, 2003) Linear Regression. Preparation help: Xiaoying Huang. x 1 θ 1 output... θ M x M
CIS56: achne Learnng Lecture 3 (Sept 6, 003) Preparaton help: Xaoyng Huang Lnear Regresson Lnear regresson can be represented by a functonal form: f(; θ) = θ 0 0 +θ + + θ = θ = 0 ote: 0 s a dummy attrbute
More informationEdge Isoperimetric Inequalities
November 7, 2005 Ross M. Rchardson Edge Isopermetrc Inequaltes 1 Four Questons Recall that n the last lecture we looked at the problem of sopermetrc nequaltes n the hypercube, Q n. Our noton of boundary
More informationEigenvalues of Random Graphs
Spectral Graph Theory Lecture 2 Egenvalues of Random Graphs Danel A. Spelman November 4, 202 2. Introducton In ths lecture, we consder a random graph on n vertces n whch each edge s chosen to be n the
More informationAssortment Optimization under MNL
Assortment Optmzaton under MNL Haotan Song Aprl 30, 2017 1 Introducton The assortment optmzaton problem ams to fnd the revenue-maxmzng assortment of products to offer when the prces of products are fxed.
More informationINF 5860 Machine learning for image classification. Lecture 3 : Image classification and regression part II Anne Solberg January 31, 2018
INF 5860 Machne learnng for mage classfcaton Lecture 3 : Image classfcaton and regresson part II Anne Solberg January 3, 08 Today s topcs Multclass logstc regresson and softma Regularzaton Image classfcaton
More informationEcon Statistical Properties of the OLS estimator. Sanjaya DeSilva
Econ 39 - Statstcal Propertes of the OLS estmator Sanjaya DeSlva September, 008 1 Overvew Recall that the true regresson model s Y = β 0 + β 1 X + u (1) Applyng the OLS method to a sample of data, we estmate
More informationCalculation of time complexity (3%)
Problem 1. (30%) Calculaton of tme complexty (3%) Gven n ctes, usng exhaust search to see every result takes O(n!). Calculaton of tme needed to solve the problem (2%) 40 ctes:40! dfferent tours 40 add
More informationAn Experiment/Some Intuition (Fall 2006): Lecture 18 The EM Algorithm heads coin 1 tails coin 2 Overview Maximum Likelihood Estimation
An Experment/Some Intuton I have three cons n my pocket, 6.864 (Fall 2006): Lecture 18 The EM Algorthm Con 0 has probablty λ of heads; Con 1 has probablty p 1 of heads; Con 2 has probablty p 2 of heads
More informationSupplementary material: Margin based PU Learning. Matrix Concentration Inequalities
Supplementary materal: Margn based PU Learnng We gve the complete proofs of Theorem and n Secton We frst ntroduce the well-known concentraton nequalty, so the covarance estmator can be bounded Then we
More informationThe EM Algorithm (Dempster, Laird, Rubin 1977) The missing data or incomplete data setting: ODL(φ;Y ) = [Y;φ] = [Y X,φ][X φ] = X
The EM Algorthm (Dempster, Lard, Rubn 1977 The mssng data or ncomplete data settng: An Observed Data Lkelhood (ODL that s a mxture or ntegral of Complete Data Lkelhoods (CDL. (1a ODL(;Y = [Y;] = [Y,][
More informationComplete subgraphs in multipartite graphs
Complete subgraphs n multpartte graphs FLORIAN PFENDER Unverstät Rostock, Insttut für Mathematk D-18057 Rostock, Germany Floran.Pfender@un-rostock.de Abstract Turán s Theorem states that every graph G
More informationMACHINE APPLIED MACHINE LEARNING LEARNING. Gaussian Mixture Regression
11 MACHINE APPLIED MACHINE LEARNING LEARNING MACHINE LEARNING Gaussan Mture Regresson 22 MACHINE APPLIED MACHINE LEARNING LEARNING Bref summary of last week s lecture 33 MACHINE APPLIED MACHINE LEARNING
More informationChapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems
Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons
More informationThe Feynman path integral
The Feynman path ntegral Aprl 3, 205 Hesenberg and Schrödnger pctures The Schrödnger wave functon places the tme dependence of a physcal system n the state, ψ, t, where the state s a vector n Hlbert space
More informationModule 9. Lecture 6. Duality in Assignment Problems
Module 9 1 Lecture 6 Dualty n Assgnment Problems In ths lecture we attempt to answer few other mportant questons posed n earler lecture for (AP) and see how some of them can be explaned through the concept
More informationProblem Set 9 Solutions
Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem
More informationThe exam is closed book, closed notes except your one-page cheat sheet.
CS 89 Fall 206 Introducton to Machne Learnng Fnal Do not open the exam before you are nstructed to do so The exam s closed book, closed notes except your one-page cheat sheet Usage of electronc devces
More informationLECTURE 9 CANONICAL CORRELATION ANALYSIS
LECURE 9 CANONICAL CORRELAION ANALYSIS Introducton he concept of canoncal correlaton arses when we want to quantfy the assocatons between two sets of varables. For example, suppose that the frst set of
More informationThe Basic Idea of EM
The Basc Idea of EM Janxn Wu LAMDA Group Natonal Key Lab for Novel Software Technology Nanjng Unversty, Chna wujx2001@gmal.com June 7, 2017 Contents 1 Introducton 1 2 GMM: A workng example 2 2.1 Gaussan
More informationPhysics 5153 Classical Mechanics. D Alembert s Principle and The Lagrangian-1
P. Guterrez Physcs 5153 Classcal Mechancs D Alembert s Prncple and The Lagrangan 1 Introducton The prncple of vrtual work provdes a method of solvng problems of statc equlbrum wthout havng to consder the
More informationC4B Machine Learning Answers II. = σ(z) (1 σ(z)) 1 1 e z. e z = σ(1 σ) (1 + e z )
C4B Machne Learnng Answers II.(a) Show that for the logstc sgmod functon dσ(z) dz = σ(z) ( σ(z)) A. Zsserman, Hlary Term 20 Start from the defnton of σ(z) Note that Then σ(z) = σ = dσ(z) dz = + e z e z
More informationCollege of Computer & Information Science Fall 2009 Northeastern University 20 October 2009
College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:
More informationU.C. Berkeley CS294: Beyond Worst-Case Analysis Handout 6 Luca Trevisan September 12, 2017
U.C. Berkeley CS94: Beyond Worst-Case Analyss Handout 6 Luca Trevsan September, 07 Scrbed by Theo McKenze Lecture 6 In whch we study the spectrum of random graphs. Overvew When attemptng to fnd n polynomal
More information4 Analysis of Variance (ANOVA) 5 ANOVA. 5.1 Introduction. 5.2 Fixed Effects ANOVA
4 Analyss of Varance (ANOVA) 5 ANOVA 51 Introducton ANOVA ANOVA s a way to estmate and test the means of multple populatons We wll start wth one-way ANOVA If the populatons ncluded n the study are selected
More information