Efficient Multidimensional Searching Routines for Music Information Retrieval

Size: px
Start display at page:

Download "Efficient Multidimensional Searching Routines for Music Information Retrieval"

Transcription

1 Effcent Multdmensonal Searchng Routnes for Musc Informaton Retreval Josh Ress Jean-Julen ucouturer Mark Sandler Department of Electrcal Engneerng Kng s College London Strand. London WC2 2LR UK Phone: {josh.ress jean-julen.aucouturer mark.sandler}@kcl.ac.uk BSTRCT The problem of Musc Informaton Retreval can often be formalzed as searchng for multdmensonal trajectores. It s well known that strng-matchng technques provde robust and effectve theoretc solutons to ths problem. However for low dmensonal searches especally queres concernng a sngle vector as opposed to a seres of vectors there are a wde varety of other methods avalable. In ths work we examne and benchmark those methods and attempt to determne f they may be useful n the feld of nformaton retreval. Notably we propose the use of KD-Trees for multdmensonal nearneghbor searchng. We show that a KD-Tree s optmzed for multdmensonal data and s preferred over other methods that have been suggested such as the K-Tree the box-asssted sort and the multdmensonal quck-sort. 1. MULTIDIMENSIONL SERCHING IN MUSIC IR The generc task n Musc IR s to search for a query pattern ether a few seconds of raw acoustc data or some type of symbolc fle (such as MIDI) n a database of the same format. Fgure 1- Feature extracton Permsson to make dgtal or hard copes of all or part of ths work for personal or classroom use s granted wthout fee provded that copes are not made or dstrbuted for proft or commercal advantage and that copes bear ths notce and the full ctaton on the frst page. To perform ths task we have to encode the fles n a convenent way. If the fles are raw acoustc data we often resort to a feature extracton (fg. 1). The fles are cut nto M tme frames and for each frame we apply a sgnal-processng transform that outputs a vector of N features (e.g. psychoacoustcs parameters such as ptch loudness brghtness etc ). If the data s symbolc we smlarly encode each symbol (e.g. each note suppose there are M of them) wth a N- dmensonal vector (e.g. ptch duraton). In both cases the fles n the database are turned nto a trajectory of M vectors of dmenson N. Wthn ths framework two search strateges can be consdered: - Strng-matchng technques try to algn the two sequences of r r r r r r vectors x x } and y y } usng a set of { 1 2 x3 { 1 2 y3 elementary operatons (substtutons nsertons ). They have receved much coverage n the Musc IR communty (see for example [1]) snce they allow a context-dependent measure of smlarty and thus can account for many of the hgh-level specfctes of a muscal query (.e. replacng a note by ts octave shouldn t be a msmatch). They are robust and relatvely fast. - The other approach would be to fold the trajectores of M vectors of dmenson N nto embedded vectors of hgher dmenson M*N. For example wth M=3 and N=2: {( x y) 1 ( x y) 2( x y) 3} = ( x1 y1 x2 y2 x3 y3) The search problem now conssts of dentfyng the nearest vector n a multdmensonal data set (.e. the database) to some specfed vector (.e. the query). Ths approach may seem awkward as - We loose structure n the data that could be used to help the search routnes (e.g. the knowledge that x1 and x2 are coordnates of the same knd ). - We ncrease the dmensonalty of the search. However there has been a consderable amount of work n devsng very effcent searchng and sortng routnes for such multdmensonal data. complete revew of the multdmensonal data structures that mght be requred s descrbed by Samet et al. [23]. Non-herarchcal methods such as the use of grd fles [4] and extendable hashng [5] have been appled to multdmensonal searchng and analyzed extensvely. In many areas of research the KD-Tree has become accepted as

2 one of the most effcent and versatle methods of searchng. Ths and other technques have been studed n great detal throughout the feld of computatonal geometry [67]. Therefore we feel that Musc IR should captalze on these well-establshed technques. It s our hope that we can shed some lght on the benefcal uses of KD-Trees n ths feld and how the mult-dmensonal framework can be adapted to the peculartes of musc data. The paper s organzed as follows. In the next four sectons we revew four multdmensonal searchng routnes: The KD-Tree the K-Tree the Multdmensonal Quck-sort whch s an orgnal algorthm proposed by the authors and the Box-sssted Method. We then benchmark and compare these routnes wth an emphass on the very effcent KD-Tree algorthm. Fnally we examne some propertes of these algorthms as regards a multdmensonal approach to Musc IR. 2. THE KD-TREE 2.1 Descrpton Fg. 2 depcts the partton n 2 dmensons for ths data set. t each node the cut dmenson and the cut value (the medan of the correspondng data) are stored. The bucket sze has been chosen to be one. Fgure 2- The KD-Tree created usng the sample data. The correspondng parttonng of the plane s gven n Fg. 3. We note that ths example comes from a larger data set and thus does not appear properly balanced. Ths data set wll be used as an example n the dscusson of other methods. The K-dmensonal bnary search tree (or KD-Tree) s a hghly adaptable well-researched method for searchng multdmensonal data. Ths tree was frst ntroduced n Bentley et al.[9] studed extensvely n[10] and a hghly effcent and versatle mplementaton was descrbed n [11]. It s ths second mplementaton and varatons upon t that we wll be dealng wth here. There are two types of nodes n a KD-Tree the termnal nodes and the nternal nodes. The nternal nodes have two chldren a left and a rght son. These chldren represent a k- dmensonal partton of the hyperplane. Records on one sde of the partton are stored n the left sub-tree and on the other sde are records stored n the rght sub-tree. The termnal nodes are buckets whch contan up to a set amount of ponts. onedmensonal KD-Tree would n effect be a smple quck-sort. 2.2 Method The buldng of the KD-Tree works by frst determnng whch dmenson of the data has the largest spread.e. dfference between the maxmum and the mnmum. The sortng at the frst node s then performed along that dmenson. quckselect algorthm whch runs n order n tme fnds the mdpont of ths data. The data s then sorted along a branch dependng on whether t s larger or smaller than the mdpont. Ths succeeds n dvdng the data set nto two smaller data sets of equal sze. The same procedure s used at each node to determne the branchng of the smaller data sets resdng at each node. When the number of data ponts contaned at a node s smaller than or equal to a specfed sze then that node becomes a bucket and the data contaned wthn s no longer sorted. Consder the followng data: (7-3); B (42); C (-67); D (2-1); E (80); F (1-8); G (5-6); H (-89); I (98); J (-3-4); Fgure 3- The sample data as parttoned usng the KD-Tree method. nearest neghbor search may then be performed as a topdown recursve traversal of a porton of the tree. t each node the query pont s compared wth the cut value along the specfed cut dmenson. If along the cut dmenson the query pont s less than the cut value then the left branch s descended. Otherwse the rght branch s descended. When a bucket s reached all ponts n the bucket are compared to see f any of them s closer than the dstance to the nearest neghbor found so far. fter the descent s completed at any node encountered f the dstance to the closest neghbor found s greater than the dstance to the cut value then the other branch at that node needs to be descended as well. Searchng stops when no more branches need to be descended. Bentley recommends the use of parent nodes for each node n a tree structure. search may then be performed usng a bottom-up approach startng wth the bucket contanng the search pont and searchng through a small number of buckets

3 untl the approprate neghbors have been found. For nearest neghbor searches ths reduces computatonal tme from O(log m) to O(1). Ths however does not mmedately mprove on search tme for fndng near neghbors of ponts not n the database. Tmed trals ndcated that the ncreased speed due to bottom-up (as opposed to top-down) searches was neglgble. Ths s because most of the computatonal tme s spent n dstance calculatons and the reduced number of comparsons s neglgble. 3. THE K-TREE 3.1 Descrpton K-trees are a generalzaton of the sngle-dmensonal M- ary search tree. s a data comparatve search tree a K-tree stores data objects n both nternal and leaf nodes. herarchcal recursve subdvson of the k-dmensonal search space s nduced wth the space parttons followng the localty of the data. Each node n a K-tree contans K=2 k chld ponters. The root node of the tree represents the entre search space and each chld of the root represents a K-ant of the parent space. One of the dsadvantages of the K-tree s ts storage space requrements. In a standard mplementaton as descrbed here a tree of N k-dmensonal vectors requres a mnmum of k (2 + k) N felds. Only N-1 of the 2 k branches actually pont to a node. The rest pont to NULL data. For large k ths waste becomes prohbtve. 3.2 Method Consder the case of two-dmensonal data (k=2 K=4). Ths K-tree s known as a quad-tree and s a 4-ary tree wth each node possessng 4 chld ponters. The search space s a plane and the parttonng nduced by the structure s a herarchcal subdvson of the plane nto dsjont quadrants. If the data conssts of the 10 vectors descrbed n Secton 2.2 then the correspondng tree s depcted n Fg. 4 and the parttonng of the plane n Fg. 5. Fgure 5- The sample data as parttoned usng the KTree method. Searchng the tree s a recursve two-step process. cube that corresponds to the boundng extent of the search sphere s ntersected wth the tree at each node encountered. The bounds of ths cube are mantaned n a k-dmensonal range array. Ths array s ntalzed based on the search vector. t each node the drecton of search s determned based on ths ntersecton. search on a chld s dscontnued f the regon represented by the chld does not ntersect the search cube. Ths same general method may be appled to weghted radal and nearest neghbor searches. For radal searches the radus of the search sphere s fxed. For nearest neghbor searches t s doubled f the nearest neghbor has not been found and for weghted searches t s doubled f enough neghbors have not been found. 4. MULTIDIMENSIONL QUICKSORT 4.1 Descrpton For many analyses one wshes to search only select dmensons of the data. problem frequently encountered s that a dfferent sort would need to be performed for each search based on a dfferent dmenson or subset of all the dmensons. We propose here a multdmensonal generalzaton of the quck-sort routne. 4.2 Method Fgure 4- The KDTree created usng the sample data. Note that much of the tree s consumed by null ponters. The data s descrbed as a seres of N vectors where each 1 2 D vector s D dmensonal = ( X... X ). quck-sort s k k k k performed on each of the D dmensons. The orgnal array s not modfed. Instead two new arrays are created for each quck-sort. The frst s the quck-sort array an nteger array where the value at poston k n ths array s the poston n the data array of the k th smallest value n ths dmenson. The second array s the nverted quck-sort. It s an nteger array where the value at poston k n the array s the poston n the quck-sort array of the value k. Keepng both arrays allows one to dentfy both the locaton of a sorted value n the orgnal array and the locaton of a value n the sorted array. Thus f 1 X has the second smallest value n the thrd dmenson then t may be

4 X represented as 23. The value stored at the second ndex n the quck-sort array for the thrd dmenson wll be 1 and the value stored at the frst ndex n the nverted quck-sort array for the thrd dmenson wll be 2. Note that the addtonal memory overhead need not be large. For each floatng-pont value n the orgnal data two addtonal nteger values are stored- one from the quck-sort array and one from the nverted quck-sort array. We begn by lookng at a smple case and showng how the method can easly be generalzed. We consder the case of two-dmensonal data wth coordnates x and y where we make no assumptons about delay coordnate embeddngs or unformty of data. Suppose we wsh to fnd the nearest neghbor of the vector = ( x y). If ths vector s poston n the x-axs quck-sort s and ts poston n the y-axs quck-sort s j ( and j are found usng the nverted quck-sorts) then t may also be represented = = ( x y ) = = ( x y ). as x x x j y j y j y Usng the quck-sorts we search outward from the search vector elmnatng search drectons as we go. Reasonable canddates for nearest neghbor are the nearest neghbors on ether sde n the x-axs quck-sort and the nearest neghbors on ether sde n the y-axs quck-sort. The vector = ( x y ) correspondng to poston -1 n the x- 1 x 1 x 1 x axs quck-sort s the vector wth the closest x-coordnate such that x 1 x < x. Smlarly the vector + 1 x = ( x + 1 x y+ 1 x ) correspondng to +1 n the x-axs quck-sort s the vector wth the closest x-coordnate such that x1 > x. nd from the y-axs quck-sort we have the vectors j 1 y = ( x j1 y y j1 y ) and = ( x y ). These are the four vectors adjacent to j+ 1 y j+ 1 y j+ 1 y the search vector n the two quck-sorts. Each vector's dstance to the search vector s calculated and we store the mnmal dstance and the correspondng mnmal vector. If x 1 x x s greater than the mnmal dstance then we know that all vectors 1 x... 2 x must also be further away than the 1x mnmal vector. In that case we wll no longer search n decreasng values on the x-axs quck-sort. We would also no longer search n decreasng values on the x-axs quck-sort f has been reached. Lkewse f 1x x+ 1 x x s greater than the mnmal dstance then we know that all vectors + 1 x x must also be further away than the N x mnmal vector. If ether that s the case or has been N x reached then we would no longer search n ncreasng values on the x-axs quck-sort. The same rule apples to y j 1 y y and y y j+ 1 y. We then look at the four vectors 2 x + 2 x j and 2 y j +. If any of these s closer than 2 y the mnmal vector then we replace the mnmal vector wth ths one and the mnmal dstance wth ths dstance. If x 2 x x s greater than the mnmal dstance then we no longer need to contnue searchng n ths drecton. smlar comparson s made for x + 2 x x y j2 y y and y j+ 2 y y. Ths procedure s repeated for 3 x + 3 x j and 3 y j + and so on untl all search 3 y drectons have been elmnated. We fnd whch of these four vectors s closest to the search vector. We then search the next four closest ponts. If any of these ponts s further away n ts drecton of search than the mnmal dstance then we can elmnate that drecton from further search. lso f we reach the end of the data set n any drecton then we can elmnate that drecton. We fnd the dstance of the four ponts from our pont of nterest and f possble replace the mnmal dstance. We then proceed to the next four ponts and proceed ths way untl all drectons of search have been elmnated. The mnmal vector must be the nearest neghbor snce all other neghbor dstances have ether been calculated and found to be greater than the mnmal dstance or have been shown that they must be greater than the mnmal dstance. Extenson of ths algorthm to hgher dmensons s straghtforward. In n dmensons there are 2n possble drectons. Thus 2n mmedate neghbors are checked. mnmal dstance s found and then the next 2n neghbors are checked. Ths s contnued untl t can be shown that none of the 2n drectons can contan a nearer neghbor. It s easy to construct data sets for whch ths s a very neffcent search. For nstance f one s lookng for the closest pont to (00) and one were to fnd a large quantty of ponts resdng outsde the crcle of radus 1 but nsde the square of sde length 1 then all these ponts would need to be measured before the closer pont at (10) s consdered. However smlar stuatons can be constructed for most multdmensonal sort and search methods and preventatve measures can be taken. 5. THE BOX-SSISTED METHOD The box-asssted search method was descrbed by Schreber et al. [11] as a smple multdmensonal search method for nonlnear tme seres analyss. grd s created and all the vectors are sorted nto boxes n the grd. Fg. 6 demonstrates a two-dmensonal grd that would be created for the sample data. Searchng then nvolves fndng the box that a pont s n then searchng that box and all adjacent boxes. If the nearest neghbor has not been found then the search s expanded to the next adjacent boxes. The search s contnued untl all requred neghbors have been found. One of the dffcultes wth ths method s the determnaton of the approprate box sze. The sort s frequently talored to the type of search that s requred snce a box sze s requred and the preferred box sze s dependent on the type of search to be done. However one usually has only lmted a pror knowledge of the searches that may be performed. Thus the approprate box sze for one search may not be approprate for another. If the box sze s too small then many boxes are left unflled and many boxes wll need to be searched. Ths results n both excessve use of memory and excessve computaton.

5 Ths s true even for hgher dmensonal data although the convergence s much slower. Fgure 6- The sample data set as grdded nto 16 boxes n two dmensons usng the box-asssted method. The choce of box dmensonalty may also be problematc. Schreber et al.[11] suggest 2 dmensonal boxes. However ths may lead to neffcent searches for hgh dmensonal data. Hgher dmensonal data may stll be searched although many more boxes are often needed n order to fnd a nearest neghbor. On the other hand usng hgher dmensonal boxes wll exacerbate the memory neffcency. In the benchmarkng secton we wll consder both two and threedmensonal boxes. Fgure 7- The dependence of average search tme on data set sze. In Fgure 8 the KD-Tree s shown to have an exponental dependence on the dmensonalty of the data. Ths s an mportant result not mentoned n other work provdng dagnostc tests of the KD-Tree. [10 12] It mples that KD-Trees become neffcent for hgh dmensonal data. It s not yet known what search method s most preferable for neghbor searchng n a hgh dmenson (greater than 8). 6. BENCHMRKING ND COMPRISON OF METHODS In ths secton we compare the suggested sortng and searchng methods namely the box asssted method the KD- Tree the K-tree and the multdmensonal quck-sort. ll of these methods are preferable to a brute force search (where no sortng s done and all data vectors are examned each tme we do the searchng). However computatonal speed s not the only relevant factor. Complexty memory use and versatlty of each method wll also be dscussed. The versatlty of the method comes n two flavors- how well the method works on unusual data and how adaptable the method s to unusual searches. The multdmensonal bnary representaton and the unform K-Tree descrbed n the prevous two sectons are not compared wth the others because they are specalzed sorts used only for exceptonal crcumstances. 6.1 Benchmarkng of the KDTree One beneft of the KD-Tree s ts rough ndependence of search tme on data set sze. Fgure 7 compares the average search tme to fnd a nearest neghbor wth the data set sze. For large data set sze the search tme has a roughly logarthmc dependence on the number of data ponts. Ths s due to the tme t takes to determne the search pont s locaton n the tree. If the search pont were already n the tree then the nearest neghbor search tme s reduced from O(log n) to O(1). Ths can be accomplshed wth the mplementaton of Bentley's suggested use of parent ponters for each node n the tree structure. [10]. Fgure 8- log plot of search tme vs dmenson. Fgure 9 shows the relatonshp between the average search tme to fnd n neghbors of a data pont and the value n. In ths plot 10 data sets were generated wth dfferent seed values and search tmes were computed for each data set. The fgure shows that the average search tme s almost nearly lnearly dependent on the number of neghbors n. Thus a varety of searches (weghted radal wth or wthout excluson) may be performed wth only a lnear loss n speed. The drawbacks of the KD-Tree whle few are transparent. Frst f searchng s to be done n many dfferent dmensons ether a hghly neffcent search s used or addtonal search trees must be bult. lso the method s somewhat memory ntensve. In even the smplest KD-Tree a number ndcatng the cuttng value s requred at each node as well as an ordered array of data (smlar to the quck-sort). If ponters to the parent node or prncpal cuts are used then the tree must contan even more nformaton at each node. lthough ths ncrease may at

6 frst seem unmportant one should note that expermental data typcally conssts of floatng ponts or more. In fact some data analyss routnes requre a mnmum of ths many ponts. If the database s also on that order then memory may prove unmanageable for many workstaton computers. Fgure 11- Comparson of search tmes for dfferent methods usng 2 dmensonal random data. Fgure 9- plot of the average search tme to fnd n neghbors of a data pont as a functon of n. We have mplemented the KD-Tree as a dynamc lnked lbrary consstng of a set of fully functonal object orented routnes. In short they consst of the followng functons Create(*phTree ncoords ndms nbucketsze*aponts); FndNearestNeghbor(Tree*pSearchPont *pfoundpont); FndMultpleNeghbors(Tree *psearchpont *pnneghbors *aponts); FndRadalNeghbors(Tree *psearchpont radus **paponts *pnneghbors); ReleaseRadalNeghborLst(*aPonts); Release(Tree); 6.2 Comparson of methods The KD-Tree mplementaton was tested n tmed trals aganst the multdmensonal quck-sort and the box-asssted method. In Fgure 10 through Fgure 13 we depct the dependence of search tme on data set sze for one through four dmensonal data respectvely. In Fgure 10 the multdmensonal quck-sort reduces to a one-dmensonal sort and the box asssted method as descrbed by [12] s not feasble snce t requres that the data be at least two-dmensonal. We note from the slopes of these plots that the box-asssted method the KDTree and the KTree all have an O(n log n) dependence on data set sze whereas the quck-sort based methods have approxmately O(n 1.5 ) dependence on data set sze for 2 dmensonal data and O(n 1.8 ) dependence on data set sze for 3 or 4 dmensonal data. s expected the brute force method has O(n 2 ) dependence. Despte ts theoretcal O(n log n) performance the KTree stll performs far worse than the box-asssted and KDTree methods. Ths s because of a large constant factor worse performance that s stll sgnfcant for large data sets (64000 ponts). Ths constant worse performance relates to the poor balancng of the KTree. Whereas for the KDTree the data may be permuted so that cut values are always chosen at medans n the data the KTree does not offer ths opton because there s no clear multdmensonal medan. In addton many more branches n the tree may need to be searched n the KTree because at each cut there are 2 k nstead of 2 branches. Fgure 10- Comparson of search tmes for dfferent methods usng 1 dmensonal random data. Fgure 12- Comparson of search tmes for dfferent methods usng 3 dmensonal random data.

7 dmensonalty guaranteed that an excessve number of boxes needed to be searched and for the Lorenz data where the hghly non-unform dstrbuton ensured that many boxes went unflled. The K-tree also performed poorly for hgh dmensonal data (four and fve dmensonal) due to the exponental ncrease n the number of searched boxes wth respect to dmenson. summary of the comparson of the four routnes can be found n Table 2. The adaptve and flexble crtera refer to the next secton. Table 2- Comparson of some features of the four routnes. Ratng from 1=best to 4=worst. Fgure13- Comparson of search tmes for dfferent methods usng 4 dmensonal random data. However all of the above trals were performed usng unform random nose. They say nothng of how these methods perform wth other types of data. In order to compare the sortng and searchng methods performance on other types of data we compared ther tmes for nearest neghbor searches on a varety of data sets. Table 1 depcts the estmated tme n mllseconds to fnd all nearest neghbors n dfferent pont data sets for each of the benchmarked search methods. The unform nose data was smlar to that dscussed n the prevous secton. Each Gaussan nose data set had a mean of 0 and standard devaton of 1 n each dmenson. The dentcal dmensons and one vald dmenson data sets were desgned to test performance under unusual crcumstances. For the dentcal dmensons data unform random data was used and each coordnate of a vector was set equal e.g X = ( X ) = ( X ). For the data wth only one vald dmenson unform random data was used n only the frst dmenson e.g X = ( X ) = ( X 00). In all cases the KD-Tree proved an effectve method of sortng and searchng the data. Only for the last two data sets dd the multdmensonal quck-sort method prove faster and these data sets were constructed so that they were n effect onedmensonal. In addton the box method proved partcularly neffectve for hgh dmensonal Gaussan data where the lgorthm Memory Buld Search dapt. Flexble KDTree 2 3/4 1 yes yes KTree 3 3/4 3 no no Quck-sort yes yes Boxsssted no yes 7. INTERESTING PROPERTIES FOR MUSIC IR The mult-dmensonal search approach to Musc IR and the correspondng algorthms presented above have a number of nterestng propertes and conceptual advantages. 7.1 daptve to the dstrbuton truly mult-dmensonal approach enables an adaptaton to the dstrbuton of the data set. The KD-Tree algorthm for example focuses ts dscrmnatng power n a non-unform way to best ft the densty of the data. Ths could be effcent for say search tasks n a database where part of the features reman quas constant e.g. a database of samples whch are all pure tones of a gven nstrument wth quas constant ptch and a varyng brghtness. It s nterestng to compare ths adaptve behavor wth a strng-matchng algorthm that would have to Table 1- Nearest neghbor search tmes for data sets consstng of ponts. The brute force method multdm. quck-sort the box asssted method n 2 and 3 dmensons the KDTree and the KTree were compared. n X ndcates that t wasn t possble to use ths search method on ths type of data. The fastest method s gven n bold and the second fastest method s gven n talcs. Data set Dmenson Brute Qucksort Box (2) method Box (3) method KDTree Unform nose Gaussan X KTree Gaussan Identcal dmensons One vald dmenson

8 compare sequences that all begn wth aaa. The latter can t adapt and systematcally tests the frst three dgts whch s an obvous waste of tme. 7.2 Independent of the metrc and of the alphabet ll the methods presented here are blnd to the metrc that s used. Ths s especally useful f the set of features s composte and requres a dfferent metrc for each coordnate e.g. ptches can be measured modulo 12. The routnes are also ndependent of the alphabet and work for ntegers as well as for floatng-ponts. Ths makes them very general as they can deal wth a varety of queres on mxed low-level features and hghlevel meta-data such as: Nearest neghbor ( ptch 1 ptch2 ptch3" BCH" ) 7.3 Flexblty There are a varety of searches that are often performed on multdmensonal data. [7] Perhaps the most common type of search and one of the smplest s the nearest neghbor search. Ths search nvolves the dentfcaton of the nearest vector n the data set to some specfed vector known as the search vector. The search vector may or may not also be n the data set. Expansons on ths type of search nclude the radal search where one wshes to fnd all vectors wthn a gven dstance of the search vector and the weghted search where one wshes to fnd the nearest N vectors to the search vector. Each of these searches (weghted radal and nearest neghbor) may come wth further restrctons. For nstance ponts or collectons of ponts may be excluded from the search. ddtonal functonalty may also be requred. The returned data may be ordered from closest to furthest from the search vector and the sortng and searchng may be requred to handle the nserton and deleton of ponts. That s f ponts are deleted from or added to the data these addtonal ponts should be added or deleted to the sort so that they can be removed or ncluded n the search. Such a feature s essental f searchng s to performed wth real-tme analyss. Most sortng and searchng routne presented above are able to perform all the common types of searches and are adaptable enough so that they may be made to perform any search. 7.4 note on dmensonalty One of the restrctons shared by the multdmensonal search routnes presented on ths paper s ther dependence on the dmensonalty of the data-set (not ts sze). Ths s detrmental to the sheer foldng of the trajectory search as presented n the ntroducton especally when t nvolves long M-sequences of hgh-n-dmenson features (dmenson M*N may be too hgh). However as we mentoned n the course of ths paper there are stll a varety of searches that can ft nto the multdmensonal framework. We notably wsh to suggest: - Searches for combnatons of hgh-level metadata (M=1) - It s possble to reduce N wth classc dmensonalty reducton technques such as Prncpal Component nalyss or Vector Quantzaton - It s possble to reduce M by computng only 1 vector of features per audo pece. It s the approach taken n the Muscle Fsh technology [13] where the mean varance and correlaton of the features are ncluded n the feature vector. - It s possble to reduce M by computng the features not on a frame-to-frame bass but only when a sgnfcant change occurs ( event-based feature extracton see for example [14]) - For fnte alphabets t s always possble to reduce the dmenson of a search by ncreasng the sze of the alphabet. For example searchng for a set of 9 notes out of a 12 sem-tone alphabet can be reduced to a 3D search over an alphabet of 3 12 symbols. 8. CONCLUSION We ve presented and dscussed four algorthms for a multdmensonal approach to Musc IR. The KD search tree s a hghly adaptable well-researched method for searchng multdmensonal data. s such t s very fast but also can be memory ntensve and requres care n buldng the bnary search tree. The k tree s a smlar method less versatle more memory ntensve but easer to mplement. The box-asssted method on the other hand s used n a form desgned for nonlnear tme seres analyss. It falls nto many of the same traps that the other methods do. Fnally the multdmensonal quck-sort s an orgnal method desgned so that only one search tree s used regardless of how many dmensons are used. These routnes share a number of conceptual advantages over the approaches taken so far n the Musc IR communty whch -we beleve- can be useful for a varety of muscal searches. The am of the paper s to be only a revew and the startng pont of a reflecton about search algorthms for musc. In partcular we stll have to mplement specfc musc retreval systems that use the results presented here. 9. REFERENCES [1] K. Lemstrom Strng Matchng Technques for Musc Retreval. Report Unversty of Helsnk Press. [2] H. Samet pplcatons of Spatal Data Structures: ddson-wesley [2] H. Samet The desgn and analyss of spatal data structures: ddson-wesley [3] H. Hnterberger K. C. Sevck and J. Nevergelt CM Trans. On Database Systems vol. 9 pp [4] N. Pppenger R. Fagn J. Nevergelt and H. R. Strong CM Trans. On Database Systems vol. 4 pp

9 [5] K. Mehlhorn Data Structures and lgorthms 3: Multdmensonal Searchng and Computatonal Geometry: Sprnger-Verlag [6] F. P. Preparata and M. I. Shamos Computatonal geometry: n ntroducton. New York: Sprnger- Verlag [7] J. Orensten Informaton Processng Letters vol. 14 pp [8] J. H. Bentley Multdmensonal Bnary Search Trees Used for ssocatve Searchng Communcatons of the CM vol. 18 pp [9] J. H. Fredman J. L. Bentley and R.. Fnkel n algorthm for fndng best matches n logarthmc expected tme CM Trans. Math. Software vol. 3 pp [10] J. L. Bentley K-d trees for semdynamc pont sets n Sxth nnual CM Symposum on Computatonal Geometry vol. 91. San Francsco [11] T. Schreber Effcent neghbor searchng n nonlnear tme seres analyss Int. J. of Bfurcaton and Chaos vol. 5 pp [12] R. F. Sproull Refnement to nearest-neghbour searchng n k-d trees lgorthmca vol. 6 pp [13] E. Wold T. Blum et al. Content Based Classfcaton Search and Retreval of udo n IEEE Multmeda Vol.3 No. 3 Fall 1996 p [14] F. Kurth M. Clausen Full Text Indexng of Very Large udo Databases n Proc. 110 th ES Conventon msterdam May 2001.

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes SPH3UW Unt 7.3 Sphercal Concave Mrrors Page 1 of 1 Notes Physcs Tool box Concave Mrror If the reflectng surface takes place on the nner surface of the sphercal shape so that the centre of the mrror bulges

More information

Parallelism for Nested Loops with Non-uniform and Flow Dependences

Parallelism for Nested Loops with Non-uniform and Flow Dependences Parallelsm for Nested Loops wth Non-unform and Flow Dependences Sam-Jn Jeong Dept. of Informaton & Communcaton Engneerng, Cheonan Unversty, 5, Anseo-dong, Cheonan, Chungnam, 330-80, Korea. seong@cheonan.ac.kr

More information

CSCI 104 Sorting Algorithms. Mark Redekopp David Kempe

CSCI 104 Sorting Algorithms. Mark Redekopp David Kempe CSCI 104 Sortng Algorthms Mark Redekopp Davd Kempe Algorthm Effcency SORTING 2 Sortng If we have an unordered lst, sequental search becomes our only choce If we wll perform a lot of searches t may be benefcal

More information

A Binarization Algorithm specialized on Document Images and Photos

A Binarization Algorithm specialized on Document Images and Photos A Bnarzaton Algorthm specalzed on Document mages and Photos Ergna Kavalleratou Dept. of nformaton and Communcaton Systems Engneerng Unversty of the Aegean kavalleratou@aegean.gr Abstract n ths paper, a

More information

An Optimal Algorithm for Prufer Codes *

An Optimal Algorithm for Prufer Codes * J. Software Engneerng & Applcatons, 2009, 2: 111-115 do:10.4236/jsea.2009.22016 Publshed Onlne July 2009 (www.scrp.org/journal/jsea) An Optmal Algorthm for Prufer Codes * Xaodong Wang 1, 2, Le Wang 3,

More information

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data A Fast Content-Based Multmeda Retreval Technque Usng Compressed Data Borko Furht and Pornvt Saksobhavvat NSF Multmeda Laboratory Florda Atlantc Unversty, Boca Raton, Florda 3343 ABSTRACT In ths paper,

More information

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions Sortng Revew Introducton to Algorthms Qucksort CSE 680 Prof. Roger Crawfs Inserton Sort T(n) = Θ(n 2 ) In-place Merge Sort T(n) = Θ(n lg(n)) Not n-place Selecton Sort (from homework) T(n) = Θ(n 2 ) In-place

More information

Problem Set 3 Solutions

Problem Set 3 Solutions Introducton to Algorthms October 4, 2002 Massachusetts Insttute of Technology 6046J/18410J Professors Erk Demane and Shaf Goldwasser Handout 14 Problem Set 3 Solutons (Exercses were not to be turned n,

More information

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search Sequental search Buldng Java Programs Chapter 13 Searchng and Sortng sequental search: Locates a target value n an array/lst by examnng each element from start to fnsh. How many elements wll t need to

More information

Parallel matrix-vector multiplication

Parallel matrix-vector multiplication Appendx A Parallel matrx-vector multplcaton The reduced transton matrx of the three-dmensonal cage model for gel electrophoress, descrbed n secton 3.2, becomes excessvely large for polymer lengths more

More information

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers IOSR Journal of Electroncs and Communcaton Engneerng (IOSR-JECE) e-issn: 78-834,p- ISSN: 78-8735.Volume 9, Issue, Ver. IV (Mar - Apr. 04), PP 0-07 Content Based Image Retreval Usng -D Dscrete Wavelet wth

More information

CE 221 Data Structures and Algorithms

CE 221 Data Structures and Algorithms CE 1 ata Structures and Algorthms Chapter 4: Trees BST Text: Read Wess, 4.3 Izmr Unversty of Economcs 1 The Search Tree AT Bnary Search Trees An mportant applcaton of bnary trees s n searchng. Let us assume

More information

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour 6.854 Advanced Algorthms Petar Maymounkov Problem Set 11 (November 23, 2005) Wth: Benjamn Rossman, Oren Wemann, and Pouya Kheradpour Problem 1. We reduce vertex cover to MAX-SAT wth weghts, such that the

More information

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points;

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points; Subspace clusterng Clusterng Fundamental to all clusterng technques s the choce of dstance measure between data ponts; D q ( ) ( ) 2 x x = x x, j k = 1 k jk Squared Eucldean dstance Assumpton: All features

More information

AP PHYSICS B 2008 SCORING GUIDELINES

AP PHYSICS B 2008 SCORING GUIDELINES AP PHYSICS B 2008 SCORING GUIDELINES General Notes About 2008 AP Physcs Scorng Gudelnes 1. The solutons contan the most common method of solvng the free-response questons and the allocaton of ponts for

More information

CSE 326: Data Structures Quicksort Comparison Sorting Bound

CSE 326: Data Structures Quicksort Comparison Sorting Bound CSE 326: Data Structures Qucksort Comparson Sortng Bound Steve Setz Wnter 2009 Qucksort Qucksort uses a dvde and conquer strategy, but does not requre the O(N) extra space that MergeSort does. Here s the

More information

Efficient Multidimensional Searching Routines for Music Information Retrieval

Efficient Multidimensional Searching Routines for Music Information Retrieval Efficient Multidimensional Searching Routines for Music Information Retrieval Josh Reiss Department of Electronic Engineering, Queen Mary, University of London Mile End Road, London E4NS UK +44 207-882-7986

More information

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Proceedngs of the Wnter Smulaton Conference M E Kuhl, N M Steger, F B Armstrong, and J A Jones, eds A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Mark W Brantley Chun-Hung

More information

Optimizing Document Scoring for Query Retrieval

Optimizing Document Scoring for Query Retrieval Optmzng Document Scorng for Query Retreval Brent Ellwen baellwe@cs.stanford.edu Abstract The goal of ths project was to automate the process of tunng a document query engne. Specfcally, I used machne learnng

More information

Feature Reduction and Selection

Feature Reduction and Selection Feature Reducton and Selecton Dr. Shuang LIANG School of Software Engneerng TongJ Unversty Fall, 2012 Today s Topcs Introducton Problems of Dmensonalty Feature Reducton Statstc methods Prncpal Components

More information

Improvement of Spatial Resolution Using BlockMatching Based Motion Estimation and Frame. Integration

Improvement of Spatial Resolution Using BlockMatching Based Motion Estimation and Frame. Integration Improvement of Spatal Resoluton Usng BlockMatchng Based Moton Estmaton and Frame Integraton Danya Suga and Takayuk Hamamoto Graduate School of Engneerng, Tokyo Unversty of Scence, 6-3-1, Nuku, Katsuska-ku,

More information

Support Vector Machines

Support Vector Machines /9/207 MIST.6060 Busness Intellgence and Data Mnng What are Support Vector Machnes? Support Vector Machnes Support Vector Machnes (SVMs) are supervsed learnng technques that analyze data and recognze patterns.

More information

Mathematics 256 a course in differential equations for engineering students

Mathematics 256 a course in differential equations for engineering students Mathematcs 56 a course n dfferental equatons for engneerng students Chapter 5. More effcent methods of numercal soluton Euler s method s qute neffcent. Because the error s essentally proportonal to the

More information

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz Compler Desgn Sprng 2014 Regster Allocaton Sample Exercses and Solutons Prof. Pedro C. Dnz USC / Informaton Scences Insttute 4676 Admralty Way, Sute 1001 Marna del Rey, Calforna 90292 pedro@s.edu Regster

More information

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields 17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 A mathematcal programmng approach to the analyss, desgn and

More information

Today s Outline. Sorting: The Big Picture. Why Sort? Selection Sort: Idea. Insertion Sort: Idea. Sorting Chapter 7 in Weiss.

Today s Outline. Sorting: The Big Picture. Why Sort? Selection Sort: Idea. Insertion Sort: Idea. Sorting Chapter 7 in Weiss. Today s Outlne Sortng Chapter 7 n Wess CSE 26 Data Structures Ruth Anderson Announcements Wrtten Homework #6 due Frday 2/26 at the begnnng of lecture Proect Code due Mon March 1 by 11pm Today s Topcs:

More information

CSE 326: Data Structures Quicksort Comparison Sorting Bound

CSE 326: Data Structures Quicksort Comparison Sorting Bound CSE 326: Data Structures Qucksort Comparson Sortng Bound Bran Curless Sprng 2008 Announcements (5/14/08) Homework due at begnnng of class on Frday. Secton tomorrow: Graded homeworks returned More dscusson

More information

TN348: Openlab Module - Colocalization

TN348: Openlab Module - Colocalization TN348: Openlab Module - Colocalzaton Topc The Colocalzaton module provdes the faclty to vsualze and quantfy colocalzaton between pars of mages. The Colocalzaton wndow contans a prevew of the two mages

More information

Sorting: The Big Picture. The steps of QuickSort. QuickSort Example. QuickSort Example. QuickSort Example. Recursive Quicksort

Sorting: The Big Picture. The steps of QuickSort. QuickSort Example. QuickSort Example. QuickSort Example. Recursive Quicksort Sortng: The Bg Pcture Gven n comparable elements n an array, sort them n an ncreasng (or decreasng) order. Smple algorthms: O(n ) Inserton sort Selecton sort Bubble sort Shell sort Fancer algorthms: O(n

More information

Helsinki University Of Technology, Systems Analysis Laboratory Mat Independent research projects in applied mathematics (3 cr)

Helsinki University Of Technology, Systems Analysis Laboratory Mat Independent research projects in applied mathematics (3 cr) Helsnk Unversty Of Technology, Systems Analyss Laboratory Mat-2.08 Independent research projects n appled mathematcs (3 cr) "! #$&% Antt Laukkanen 506 R ajlaukka@cc.hut.f 2 Introducton...3 2 Multattrbute

More information

3D vector computer graphics

3D vector computer graphics 3D vector computer graphcs Paolo Varagnolo: freelance engneer Padova Aprl 2016 Prvate Practce ----------------------------------- 1. Introducton Vector 3D model representaton n computer graphcs requres

More information

CS 534: Computer Vision Model Fitting

CS 534: Computer Vision Model Fitting CS 534: Computer Vson Model Fttng Sprng 004 Ahmed Elgammal Dept of Computer Scence CS 534 Model Fttng - 1 Outlnes Model fttng s mportant Least-squares fttng Maxmum lkelhood estmaton MAP estmaton Robust

More information

CMPS 10 Introduction to Computer Science Lecture Notes

CMPS 10 Introduction to Computer Science Lecture Notes CPS 0 Introducton to Computer Scence Lecture Notes Chapter : Algorthm Desgn How should we present algorthms? Natural languages lke Englsh, Spansh, or French whch are rch n nterpretaton and meanng are not

More information

Chapter 6 Programmng the fnte element method Inow turn to the man subject of ths book: The mplementaton of the fnte element algorthm n computer programs. In order to make my dscusson as straghtforward

More information

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique //00 :0 AM Outlne and Readng The Greedy Method The Greedy Method Technque (secton.) Fractonal Knapsack Problem (secton..) Task Schedulng (secton..) Mnmum Spannng Trees (secton.) Change Money Problem Greedy

More information

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization Problem efntons and Evaluaton Crtera for Computatonal Expensve Optmzaton B. Lu 1, Q. Chen and Q. Zhang 3, J. J. Lang 4, P. N. Suganthan, B. Y. Qu 6 1 epartment of Computng, Glyndwr Unversty, UK Faclty

More information

Programming in Fortran 90 : 2017/2018

Programming in Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Exercse 1 : Evaluaton of functon dependng on nput Wrte a program who evaluate the functon f (x,y) for any two user specfed values

More information

S1 Note. Basis functions.

S1 Note. Basis functions. S1 Note. Bass functons. Contents Types of bass functons...1 The Fourer bass...2 B-splne bass...3 Power and type I error rates wth dfferent numbers of bass functons...4 Table S1. Smulaton results of type

More information

Face Recognition University at Buffalo CSE666 Lecture Slides Resources:

Face Recognition University at Buffalo CSE666 Lecture Slides Resources: Face Recognton Unversty at Buffalo CSE666 Lecture Sldes Resources: http://www.face-rec.org/algorthms/ Overvew of face recognton algorthms Correlaton - Pxel based correspondence between two face mages Structural

More information

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following.

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following. Complex Numbers The last topc n ths secton s not really related to most of what we ve done n ths chapter, although t s somewhat related to the radcals secton as we wll see. We also won t need the materal

More information

Brave New World Pseudocode Reference

Brave New World Pseudocode Reference Brave New World Pseudocode Reference Pseudocode s a way to descrbe how to accomplsh tasks usng basc steps lke those a computer mght perform. In ths week s lab, you'll see how a form of pseudocode can be

More information

Learning-Based Top-N Selection Query Evaluation over Relational Databases

Learning-Based Top-N Selection Query Evaluation over Relational Databases Learnng-Based Top-N Selecton Query Evaluaton over Relatonal Databases Lang Zhu *, Wey Meng ** * School of Mathematcs and Computer Scence, Hebe Unversty, Baodng, Hebe 071002, Chna, zhu@mal.hbu.edu.cn **

More information

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching A Fast Vsual Trackng Algorthm Based on Crcle Pxels Matchng Zhqang Hou hou_zhq@sohu.com Chongzhao Han czhan@mal.xjtu.edu.cn Ln Zheng Abstract: A fast vsual trackng algorthm based on crcle pxels matchng

More information

Cluster Analysis of Electrical Behavior

Cluster Analysis of Electrical Behavior Journal of Computer and Communcatons, 205, 3, 88-93 Publshed Onlne May 205 n ScRes. http://www.scrp.org/ournal/cc http://dx.do.org/0.4236/cc.205.350 Cluster Analyss of Electrcal Behavor Ln Lu Ln Lu, School

More information

Lecture 5: Multilayer Perceptrons

Lecture 5: Multilayer Perceptrons Lecture 5: Multlayer Perceptrons Roger Grosse 1 Introducton So far, we ve only talked about lnear models: lnear regresson and lnear bnary classfers. We noted that there are functons that can t be represented

More information

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms Course Introducton Course Topcs Exams, abs, Proects A quc loo at a few algorthms 1 Advanced Data Structures and Algorthms Descrpton: We are gong to dscuss algorthm complexty analyss, algorthm desgn technques

More information

Image Representation & Visualization Basic Imaging Algorithms Shape Representation and Analysis. outline

Image Representation & Visualization Basic Imaging Algorithms Shape Representation and Analysis. outline mage Vsualzaton mage Vsualzaton mage Representaton & Vsualzaton Basc magng Algorthms Shape Representaton and Analyss outlne mage Representaton & Vsualzaton Basc magng Algorthms Shape Representaton and

More information

UB at GeoCLEF Department of Geography Abstract

UB at GeoCLEF Department of Geography   Abstract UB at GeoCLEF 2006 Mguel E. Ruz (1), Stuart Shapro (2), June Abbas (1), Slva B. Southwck (1) and Davd Mark (3) State Unversty of New York at Buffalo (1) Department of Lbrary and Informaton Studes (2) Department

More information

A Deflected Grid-based Algorithm for Clustering Analysis

A Deflected Grid-based Algorithm for Clustering Analysis A Deflected Grd-based Algorthm for Clusterng Analyss NANCY P. LIN, CHUNG-I CHANG, HAO-EN CHUEH, HUNG-JEN CHEN, WEI-HUA HAO Department of Computer Scence and Informaton Engneerng Tamkang Unversty 5 Yng-chuan

More information

Steps for Computing the Dissimilarity, Entropy, Herfindahl-Hirschman and. Accessibility (Gravity with Competition) Indices

Steps for Computing the Dissimilarity, Entropy, Herfindahl-Hirschman and. Accessibility (Gravity with Competition) Indices Steps for Computng the Dssmlarty, Entropy, Herfndahl-Hrschman and Accessblty (Gravty wth Competton) Indces I. Dssmlarty Index Measurement: The followng formula can be used to measure the evenness between

More information

Insertion Sort. Divide and Conquer Sorting. Divide and Conquer. Mergesort. Mergesort Example. Auxiliary Array

Insertion Sort. Divide and Conquer Sorting. Divide and Conquer. Mergesort. Mergesort Example. Auxiliary Array Inserton Sort Dvde and Conquer Sortng CSE 6 Data Structures Lecture 18 What f frst k elements of array are already sorted? 4, 7, 1, 5, 1, 16 We can shft the tal of the sorted elements lst down and then

More information

Lecture #15 Lecture Notes

Lecture #15 Lecture Notes Lecture #15 Lecture Notes The ocean water column s very much a 3-D spatal entt and we need to represent that structure n an economcal way to deal wth t n calculatons. We wll dscuss one way to do so, emprcal

More information

TPL-Aware Displacement-driven Detailed Placement Refinement with Coloring Constraints

TPL-Aware Displacement-driven Detailed Placement Refinement with Coloring Constraints TPL-ware Dsplacement-drven Detaled Placement Refnement wth Colorng Constrants Tao Ln Iowa State Unversty tln@astate.edu Chrs Chu Iowa State Unversty cnchu@astate.edu BSTRCT To mnmze the effect of process

More information

Analysis of Continuous Beams in General

Analysis of Continuous Beams in General Analyss of Contnuous Beams n General Contnuous beams consdered here are prsmatc, rgdly connected to each beam segment and supported at varous ponts along the beam. onts are selected at ponts of support,

More information

Performance Evaluation of Information Retrieval Systems

Performance Evaluation of Information Retrieval Systems Why System Evaluaton? Performance Evaluaton of Informaton Retreval Systems Many sldes n ths secton are adapted from Prof. Joydeep Ghosh (UT ECE) who n turn adapted them from Prof. Dk Lee (Unv. of Scence

More information

Module Management Tool in Software Development Organizations

Module Management Tool in Software Development Organizations Journal of Computer Scence (5): 8-, 7 ISSN 59-66 7 Scence Publcatons Management Tool n Software Development Organzatons Ahmad A. Al-Rababah and Mohammad A. Al-Rababah Faculty of IT, Al-Ahlyyah Amman Unversty,

More information

Self-tuning Histograms: Building Histograms Without Looking at Data

Self-tuning Histograms: Building Histograms Without Looking at Data Self-tunng Hstograms: Buldng Hstograms Wthout Lookng at Data Ashraf Aboulnaga Computer Scences Department Unversty of Wsconsn - Madson ashraf@cs.wsc.edu Surajt Chaudhur Mcrosoft Research surajtc@mcrosoft.com

More information

Hierarchical clustering for gene expression data analysis

Hierarchical clustering for gene expression data analysis Herarchcal clusterng for gene expresson data analyss Gorgo Valentn e-mal: valentn@ds.unm.t Clusterng of Mcroarray Data. Clusterng of gene expresson profles (rows) => dscovery of co-regulated and functonally

More information

An Entropy-Based Approach to Integrated Information Needs Assessment

An Entropy-Based Approach to Integrated Information Needs Assessment Dstrbuton Statement A: Approved for publc release; dstrbuton s unlmted. An Entropy-Based Approach to ntegrated nformaton Needs Assessment June 8, 2004 Wllam J. Farrell Lockheed Martn Advanced Technology

More information

FEATURE EXTRACTION. Dr. K.Vijayarekha. Associate Dean School of Electrical and Electronics Engineering SASTRA University, Thanjavur

FEATURE EXTRACTION. Dr. K.Vijayarekha. Associate Dean School of Electrical and Electronics Engineering SASTRA University, Thanjavur FEATURE EXTRACTION Dr. K.Vjayarekha Assocate Dean School of Electrcal and Electroncs Engneerng SASTRA Unversty, Thanjavur613 41 Jont Intatve of IITs and IISc Funded by MHRD Page 1 of 8 Table of Contents

More information

Decision Strategies for Rating Objects in Knowledge-Shared Research Networks

Decision Strategies for Rating Objects in Knowledge-Shared Research Networks Decson Strateges for Ratng Objects n Knowledge-Shared Research etwors ALEXADRA GRACHAROVA *, HAS-JOACHM ER **, HASSA OUR ELD ** OM SUUROE ***, HARR ARAKSE *** * nsttute of Control and System Research,

More information

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision SLAM Summer School 2006 Practcal 2: SLAM usng Monocular Vson Javer Cvera, Unversty of Zaragoza Andrew J. Davson, Imperal College London J.M.M Montel, Unversty of Zaragoza. josemar@unzar.es, jcvera@unzar.es,

More information

Query Clustering Using a Hybrid Query Similarity Measure

Query Clustering Using a Hybrid Query Similarity Measure Query clusterng usng a hybrd query smlarty measure Fu. L., Goh, D.H., & Foo, S. (2004). WSEAS Transacton on Computers, 3(3), 700-705. Query Clusterng Usng a Hybrd Query Smlarty Measure Ln Fu, Don Hoe-Lan

More information

LECTURE : MANIFOLD LEARNING

LECTURE : MANIFOLD LEARNING LECTURE : MANIFOLD LEARNING Rta Osadchy Some sldes are due to L.Saul, V. C. Raykar, N. Verma Topcs PCA MDS IsoMap LLE EgenMaps Done! Dmensonalty Reducton Data representaton Inputs are real-valued vectors

More information

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1)

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1) Secton 1.2 Subsets and the Boolean operatons on sets If every element of the set A s an element of the set B, we say that A s a subset of B, or that A s contaned n B, or that B contans A, and we wrte A

More information

Lobachevsky State University of Nizhni Novgorod. Polyhedron. Quick Start Guide

Lobachevsky State University of Nizhni Novgorod. Polyhedron. Quick Start Guide Lobachevsky State Unversty of Nzhn Novgorod Polyhedron Quck Start Gude Nzhn Novgorod 2016 Contents Specfcaton of Polyhedron software... 3 Theoretcal background... 4 1. Interface of Polyhedron... 6 1.1.

More information

Edge Detection in Noisy Images Using the Support Vector Machines

Edge Detection in Noisy Images Using the Support Vector Machines Edge Detecton n Nosy Images Usng the Support Vector Machnes Hlaro Gómez-Moreno, Saturnno Maldonado-Bascón, Francsco López-Ferreras Sgnal Theory and Communcatons Department. Unversty of Alcalá Crta. Madrd-Barcelona

More information

Machine Learning: Algorithms and Applications

Machine Learning: Algorithms and Applications 14/05/1 Machne Learnng: Algorthms and Applcatons Florano Zn Free Unversty of Bozen-Bolzano Faculty of Computer Scence Academc Year 011-01 Lecture 10: 14 May 01 Unsupervsed Learnng cont Sldes courtesy of

More information

The Shortest Path of Touring Lines given in the Plane

The Shortest Path of Touring Lines given in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 262 The Open Cybernetcs & Systemcs Journal, 2015, 9, 262-267 The Shortest Path of Tourng Lnes gven n the Plane Open Access Ljuan Wang 1,2, Dandan He

More information

NAG Fortran Library Chapter Introduction. G10 Smoothing in Statistics

NAG Fortran Library Chapter Introduction. G10 Smoothing in Statistics Introducton G10 NAG Fortran Lbrary Chapter Introducton G10 Smoothng n Statstcs Contents 1 Scope of the Chapter... 2 2 Background to the Problems... 2 2.1 Smoothng Methods... 2 2.2 Smoothng Splnes and Regresson

More information

Related-Mode Attacks on CTR Encryption Mode

Related-Mode Attacks on CTR Encryption Mode Internatonal Journal of Network Securty, Vol.4, No.3, PP.282 287, May 2007 282 Related-Mode Attacks on CTR Encrypton Mode Dayn Wang, Dongda Ln, and Wenlng Wu (Correspondng author: Dayn Wang) Key Laboratory

More information

CHAPTER 10: ALGORITHM DESIGN TECHNIQUES

CHAPTER 10: ALGORITHM DESIGN TECHNIQUES CHAPTER 10: ALGORITHM DESIGN TECHNIQUES So far, we have been concerned wth the effcent mplementaton of algorthms. We have seen that when an algorthm s gven, the actual data structures need not be specfed.

More information

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009.

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009. Farrukh Jabeen Algorthms 51 Assgnment #2 Due Date: June 15, 29. Assgnment # 2 Chapter 3 Dscrete Fourer Transforms Implement the FFT for the DFT. Descrbed n sectons 3.1 and 3.2. Delverables: 1. Concse descrpton

More information

CACHE MEMORY DESIGN FOR INTERNET PROCESSORS

CACHE MEMORY DESIGN FOR INTERNET PROCESSORS CACHE MEMORY DESIGN FOR INTERNET PROCESSORS WE EVALUATE A SERIES OF THREE PROGRESSIVELY MORE AGGRESSIVE ROUTING-TABLE CACHE DESIGNS AND DEMONSTRATE THAT THE INCORPORATION OF HARDWARE CACHES INTO INTERNET

More information

A PATTERN RECOGNITION APPROACH TO IMAGE SEGMENTATION

A PATTERN RECOGNITION APPROACH TO IMAGE SEGMENTATION 1 THE PUBLISHING HOUSE PROCEEDINGS OF THE ROMANIAN ACADEMY, Seres A, OF THE ROMANIAN ACADEMY Volume 4, Number 2/2003, pp.000-000 A PATTERN RECOGNITION APPROACH TO IMAGE SEGMENTATION Tudor BARBU Insttute

More information

Fast Computation of Shortest Path for Visiting Segments in the Plane

Fast Computation of Shortest Path for Visiting Segments in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 4 The Open Cybernetcs & Systemcs Journal, 04, 8, 4-9 Open Access Fast Computaton of Shortest Path for Vstng Segments n the Plane Ljuan Wang,, Bo Jang

More information

Structural Analysis of Musical Signals for Indexing and Thumbnailing

Structural Analysis of Musical Signals for Indexing and Thumbnailing Structural Analyss of Muscal Sgnals for Indexng and Thumbnalng We Cha Barry Vercoe MIT Meda Laboratory {chawe, bv}@meda.mt.edu Abstract A muscal pece typcally has a repettve structure. Analyss of ths structure

More information

Reducing Frame Rate for Object Tracking

Reducing Frame Rate for Object Tracking Reducng Frame Rate for Object Trackng Pavel Korshunov 1 and We Tsang Oo 2 1 Natonal Unversty of Sngapore, Sngapore 11977, pavelkor@comp.nus.edu.sg 2 Natonal Unversty of Sngapore, Sngapore 11977, oowt@comp.nus.edu.sg

More information

APPLICATION OF A COMPUTATIONALLY EFFICIENT GEOSTATISTICAL APPROACH TO CHARACTERIZING VARIABLY SPACED WATER-TABLE DATA

APPLICATION OF A COMPUTATIONALLY EFFICIENT GEOSTATISTICAL APPROACH TO CHARACTERIZING VARIABLY SPACED WATER-TABLE DATA RFr"W/FZD JAN 2 4 1995 OST control # 1385 John J Q U ~ M Argonne Natonal Laboratory Argonne, L 60439 Tel: 708-252-5357, Fax: 708-252-3 611 APPLCATON OF A COMPUTATONALLY EFFCENT GEOSTATSTCAL APPROACH TO

More information

K-means and Hierarchical Clustering

K-means and Hierarchical Clustering Note to other teachers and users of these sldes. Andrew would be delghted f you found ths source materal useful n gvng your own lectures. Feel free to use these sldes verbatm, or to modfy them to ft your

More information

Classifier Selection Based on Data Complexity Measures *

Classifier Selection Based on Data Complexity Measures * Classfer Selecton Based on Data Complexty Measures * Edth Hernández-Reyes, J.A. Carrasco-Ochoa, and J.Fco. Martínez-Trndad Natonal Insttute for Astrophyscs, Optcs and Electroncs, Lus Enrque Erro No.1 Sta.

More information

Outline. Type of Machine Learning. Examples of Application. Unsupervised Learning

Outline. Type of Machine Learning. Examples of Application. Unsupervised Learning Outlne Artfcal Intellgence and ts applcatons Lecture 8 Unsupervsed Learnng Professor Danel Yeung danyeung@eee.org Dr. Patrck Chan patrckchan@eee.org South Chna Unversty of Technology, Chna Introducton

More information

A Modified Median Filter for the Removal of Impulse Noise Based on the Support Vector Machines

A Modified Median Filter for the Removal of Impulse Noise Based on the Support Vector Machines A Modfed Medan Flter for the Removal of Impulse Nose Based on the Support Vector Machnes H. GOMEZ-MORENO, S. MALDONADO-BASCON, F. LOPEZ-FERRERAS, M. UTRILLA- MANSO AND P. GIL-JIMENEZ Departamento de Teoría

More information

Load Balancing for Hex-Cell Interconnection Network

Load Balancing for Hex-Cell Interconnection Network Int. J. Communcatons, Network and System Scences,,, - Publshed Onlne Aprl n ScRes. http://www.scrp.org/journal/jcns http://dx.do.org/./jcns.. Load Balancng for Hex-Cell Interconnecton Network Saher Manaseer,

More information

Tsinghua University at TAC 2009: Summarizing Multi-documents by Information Distance

Tsinghua University at TAC 2009: Summarizing Multi-documents by Information Distance Tsnghua Unversty at TAC 2009: Summarzng Mult-documents by Informaton Dstance Chong Long, Mnle Huang, Xaoyan Zhu State Key Laboratory of Intellgent Technology and Systems, Tsnghua Natonal Laboratory for

More information

USING GRAPHING SKILLS

USING GRAPHING SKILLS Name: BOLOGY: Date: _ Class: USNG GRAPHNG SKLLS NTRODUCTON: Recorded data can be plotted on a graph. A graph s a pctoral representaton of nformaton recorded n a data table. t s used to show a relatonshp

More information

CHARUTAR VIDYA MANDAL S SEMCOM Vallabh Vidyanagar

CHARUTAR VIDYA MANDAL S SEMCOM Vallabh Vidyanagar CHARUTAR VIDYA MANDAL S SEMCOM Vallabh Vdyanagar Faculty Name: Am D. Trved Class: SYBCA Subject: US03CBCA03 (Advanced Data & Fle Structure) *UNIT 1 (ARRAYS AND TREES) **INTRODUCTION TO ARRAYS If we want

More information

Outline. Self-Organizing Maps (SOM) US Hebbian Learning, Cntd. The learning rule is Hebbian like:

Outline. Self-Organizing Maps (SOM) US Hebbian Learning, Cntd. The learning rule is Hebbian like: Self-Organzng Maps (SOM) Turgay İBRİKÇİ, PhD. Outlne Introducton Structures of SOM SOM Archtecture Neghborhoods SOM Algorthm Examples Summary 1 2 Unsupervsed Hebban Learnng US Hebban Learnng, Cntd 3 A

More information

Solving two-person zero-sum game by Matlab

Solving two-person zero-sum game by Matlab Appled Mechancs and Materals Onlne: 2011-02-02 ISSN: 1662-7482, Vols. 50-51, pp 262-265 do:10.4028/www.scentfc.net/amm.50-51.262 2011 Trans Tech Publcatons, Swtzerland Solvng two-person zero-sum game by

More information

Detection of an Object by using Principal Component Analysis

Detection of an Object by using Principal Component Analysis Detecton of an Object by usng Prncpal Component Analyss 1. G. Nagaven, 2. Dr. T. Sreenvasulu Reddy 1. M.Tech, Department of EEE, SVUCE, Trupath, Inda. 2. Assoc. Professor, Department of ECE, SVUCE, Trupath,

More information

The Codesign Challenge

The Codesign Challenge ECE 4530 Codesgn Challenge Fall 2007 Hardware/Software Codesgn The Codesgn Challenge Objectves In the codesgn challenge, your task s to accelerate a gven software reference mplementaton as fast as possble.

More information

Unsupervised Learning

Unsupervised Learning Pattern Recognton Lecture 8 Outlne Introducton Unsupervsed Learnng Parametrc VS Non-Parametrc Approach Mxture of Denstes Maxmum-Lkelhood Estmates Clusterng Prof. Danel Yeung School of Computer Scence and

More information

ELEC 377 Operating Systems. Week 6 Class 3

ELEC 377 Operating Systems. Week 6 Class 3 ELEC 377 Operatng Systems Week 6 Class 3 Last Class Memory Management Memory Pagng Pagng Structure ELEC 377 Operatng Systems Today Pagng Szes Vrtual Memory Concept Demand Pagng ELEC 377 Operatng Systems

More information

y and the total sum of

y and the total sum of Lnear regresson Testng for non-lnearty In analytcal chemstry, lnear regresson s commonly used n the constructon of calbraton functons requred for analytcal technques such as gas chromatography, atomc absorpton

More information

BioTechnology. An Indian Journal FULL PAPER. Trade Science Inc.

BioTechnology. An Indian Journal FULL PAPER. Trade Science Inc. [Type text] [Type text] [Type text] ISSN : 0974-74 Volume 0 Issue BoTechnology 04 An Indan Journal FULL PAPER BTAIJ 0() 04 [684-689] Revew on Chna s sports ndustry fnancng market based on market -orented

More information

Announcements. Supervised Learning

Announcements. Supervised Learning Announcements See Chapter 5 of Duda, Hart, and Stork. Tutoral by Burge lnked to on web page. Supervsed Learnng Classfcaton wth labeled eamples. Images vectors n hgh-d space. Supervsed Learnng Labeled eamples

More information

VISUAL SELECTION OF SURFACE FEATURES DURING THEIR GEOMETRIC SIMULATION WITH THE HELP OF COMPUTER TECHNOLOGIES

VISUAL SELECTION OF SURFACE FEATURES DURING THEIR GEOMETRIC SIMULATION WITH THE HELP OF COMPUTER TECHNOLOGIES UbCC 2011, Volume 6, 5002981-x manuscrpts OPEN ACCES UbCC Journal ISSN 1992-8424 www.ubcc.org VISUAL SELECTION OF SURFACE FEATURES DURING THEIR GEOMETRIC SIMULATION WITH THE HELP OF COMPUTER TECHNOLOGIES

More information

Priority queues and heaps Professors Clark F. Olson and Carol Zander

Priority queues and heaps Professors Clark F. Olson and Carol Zander Prorty queues and eaps Professors Clark F. Olson and Carol Zander Prorty queues A common abstract data type (ADT) n computer scence s te prorty queue. As you mgt expect from te name, eac tem n te prorty

More information

Wishing you all a Total Quality New Year!

Wishing you all a Total Quality New Year! Total Qualty Management and Sx Sgma Post Graduate Program 214-15 Sesson 4 Vnay Kumar Kalakband Assstant Professor Operatons & Systems Area 1 Wshng you all a Total Qualty New Year! Hope you acheve Sx sgma

More information

Biostatistics 615/815

Biostatistics 615/815 The E-M Algorthm Bostatstcs 615/815 Lecture 17 Last Lecture: The Smplex Method General method for optmzaton Makes few assumptons about functon Crawls towards mnmum Some recommendatons Multple startng ponts

More information