- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Algorithms for Nearest Neighbor Search.ppt
Algorithms for Nearest Neighbor Search Piotr Indyk MIT Nearest Neighbor Search Given: a set P of n points in Rd Goal: a data structure, which given a query point q, finds the nearest neighbor p of q in P Outline of this talk Variants Motivation Main memory algorithms: quadtrees kd-trees Locality Sensitive Hashing Secondary storage algorithms: R-tree (and its variants) VA-file Variants of nearest neighbor Near neighbor (range search): find one/all points in P within distance r from q Spatial join: given two sets P,Q, find all pairs p in P, q in Q, such that p is within distance r from q Approximate near neighbor: find one/all points p’ in P, whose distance to q is at most (1+e) times the distance from q to its nearest neighbor Motivation Depends on the value of d: low d: graphics, vision, GIS, etc high d: similarity search in databases (text, images etc) finding pairs of similar objects (e.g., copyright violation detection) useful subroutine for clustering Algorithms Main memory (Computational Geometry) linear scan tree-based: quadtree kd-tree hashing-based: Locality-Sensitive Hashing Secondary storage (Databases) R-tree (and numerous variants) Vector Approximation File (VA-file) Quadtree Simplest spatial structure on Earth ! Quadtree ctd. Split the space into 2d equal subsquares Repeat until done: only one pixel left only one point left only a few points left Variants: split only one dimension at a time k-d-trees (in a moment) Range search Near neighbor (range search): put the root on the stack repeat pop the next node T from the stack for each child C of T: if C is a leaf, examine point(s) in C if C intersects with the ball of radius r around q, add C to the stack Near neighbor ctd Nearest neighbor Start range search with r = ? Whenever a point is found, update r Only investigate nodes with respect to current r Quadtree ctd. Simple data structure Versatile, easy to implement So why doesn’t this talk end here ? Empty spaces: if the points form sparse clouds,
您可能关注的文档
- 8. UNIT TESTING.ppt
- 8.1 功率放大电路的一般问题.ppt
- 8.1 民事法律关系客体概述.ppt
- 8.6 边值问题的数值解法.ppt
- 8A Unit 3A day outReading 1.ppt
- 9.1 杠杆.ppt
- 9.4.1几何上的应用.ppt
- 9.6 一个RMI的分布式应用的实例.ppt
- 90后离职率高达三成引热议高二九班 冯思瑶.ppt
- 98年台南市生态旅游种子教师研习营.ppt
- ALTERNATIVE MODELS OF BANK PERFORMANCE.ppt
- American Business Culture.ppt
- American Housing Survey.ppt
- Amino Acids and Proteins.PPT
- Amplification.ppt
- An E-mail from Donna.ppt
- An English Song.ppt
- An English-Speaking World.ppt
- An inference engine for the semantic web.ppt
- An Interactive Food Web Display.ppt
最近下载
- 精装修工程施工后验收措施.docx VIP
- 人教版(2024)七年级生物上册课件 1.3.2 动物体的结构层次.pptx VIP
- 全国青少年无人机大赛-固定翼赛模拟飞行个人竞速飞行赛竞赛规则.pdf VIP
- 塑料模具设计与制造(新) 单元1 壳件注射成型工艺规程编制 单元1-04壳件注射成型工艺规程编制任务工作单及评价表.doc VIP
- 2025年中国宠物行业白皮书.docx
- 冀教版初中七年级上册课堂练习课件 Unit 3 All about me Lesson 1 Me and my body.ppt VIP
- 2023年普通高中通用技术学业水平合格性考试真题及答案B卷.docx VIP
- 最新商店建筑设计规范.doc VIP
- 2023年普通高中通用技术学业水平合格性考试真题含答案A卷.pdf VIP
- RBA社会责任管理手册版.pdf VIP
文档评论(0)