Absolute chain codes. Relative chain code. Chain code. Shape representations vs. descriptors. Start
|
|
- Amelia Singleton
- 5 years ago
- Views:
Transcription
1 Shape representatons vs. descrptors After the segmentaton of an mage, ts regons or edges are represented and descrbed n a manner approprate for further processng. Shape representaton: the ways we store and represent the obects Permeter Interor Shape descrptors: methods for characterzng obect shapes. The resultng feature values should be useful for dscrmnaton between dfferent obect types. Start Absolute chan codes Search drecton: look to the left frst and check neghbors n clockwse drecton Chan code n clockwse drecton: INF 43 INF 43 Chan code The chan code depends on the startng pont. It can be normalzed for start pont by treatng t as a crcular/perodc sequence, and redefne the startng pont so that the resultng number s of mnmum magntude. We can also normalze for rotaton by usng the frst dfference of the chan code: (drecton changes between code elements Code: 33 Frst dfference (counterclockwse: Mnmum crcular shft of frst dfference: To fnd the dfference, look at the code and count 3 counterclockwse drectons. Treatng the curve as crcular we add the 3 for the frst pont. Ths nvarance s only vald f the boundary tself s nvarant to rotaton and scale. INF 43 3 Relatve chan code Drectons are defned n relaton to a movng perspectve. Example: Orders gven to a blnd drver ("F, "B, "L, "R". The drectonal code representng any partcular secton of lne s relatve to the drectonal code of the precedng lne segment. Why s the relatve code: 3 R,F,F,R,F,R,R,L,L,R,R,F? Note: rotate the code table so that s The absolute chan code for the trangles are forward from your 4,,7 and, 5, 3. poston The relatve codes are 7, 7,. (Remember Forward s Invarant to rotaton, as long as startng pont remans the same. Start-pont nvarance by Mnmum crcular shft. To fnd the frst R, we look back to the end of the contour. INF 43 4
2 Sgnature representatons A sgnature s a D functonal representaton of a D boundary. It can be represented n several ways. Smple chose: radus vs. angle: Boundary segments from convex hull The boundary can be decomposed nto segments. Useful to extract nformaton from concave parts of the obects. Convex hull H of set S s the smallest convex set contanng S. The set dfference H-S s called the convex defcency D. If we trace the boundary and dentfy the ponts where we go n and out of the convex defcency, these ponts can represent mportant border ponts charaterzng the shape of the border. Border ponts are often nosy, and smoothng can be appled frst. Smooth the border by movng average of k boundary ponts. Use polygonal approxmaton to boundary. Smple algorthm to get convex hull from polygons. Invarant to translaton. Not nvarant to startng pont, rotaton or scalng. INF 43 5 INF 43 6 Descrptors extracted from the Convex Hull Useful features for shape characterzaton can be e.g.: Area of obect and area of convex hull (CH CH soldty aka convexty = (obect area/(ch area = The proporton of pxels n CH also n the obect Better than extent = (obect area/(area of boundng box Number of components of convex defcency Dstrbuton of component areas Relatve locaton of ponts where we go n and out of the convex defcency. ponts of local maxmal dstance to CH. Skeletons The skeleton of a regon s defned by the medal axs transform: For a regon R wth border B, for every pont p n R, fnd the closest neghbor n B. If p has more than one such neghbor, t belong to the medal axs. The skeleton S(A of an obect s the axs of the obect. The medal axs transform gves the dstance to the border. INF 43 7 INF 43 8
3 Introducton to Fourer descrptors Suppose that we have an obect S and that weareableto fndthelengthoftscontour. The contour should be a closed curve. We partton the contour nto M segments of equal length, and thereby fnd M equdstant ponts along the contour of S. Travelng ant-clockwse along ths contour at constant speed, we can collect a par of waveforms (=coordnates x(k and y(k. Any D sgnal representaton can be used for these. If the speed s such that one crcumnavgaton of the obect takes, x(k and y(x wll we perodc wth perod. y INF 43 9 x Remnder: complex numbers a+b b a+b a INF 43 Contour representaton usng D Fourer transform The coordnates (x,y of these M ponts are then put nto a complex vector s : s(k=x(k+y(k, k[,m-] We choose a drecton (e.g. ant-clockwse We vew the x-axs as the real axs and the y- axs as the magnary one for a sequence of complex numbers. The representaton of the obect contour s changed, but all the nformaton s preserved. We have transformed the contour problem from D to D. x = y = s( 3 s( s(3 3 3 s(4 3 4 INF 43 7 Start Fourer-coeffcents from f(k We perform a D forward Fourer transform a( u M M k uk s( kexp M M M k uk s( k cos M uk sn, M Complex coeffcents a(u are the Fourer representaton of boundary. a( contans the center of mass of the obect. Exclude a( as a feature for obect recognton. a(, a(,...,a(m- wll descrbe the obect n ncreasng detal. These depend on rotaton, scalng and startng pont of the contour. For obect recogntons, use only the N frst coeffcents (a(n, N<M Ths corresponds to settng a(k=, k>n- INF 43 u, M
4 Approxmatng a curve wth Fourer coeffcents n D Orgnal sgnal of length N=36 Take the Fourer transform of the sgnal of length N Keep only the M (<N/ frst Fourer coeffcents (set the others to n ampltude. Compute the nverse D Fourer transform of the modfed sgnal. Dsplay the sgnal correspondng to M coeffcents. Approxmatng n ncreasng detal m= m=3 m=4 m=8 Reconstructed sgnal usng only Fourer coeffcents m= m=3 m=5 Orgnal INF 43 3 INF 43 4 Look back to D Fourer spectra (3 Fourer Symbol reconstructon Inverse Fourer transform gves an approxmaton to the orgnal contour N ˆ( uk s k a( uexp, k, M k M We have only used N features to reconstruct each component of sˆ ( k. The number of ponts n the approxmaton s the same (M, but the number of coeffcents (features used to reconstruct each pont s smaller (N<M. Most of the energy s concentrated along the lowest frequences.we can reconstruct the mage wth an ncreasng accuracy by startng wth the lowest frequences and addng hgher...3 INF 43 5 Use an even number of descrptors. The frst -6 descrptors are found to be suffcent for character descrpton. They can be used as features for classfcaton. The Fourer descrptors can be nvarant to translaton and rotaton f the coordnate system s approprately chosen. All propertes of D Fourer transform pars (scalng, translaton, rotaton can be appled. INF 43 6
5 Fourer descrptor example Fourer coeffcents and nvarance Image, 6x pxels Boundary coeffcents 4 coeffcents 6 coeffcents 8 coeffcents coeffcents Matlab DIPUM Toolbox: b=boundares(f; b=b{}; %sze(b tells that the contour s 65 pxels long bm=boundm(b,6,; %must tell mage dmenson z=frdescp(b; znv=frdesc(z,; zm=boundm(znv,6,; mshow(zm; Translaton affects only the center of mass (a(. Rotaton only affects the phase of the coeffcents. Scalng affects all coeffcents n the same way, so ratos a(u /a(u are not affected. The start pont affects the phase of the coeffcents. Normalzed coeffcents can be obtaned, but s beyond the scope of ths course. See e.g., Ø. D. Trer, A. Jan and T. Taxt, Feature extracton methods for character recognton a survey. Pattern Recognton, vol. 9, no. 4, pp , 996. INF 43 7 INF 43 8 Run Length Encodng of Obects Sequences of adacent pxels are represented as runs. Absolute notaton of foreground n bnary mages: Run = ;<row, column, runlength >; Relatve notaton n graylevel mages: ;(graylevel, runlength ; Ths s used as a lossless compresson transform. Relatve notaton n bnary mages: Start value, length, length,, eol, Start value, length, length,, eol,eol. Ths s also useful for representaton of mage bt planes. RLE s found n TIFF, GIF, JPEG,, and n fax machnes. INF 43 9 Gray code Is the conventonal bnary representaton of graylevels optmal? Consder a sngle band graylevel mage havng b bt planes. We desre a mnmum complexty n each bt plane Because the run-length transform wll be most effcent. Conventonal bnary representaton gves hgh complexty. If the graylevel value fluctuates between k - and k, k+ bts wll change value: example: 7 = whle 8 = In Gray Code only one bt changes f graylevel s changed by. The transton from bnary code to gray code s a reversble transform, whle both bnary code and gray code are codes. INF 43
6 Gray Code transforms Learnng goals - representaton Bnary Code to Gray Code :. Start by MSB n BC and keep all untl you ht. s kept, but all followng bts are complemented untl you ht 3. s complemented, but all followng bts are kept untl you ht 4. Go to. Gray Code to Bnary Code :. Start by MSB n GC and keep all untl you ht. s kept, but all followng bts are complemented untl you ht. 3. s complemented, but all followng bts are kept untl you ht. 4. Go to. Chan codes Absolute Frst dfference Relatve Mnmum crcular shft Polygonzaton Focus on recursve Sgnatures Convex hull Skeletons Thnnng Fourer descrptors Run Length Encodng INF 43 INF 43 Bayes rule for a classfcaton problem Suppose we have J, =,...J classes. s the class label for a pxel, and x s the observed feature vector. We can use Bayes rule to fnd an expresson for the class wth the hghest probablty: p( x P( P( x p( x pror probablty posteror probablty lkelhood normalzng factor P( s the pror probablty for class. If we don't have specal knowledge that one of the classes occur more frequent than other classes, we set them equal for all classes. (P( =/J, =.,,,J. Eucldean dstance vs. Mahalanobs dstance Eucldean dstance between pont x and class center : T x x x Mahalanobs dstance between x and : r T x x INF 43 3 INF 43 4
7 Dscrmnant functons for the normal densty We saw that the mnmum-error-rate classfcaton can computed usng the dscrmnant functons g ( x ln p( x ln P( Wth a multvarate Gaussan we get: t g ( x ( x μ d ( x μ ln ln ln P( Let ut look at ths expresson for some specal cases: INF 43 5 Case : Σ =σ I An equvalent formulaton of the dscrmnant functons: t g ( x w x w t where w μ and ln ( w μ μ P The equaton g (x=g (x canbe wrttenas t w ( x x where w μ -μ and x P( μ -μ ln μ -μ μ -μ w= - s the vector between the mean values. Ths equaton defnes a hyperplane through the pont x, and orthogonal to w. If P( =P( the hyperplane wll be located halfway between the mean values. P( INF 43 6 A smple model, Σ =σ I The dstrbutons are sphercal n d dmensons. The decson boundary s a generalzed hyperplane of d- dmensons The decson boundary s perpendcular to the lne separatng the two mean values Ths knd of a classfer s called a lnear classfer, or a lnear dscrmnant functon Because the decson functon s a lnear functon of x. If P( = P(, the decson boundary wll be half-way between and INF 43 7 Case : Common covarance, Σ = Σ If we assume that all classes have the same shape of data clusters, an ntutve model s to assume that ther probablty dstrbutons have the same shape By ths assumpton we can use all the data to estmate the covarance matrx Ths estmate s common for all classes, and ths means that also n ths case the dscrmnant functons become lnear functons T g ( x ( x μ Σ ( x μ ln Σ ln P( T T T ( x Σ x μ Σ x μ Σ μ ln Σ ln P( Common for all classes, no need to compute Snce x T x s common for all classes, g (x agan reduces to a lnear functon of x. INF 43 8
8 Case : Common covarance, Σ = Σ An equvalent formulaton of the dscrmnant functons s t g ( x wx w where w Σ μ t and w μ Σ μ ln P( The decson boundares are agan hyperplanes. Because w = Σ - ( - s not n the drecton of ( -, the hyperplane wl not be orthogonal to the lne between the means. Case 3:, Σ =arbtrary The dscrmnant functons wll be quadratc: t t g ( x x W x w x w where W Σ, w Σ μ t and w μ Σ μ ln Σ ln P( The decson surfaces are hyperquadrcs and can assume any of the general forms: hyperplanes hypershperes pars of hyperplanes hyperellsods, hyperparabolods hyperhyperbolod INF 43 9 INF 43 3 Use few, but good features To avod the curse of dmensonalty we must take care n fndng a set of relatvely few features. A good feature has hgh wthn-class homogenety, and should deally have large between-class separaton. In practse, one feature s not enough to separate all classes, but a good feature should: separate some of the classes well Isolate one class from the others. If two features look very smlar (or have hgh correlaton, they are often redundant and we should use only one of them. Class separaton can be studed by: Vsual nspecton of the feature mage overlad the tranng mask Scatter plots Evaluatng features as done by tranng can be dffcult to do automatcally, so manual nteracton s normally requred. INF 43 3 Exhaustve feature selecton If for some reason you know that you wll use d out of D avalable features, an exhaustve search wll nvolve a number of combnatons to test: D! n D d! d! If we want to perform an exhaustve search through D features for the optmal subset of the d m best features, the number of combnatons to test s m D! n D d! d! d Impractcal even for a moderate number of features! d 5, D = => n = INF 43 3
9 Suboptmal feature selecton k-nearest-neghbor classfcaton Select the best sngle features based on some qualty crtera, e.g., estmated correct classfcaton rate. A combnaton of the best sngle features wll often mply correlated features and wll therefore be suboptmal. More n INF 53 Sequental forward selecton mples that when a feature s selected or removed, ths decson s fnal. Stepwse forward-backward selecton overcomes ths. A specal case of the add - a, remove - r algorthm. Improved nto floatng search by makng the number of forward and backward search steps data dependent. Adaptve floatng search Oscllatng search. A very smple classfer. Classfcaton of a new sample x s done as follows: Out of N tranng vectors, dentfy the k nearest neghbors (measure by Eucldean dstance n the tranng set, rrespectvely of the class label. k should be odd. Out of these k samples, dentfy the number of vectors k that belong to class, :,,...M (f we have M classes Assgn x to the class wth the maxmum number of k samples. k must be selected a pror. INF INF About knn-classfcaton If k= (NN-classfcaton, each sample s assgned to the same class as the closest sample n the tranng data set. If the number of tranng samples s very hgh, ths can be a good rule. If k->, ths s theoretcally a very good classfer. Ths classfer nvolves no tranng tme, but the tme needed to classfy one pattern x wll depend on the number of tranng samples, as the dstance to all ponts n the tranng set must be computed. Practcal values for k: 3<=k<=9 Supervsed or unsupervsed classfcaton Supervsed classfcaton Classfy each obect or pxel nto a set of k known classes Class parameters are estmated usng a set of tranng samples from each class. Unsupervsed classfcaton Partton the feature space nto a set of k clusters k s not known and must be estmated (dffcult In both cases, classfcaton s based on the value of the set of n features x,...x n. The obect s classfed to the class whch has the hghest posteror probablty. The clusters we get are not the classes we want. INF INF 43 36
10 K-means clusterng Note: K-means algorthm normally means ISODATA, but dfferent defntons are found n dfferent books K s assumed to be known. Start wth assgnng K cluster centers k random data ponts, or the frst K ponts, or K equally spaces ponts For k=:k, Set k equal to the feature vector x k for these ponts.. Assgn each obect/pxel x n the mage to the closest cluster center usng Eucldean dstance. Compute for each sample the dstance r to each cluster center: T r x k x k x k Assgn x to the closest cluster (wth mnmum r value 3. Recompute the cluster centers based on the new labels. 4. Repeat from untl #changes<lmt. Learnng goals from classfcaton Be able to use and mplement Bayes rule wth a n- dmensonal Gaussan dstrbuton. Know how s and s are estmated. Understand the -dmensonal case where a covarance matrx s llustrated as an ellpse. Be able to smplfy the general dscrmnant functon for 3 cases. Have a geometrc nterpretaton of classfcaton wth features. ISODATA K-means: splttng and mergng of clusters are ncluded n the algorthm INF INF Learnng goals contnued Understand how dfferent measures of classfcaton accuracy work: Be famlar wth the curse of dmensonalty and the mportance of selectng few, but good features Understand knn-classfcaton Understand the dfference between supervsed and unsupervsed classfcaton Understand the Kmeans-algorthm. Be able to solve the prevous exam questons on classfcaton INF 43 39
Lecture 12: Classification
Lecture : Classfcaton g Dscrmnant functons g The optmal Bayes classfer g Quadratc classfers g Eucldean and Mahalanobs metrcs g K Nearest Neghbor Classfers Intellgent Sensor Systems Rcardo Guterrez-Osuna
More informationP R. Lecture 4. Theory and Applications of Pattern Recognition. Dept. of Electrical and Computer Engineering /
Theory and Applcatons of Pattern Recognton 003, Rob Polkar, Rowan Unversty, Glassboro, NJ Lecture 4 Bayes Classfcaton Rule Dept. of Electrcal and Computer Engneerng 0909.40.0 / 0909.504.04 Theory & Applcatons
More informationStatistical pattern recognition
Statstcal pattern recognton Bayes theorem Problem: decdng f a patent has a partcular condton based on a partcular test However, the test s mperfect Someone wth the condton may go undetected (false negatve
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 informationVQ widely used in coding speech, image, and video
at Scalar quantzers are specal cases of vector quantzers (VQ): they are constraned to look at one sample at a tme (memoryless) VQ does not have such constrant better RD perfomance expected Source codng
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 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 informationAffine transformations and convexity
Affne transformatons and convexty The purpose of ths document s to prove some basc propertes of affne transformatons nvolvng convex sets. Here are a few onlne references for background nformaton: http://math.ucr.edu/
More informationClustering & Unsupervised Learning
Clusterng & Unsupervsed Learnng Ken Kreutz-Delgado (Nuno Vasconcelos) ECE 175A Wnter 2012 UCSD Statstcal Learnng Goal: Gven a relatonshp between a feature vector x and a vector y, and d data samples (x,y
More informationUnified Subspace Analysis for Face Recognition
Unfed Subspace Analyss for Face Recognton Xaogang Wang and Xaoou Tang Department of Informaton Engneerng The Chnese Unversty of Hong Kong Shatn, Hong Kong {xgwang, xtang}@e.cuhk.edu.hk Abstract PCA, LDA
More informationStructure and Drive Paul A. Jensen Copyright July 20, 2003
Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.
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 informationMaximum Likelihood Estimation (MLE)
Maxmum Lkelhood Estmaton (MLE) Ken Kreutz-Delgado (Nuno Vasconcelos) ECE 175A Wnter 01 UCSD Statstcal Learnng Goal: Gven a relatonshp between a feature vector x and a vector y, and d data samples (x,y
More informationINF 4300 Digital Image Analysis REPETITION
INF 4300 Dgtal Image Analyss REPEIION Classfcaton PCA and Fsher s lnear dscrmnant Morphology Segmentaton Anne Solberg 406 INF 4300 Back to classfcaton error for thresholdng - Background - Foreground P
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 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 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 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 informationClassification as a Regression Problem
Target varable y C C, C,, ; Classfcaton as a Regresson Problem { }, 3 L C K To treat classfcaton as a regresson problem we should transform the target y nto numercal values; The choce of numercal class
More informationThe Gaussian classifier. Nuno Vasconcelos ECE Department, UCSD
he Gaussan classfer Nuno Vasconcelos ECE Department, UCSD Bayesan decson theory recall that we have state of the world X observatons g decson functon L[g,y] loss of predctng y wth g Bayes decson rule s
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 informationClustering & (Ken Kreutz-Delgado) UCSD
Clusterng & Unsupervsed Learnng Nuno Vasconcelos (Ken Kreutz-Delgado) UCSD Statstcal Learnng Goal: Gven a relatonshp between a feature vector x and a vector y, and d data samples (x,y ), fnd an approxmatng
More informationWhy Bayesian? 3. Bayes and Normal Models. State of nature: class. Decision rule. Rev. Thomas Bayes ( ) Bayes Theorem (yes, the famous one)
Why Bayesan? 3. Bayes and Normal Models Alex M. Martnez alex@ece.osu.edu Handouts Handoutsfor forece ECE874 874Sp Sp007 If all our research (n PR was to dsappear and you could only save one theory, whch
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 informationVideo Data Analysis. Video Data Analysis, B-IT
Lecture Vdeo Data Analyss Deformable Snakes Segmentaton Neural networks Lecture plan:. Segmentaton by morphologcal watershed. Deformable snakes 3. Segmentaton va classfcaton of patterns 4. Concept of a
More informationBoostrapaggregating (Bagging)
Boostrapaggregatng (Baggng) An ensemble meta-algorthm desgned to mprove the stablty and accuracy of machne learnng algorthms Can be used n both regresson and classfcaton Reduces varance and helps to avod
More informationCOMPUTATIONALLY EFFICIENT WAVELET AFFINE INVARIANT FUNCTIONS FOR SHAPE RECOGNITION. Erdem Bala, Dept. of Electrical and Computer Engineering,
COMPUTATIONALLY EFFICIENT WAVELET AFFINE INVARIANT FUNCTIONS FOR SHAPE RECOGNITION Erdem Bala, Dept. of Electrcal and Computer Engneerng, Unversty of Delaware, 40 Evans Hall, Newar, DE, 976 A. Ens Cetn,
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 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 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 informationSection 8.3 Polar Form of Complex Numbers
80 Chapter 8 Secton 8 Polar Form of Complex Numbers From prevous classes, you may have encountered magnary numbers the square roots of negatve numbers and, more generally, complex numbers whch are the
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 informationPATTERN RECOGNITION AND IMAGE UNDERSTANDING
PATTERN RECOGNITION AND IMAGE UNDERSTANDING The ultmate objectve of many mage analyss tasks s to dscover meanng of the analysed mage, e.g. categorse the objects, provde symbolc/semantc nterpretaton of
More informationLecture 10: Dimensionality reduction
Lecture : Dmensonalt reducton g The curse of dmensonalt g Feature etracton s. feature selecton g Prncpal Components Analss g Lnear Dscrmnant Analss Intellgent Sensor Sstems Rcardo Guterrez-Osuna Wrght
More informationRegularized Discriminant Analysis for Face Recognition
1 Regularzed Dscrmnant Analyss for Face Recognton Itz Pma, Mayer Aladem Department of Electrcal and Computer Engneerng, Ben-Guron Unversty of the Negev P.O.Box 653, Beer-Sheva, 845, Israel. Abstract Ths
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 informationClassification. Representing data: Hypothesis (classifier) Lecture 2, September 14, Reading: Eric CMU,
Machne Learnng 10-701/15-781, 781, Fall 2011 Nonparametrc methods Erc Xng Lecture 2, September 14, 2011 Readng: 1 Classfcaton Representng data: Hypothess (classfer) 2 1 Clusterng 3 Supervsed vs. Unsupervsed
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 informationSupport Vector Machines. Vibhav Gogate The University of Texas at dallas
Support Vector Machnes Vbhav Gogate he Unversty of exas at dallas What We have Learned So Far? 1. Decson rees. Naïve Bayes 3. Lnear Regresson 4. Logstc Regresson 5. Perceptron 6. Neural networks 7. K-Nearest
More informationBezier curves. Michael S. Floater. August 25, These notes provide an introduction to Bezier curves. i=0
Bezer curves Mchael S. Floater August 25, 211 These notes provde an ntroducton to Bezer curves. 1 Bernsten polynomals Recall that a real polynomal of a real varable x R, wth degree n, s a functon of the
More informationLossy Compression. Compromise accuracy of reconstruction for increased compression.
Lossy Compresson Compromse accuracy of reconstructon for ncreased compresson. The reconstructon s usually vsbly ndstngushable from the orgnal mage. Typcally, one can get up to 0:1 compresson wth almost
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 informationPattern Classification
Pattern Classfcaton All materals n these sldes ere taken from Pattern Classfcaton (nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wley & Sons, 000 th the permsson of the authors and the publsher
More information1 Convex Optimization
Convex Optmzaton We wll consder convex optmzaton problems. Namely, mnmzaton problems where the objectve s convex (we assume no constrants for now). Such problems often arse n machne learnng. For example,
More informationSalmon: Lectures on partial differential equations. Consider the general linear, second-order PDE in the form. ,x 2
Salmon: Lectures on partal dfferental equatons 5. Classfcaton of second-order equatons There are general methods for classfyng hgher-order partal dfferental equatons. One s very general (applyng even to
More informationC/CS/Phy191 Problem Set 3 Solutions Out: Oct 1, 2008., where ( 00. ), so the overall state of the system is ) ( ( ( ( 00 ± 11 ), Φ ± = 1
C/CS/Phy9 Problem Set 3 Solutons Out: Oct, 8 Suppose you have two qubts n some arbtrary entangled state ψ You apply the teleportaton protocol to each of the qubts separately What s the resultng state obtaned
More informationCommon loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule:
15-745 Lecture 6 Data Dependence n Loops Copyrght Seth Goldsten, 2008 Based on sldes from Allen&Kennedy Lecture 6 15-745 2005-8 1 Common loop optmzatons Hostng of loop-nvarant computatons pre-compute before
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 informationENG 8801/ Special Topics in Computer Engineering: Pattern Recognition. Memorial University of Newfoundland Pattern Recognition
EG 880/988 - Specal opcs n Computer Engneerng: Pattern Recognton Memoral Unversty of ewfoundland Pattern Recognton Lecture 7 May 3, 006 http://wwwengrmunca/~charlesr Offce Hours: uesdays hursdays 8:30-9:30
More informationMIMA Group. Chapter 2 Bayesian Decision Theory. School of Computer Science and Technology, Shandong University. Xin-Shun SDU
Group M D L M Chapter Bayesan Decson heory Xn-Shun Xu @ SDU School of Computer Scence and echnology, Shandong Unversty Bayesan Decson heory Bayesan decson theory s a statstcal approach to data mnng/pattern
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 informationp 1 c 2 + p 2 c 2 + p 3 c p m c 2
Where to put a faclty? Gven locatons p 1,..., p m n R n of m houses, want to choose a locaton c n R n for the fre staton. Want c to be as close as possble to all the house. We know how to measure dstance
More informationCS 3710: Visual Recognition Classification and Detection. Adriana Kovashka Department of Computer Science January 13, 2015
CS 3710: Vsual Recognton Classfcaton and Detecton Adrana Kovashka Department of Computer Scence January 13, 2015 Plan for Today Vsual recognton bascs part 2: Classfcaton and detecton Adrana s research
More informationMachine Learning. Classification. Theory of Classification and Nonparametric Classifier. Representing data: Hypothesis (classifier) Eric Xing
Machne Learnng 0-70/5 70/5-78, 78, Fall 008 Theory of Classfcaton and Nonarametrc Classfer Erc ng Lecture, Setember 0, 008 Readng: Cha.,5 CB and handouts Classfcaton Reresentng data: M K Hyothess classfer
More informationPsychology 282 Lecture #24 Outline Regression Diagnostics: Outliers
Psychology 282 Lecture #24 Outlne Regresson Dagnostcs: Outlers In an earler lecture we studed the statstcal assumptons underlyng the regresson model, ncludng the followng ponts: Formal statement of assumptons.
More informationAdvances in Digital Imaging and Computer Vision
Advances n Dgtal Imagng and Computer Vson Lecture and Lab 9 th lecture Κώστας Μαριάς Αναπληρωτής Καθηγητής Επεξεργασίας Εικόνας Kostas Maras Advances n Dgtal Imagng and Computer Vson 1 Shape Analyss Ανάλυση
More informationInstance-Based Learning (a.k.a. memory-based learning) Part I: Nearest Neighbor Classification
Instance-Based earnng (a.k.a. memory-based learnng) Part I: Nearest Neghbor Classfcaton Note to other teachers and users of these sldes. Andrew would be delghted f you found ths source materal useful n
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 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 informationCHAPTER-5 INFORMATION MEASURE OF FUZZY MATRIX AND FUZZY BINARY RELATION
CAPTER- INFORMATION MEASURE OF FUZZY MATRI AN FUZZY BINARY RELATION Introducton The basc concept of the fuzz matr theor s ver smple and can be appled to socal and natural stuatons A branch of fuzz matr
More information9.913 Pattern Recognition for Vision. Class IV Part I Bayesian Decision Theory Yuri Ivanov
9.93 Class IV Part I Bayesan Decson Theory Yur Ivanov TOC Roadmap to Machne Learnng Bayesan Decson Makng Mnmum Error Rate Decsons Mnmum Rsk Decsons Mnmax Crteron Operatng Characterstcs Notaton x - scalar
More informationFormulas for the Determinant
page 224 224 CHAPTER 3 Determnants e t te t e 2t 38 A = e t 2te t e 2t e t te t 2e 2t 39 If 123 A = 345, 456 compute the matrx product A adj(a) What can you conclude about det(a)? For Problems 40 43, use
More informationLearning from Data 1 Naive Bayes
Learnng from Data 1 Nave Bayes Davd Barber dbarber@anc.ed.ac.uk course page : http://anc.ed.ac.uk/ dbarber/lfd1/lfd1.html c Davd Barber 2001, 2002 1 Learnng from Data 1 : c Davd Barber 2001,2002 2 1 Why
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 information2.3 Nilpotent endomorphisms
s a block dagonal matrx, wth A Mat dm U (C) In fact, we can assume that B = B 1 B k, wth B an ordered bass of U, and that A = [f U ] B, where f U : U U s the restrcton of f to U 40 23 Nlpotent endomorphsms
More informationErrors for Linear Systems
Errors for Lnear Systems When we solve a lnear system Ax b we often do not know A and b exactly, but have only approxmatons  and ˆb avalable. Then the best thng we can do s to solve ˆx ˆb exactly whch
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 informationLinear Classification, SVMs and Nearest Neighbors
1 CSE 473 Lecture 25 (Chapter 18) Lnear Classfcaton, SVMs and Nearest Neghbors CSE AI faculty + Chrs Bshop, Dan Klen, Stuart Russell, Andrew Moore Motvaton: Face Detecton How do we buld a classfer to dstngush
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 information= = = (a) Use the MATLAB command rref to solve the system. (b) Let A be the coefficient matrix and B be the right-hand side of the system.
Chapter Matlab Exercses Chapter Matlab Exercses. Consder the lnear system of Example n Secton.. x x x y z y y z (a) Use the MATLAB command rref to solve the system. (b) Let A be the coeffcent matrx and
More informationA Bayes Algorithm for the Multitask Pattern Recognition Problem Direct Approach
A Bayes Algorthm for the Multtask Pattern Recognton Problem Drect Approach Edward Puchala Wroclaw Unversty of Technology, Char of Systems and Computer etworks, Wybrzeze Wyspanskego 7, 50-370 Wroclaw, Poland
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 informationChat eld, C. and A.J.Collins, Introduction to multivariate analysis. Chapman & Hall, 1980
MT07: Multvarate Statstcal Methods Mke Tso: emal mke.tso@manchester.ac.uk Webpage for notes: http://www.maths.manchester.ac.uk/~mkt/new_teachng.htm. Introducton to multvarate data. Books Chat eld, C. and
More informationWeek 9 Chapter 10 Section 1-5
Week 9 Chapter 10 Secton 1-5 Rotaton Rgd Object A rgd object s one that s nondeformable The relatve locatons of all partcles makng up the object reman constant All real objects are deformable to some extent,
More informationNumerical Heat and Mass Transfer
Master degree n Mechancal Engneerng Numercal Heat and Mass Transfer 06-Fnte-Dfference Method (One-dmensonal, steady state heat conducton) Fausto Arpno f.arpno@uncas.t Introducton Why we use models and
More informationA linear imaging system with white additive Gaussian noise on the observed data is modeled as follows:
Supplementary Note Mathematcal bacground A lnear magng system wth whte addtve Gaussan nose on the observed data s modeled as follows: X = R ϕ V + G, () where X R are the expermental, two-dmensonal proecton
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 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 information8 : Learning in Fully Observed Markov Networks. 1 Why We Need to Learn Undirected Graphical Models. 2 Structural Learning for Completely Observed MRF
10-708: Probablstc Graphcal Models 10-708, Sprng 2014 8 : 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
More informationMULTISPECTRAL IMAGE CLASSIFICATION USING BACK-PROPAGATION NEURAL NETWORK IN PCA DOMAIN
MULTISPECTRAL IMAGE CLASSIFICATION USING BACK-PROPAGATION NEURAL NETWORK IN PCA DOMAIN S. Chtwong, S. Wtthayapradt, S. Intajag, and F. Cheevasuvt Faculty of Engneerng, Kng Mongkut s Insttute of Technology
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 informationWhich Separator? Spring 1
Whch Separator? 6.034 - Sprng 1 Whch Separator? Mamze the margn to closest ponts 6.034 - Sprng Whch Separator? Mamze the margn to closest ponts 6.034 - Sprng 3 Margn of a pont " # y (w $ + b) proportonal
More informationFisher Linear Discriminant Analysis
Fsher Lnear Dscrmnant Analyss Max Wellng Department of Computer Scence Unversty of Toronto 10 Kng s College Road Toronto, M5S 3G5 Canada wellng@cs.toronto.edu Abstract Ths s a note to explan Fsher lnear
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 informationReview: Fit a line to N data points
Revew: Ft a lne to data ponts Correlated parameters: L y = a x + b Orthogonal parameters: J y = a (x ˆ x + b For ntercept b, set a=0 and fnd b by optmal average: ˆ b = y, Var[ b ˆ ] = For slope a, set
More informationHidden 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 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 informationNotes on Frequency Estimation in Data Streams
Notes on Frequency Estmaton n Data Streams In (one of) the data streamng model(s), the data s a sequence of arrvals a 1, a 2,..., a m of the form a j = (, v) where s the dentty of the tem and belongs to
More informationSupport Vector Machines
Support Vector Machnes Konstantn Tretyakov (kt@ut.ee) MTAT.03.227 Machne Learnng So far Supervsed machne learnng Lnear models Least squares regresson Fsher s dscrmnant, Perceptron, Logstc model Non-lnear
More information1 Derivation of Rate Equations from Single-Cell Conductance (Hodgkin-Huxley-like) Equations
Physcs 171/271 -Davd Klenfeld - Fall 2005 (revsed Wnter 2011) 1 Dervaton of Rate Equatons from Sngle-Cell Conductance (Hodgkn-Huxley-lke) Equatons We consder a network of many neurons, each of whch obeys
More informationThe big picture. Outline
The bg pcture Vncent Claveau IRISA - CNRS, sldes from E. Kjak INSA Rennes Notatons classes: C = {ω = 1,.., C} tranng set S of sze m, composed of m ponts (x, ω ) per class ω representaton space: R d (=
More informationNonlinear Classifiers II
Nonlnear Classfers II Nonlnear Classfers: Introducton Classfers Supervsed Classfers Lnear Classfers Perceptron Least Squares Methods Lnear Support Vector Machne Nonlnear Classfers Part I: Mult Layer Neural
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 informationEvaluation for sets of classes
Evaluaton for Tet Categorzaton Classfcaton accuracy: usual n ML, the proporton of correct decsons, Not approprate f the populaton rate of the class s low Precson, Recall and F 1 Better measures 21 Evaluaton
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 information1 Matrix representations of canonical matrices
1 Matrx representatons of canoncal matrces 2-d rotaton around the orgn: ( ) cos θ sn θ R 0 = sn θ cos θ 3-d rotaton around the x-axs: R x = 1 0 0 0 cos θ sn θ 0 sn θ cos θ 3-d rotaton around the y-axs:
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 informationOutline. Multivariate Parametric Methods. Multivariate Data. Basic Multivariate Statistics. Steven J Zeil
Outlne Multvarate Parametrc Methods Steven J Zel Old Domnon Unv. Fall 2010 1 Multvarate Data 2 Multvarate ormal Dstrbuton 3 Multvarate Classfcaton Dscrmnants Tunng Complexty Dscrete Features 4 Multvarate
More informationInductance Calculation for Conductors of Arbitrary Shape
CRYO/02/028 Aprl 5, 2002 Inductance Calculaton for Conductors of Arbtrary Shape L. Bottura Dstrbuton: Internal Summary In ths note we descrbe a method for the numercal calculaton of nductances among conductors
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 information