Basics Set systems: (X,F) where F is a collection of subsets of X. e.g. (R 2, set of half-planes) µ: a probability measure on X e.g. area/volume is a.

Slides:



Advertisements
Similar presentations
On Complexity, Sampling, and -Nets and -Samples. Range Spaces A range space is a pair, where is a ground set, it’s elements called points and is a family.
Advertisements

Nearest Neighbor Search
INTERVAL TREE & SEGMENTATION TREE
Cutting trees and the cutting lemma Presented by Amir Mograbi.
AVL Trees1 Part-F2 AVL Trees v z. AVL Trees2 AVL Tree Definition (§ 9.2) AVL trees are balanced. An AVL Tree is a binary search tree such that.
S. Sudarshan Based partly on material from Fawzi Emad & Chau-Wen Tseng
Dynamic Planar Convex Hull Operations in Near- Logarithmic Amortized Time TIMOTHY M. CHAN.
2/14/13CMPS 3120 Computational Geometry1 CMPS 3120: Computational Geometry Spring 2013 Planar Subdivisions and Point Location Carola Wenk Based on: Computational.
Convexity of Point Set Sandip Das Indian Statistical Institute.
By : L. Pour Mohammad Bagher Author : Vladimir N. Vapnik
Finding Small Balanced Separators Author: Uriel Feige Mohammad Mahdian Presented by: Yang Liu.
Tirgul 10 Rehearsal about Universal Hashing Solving two problems from theoretical exercises: –T2 q. 1 –T3 q. 2.
6/14/2015 6:48 AM(2,4) Trees /14/2015 6:48 AM(2,4) Trees2 Outline and Reading Multi-way search tree (§3.3.1) Definition Search (2,4)
Approximate Range Searching in the Absolute Error Model Guilherme D. da Fonseca CAPES BEX Advisor: David M. Mount.
1 Trees. 2 Outline –Tree Structures –Tree Node Level and Path Length –Binary Tree Definition –Binary Tree Nodes –Binary Search Trees.
CPSC 668Set 10: Consensus with Byzantine Failures1 CPSC 668 Distributed Algorithms and Systems Fall 2006 Prof. Jennifer Welch.
Measuring Model Complexity (Textbook, Sections ) CS 410/510 Thurs. April 27, 2007 Given two hypotheses (models) that correctly classify the training.
I/O-Algorithms Lars Arge University of Aarhus March 1, 2005.
I/O-Algorithms Lars Arge Spring 2009 March 3, 2009.
Vapnik-Chervonenkis Dimension Definition and Lower bound Adapted from Yishai Mansour.
I/O-Algorithms Lars Arge Aarhus University February 14, 2008.
Rooted Trees. More definitions parent of d child of c sibling of d ancestor of d descendants of g leaf internal vertex subtree root.
© 2006 Pearson Addison-Wesley. All rights reserved11 A-1 Chapter 11 Trees.
Vapnik-Chervonenkis Dimension Part II: Lower and Upper bounds.
© 2004 Goodrich, Tamassia (2,4) Trees
On Complexity, Sampling, and є-Nets and є-Samples. Present by: Shay Houri.
AALG, lecture 11, © Simonas Šaltenis, Range Searching in 2D Main goals of the lecture: to understand and to be able to analyze the kd-trees and.
Efficient Partition Trees Jiri Matousek Presented By Benny Schlesinger Omer Tavori 1.
Orthogonal Range Searching I Range Trees. Range Searching S = set of geometric objects Q = query object Report/Count objects in S that intersect Q Query.
Delaunay Triangulations Presented by Glenn Eguchi Computational Geometry October 11, 2001.
1 B Trees - Motivation Recall our discussion on AVL-trees –The maximum height of an AVL-tree with n-nodes is log 2 (n) since the branching factor (degree,
Proof of Kleinberg’s small-world theorems
14/13/15 CMPS 3130/6130 Computational Geometry Spring 2015 Windowing Carola Wenk CMPS 3130/6130 Computational Geometry.
Ch. 6 - Approximation via Reweighting Presentation by Eran Kravitz.
Binary Trees. Binary Tree Finite (possibly empty) collection of elements A nonempty binary tree has a root element The remaining elements (if any) are.
Fall 2005Costas Busch - RPI1 Mathematical Preliminaries.
Prof. Busch - LSU1 Mathematical Preliminaries. Prof. Busch - LSU2 Mathematical Preliminaries Sets Functions Relations Graphs Proof Techniques.
2IL50 Data Structures Fall 2015 Lecture 9: Range Searching.
The Simplex Algorithm 虞台文 大同大學資工所 智慧型多媒體研究室. Content Basic Feasible Solutions The Geometry of Linear Programs Moving From Bfs to Bfs Organization of a.
Open Problem: Dynamic Planar Nearest Neighbors CSCE 620 Problem 63 from the Open Problems Project
Fall 2006 CSC311: Data Structures 1 Chapter 10: Search Trees Objectives: Binary Search Trees: Search, update, and implementation AVL Trees: Properties.
© 2004 Goodrich, Tamassia Trees
COSC 3101A - Design and Analysis of Algorithms 6 Lower Bounds for Sorting Counting / Radix / Bucket Sort Many of these slides are taken from Monica Nicolescu,
Interval S = [3,10]  {x | 3 ≤ x ≤ 10} Closed segment S = (3,10)  {x | 3 < x < 10} Opened segment S = [3,3]  {3} Point.
1 Mathematical Preliminaries. 2 Sets Functions Relations Graphs Proof Techniques.
February 17, 2005Lecture 6: Point Location Point Location (most slides by Sergi Elizalde and David Pritchard)
Summary of the Last Lecture This is our second lecture. In our first lecture, we discussed The vector spaces briefly and proved some basic inequalities.
UNC Chapel Hill M. C. Lin Geometric Data Structures Reading: Chapter 10 of the Textbook Driving Applications –Windowing Queries Related Application –Query.
Small-world phenomenon: An Algorithmic Perspective Jon Kleinberg.
1 Chapter 4 Geometry of Linear Programming  There are strong relationships between the geometrical and algebraic features of LP problems  Convenient.
Binary Search Trees A binary search tree is a binary tree
CISC220 Fall 2009 James Atlas Lecture 13: Binary Trees.
Introduction to Trees Section 11.1.
TREES General trees Binary trees Binary search trees AVL trees
Orthogonal Range Searching and Kd-Trees
(2,4) Trees (2,4) Trees 1 (2,4) Trees (2,4) Trees
Fast Trie Data Structures
(2,4) Trees /26/2018 3:48 PM (2,4) Trees (2,4) Trees
(2,4) Trees (2,4) Trees (2,4) Trees.
CSCI-2400 Models of Computation.
Dynamic Data Structures for Simplicial Thickness Queries
(2,4) Trees 2/15/2019 (2,4) Trees (2,4) Trees.
(2,4) Trees /24/2019 7:30 PM (2,4) Trees (2,4) Trees
CMPS 3130/6130 Computational Geometry Spring 2017
Range Queries on Uncertain Data
(2,4) Trees (2,4) Trees (2,4) Trees.
Proof of Kleinberg’s small-world theorems
CMPS 3130/6130 Computational Geometry Spring 2017
(2,4) Trees /6/ :26 AM (2,4) Trees (2,4) Trees
CS210- Lecture 20 July 19, 2005 Agenda Multiway Search Trees 2-4 Trees
Presentation transcript:

Basics Set systems: (X,F) where F is a collection of subsets of X. e.g. (R 2, set of half-planes) µ: a probability measure on X e.g. area/volume is a uniform probability A hits B meansis not empty

Є-nets is an Є -net for (X,F) if N hits all “large” sets of F S is large if µ(S) >= Є Main theorem: Set systems with finite VC- dimension have a (1/r)-net of size at most Cr log r. Size of Є-net is independent of the size of X or F! Applications: Point location, segment intersection searching, range searching. Approximation algorithms?

VC-dimension and shattering Connections between VC-dimension and Є- nets Proof of Є-net Theorem Application of Є-net in point location

VC dimension and shattering Restriction of F on is the set A subset of is shattered by F if VC-dimension of (X,F) is the size of the largest subset of X that is shattered by F. If F can shatter arbitrarily large subsets of X, then F has an infinite VC-dimension.

VC dimension of (R 2, set of halfplanes) Can a set of 3 points be shattered? Can a set of 4 points be shattered?

Why VC-dimension? VC-dimension of (R d, set of half spaces) d+1 VC-dimension of (R d, set of convex polytopes) infinite VC-dimension of (X, 2 X ) (X is finite in this case) infinite (½)-net for (X, 2 X ) must have size at least |X|/2 !

VC-dimension and shattering Connections between VC-dimension and Є- nets Proof of Є-net Theorem Application of Є-net in point location

VC-dimension and shatter function Shatter function: Example: Given VC-dimension of (X,F) is d More precisely if m<=d otherwise

VC-dimension and shattering Connections between VC-dimension and Є- nets Proof of Є-net Theorem Application of Є-net in point location

Є-net Theorem Theorem: Given a set system (X, F) with dim(F) ≤ d, such that d ≥ 2 and r ≥ 2 is a parameter, there exists a (1/r)-net for (X, F) of size at most Cdr log r, where C is an absolute constant. Idea of the proof: Two steps: Randomly choose. If S does not hit some (1/r)- large set A, then chose another |S| elements from X. Choose 2|S| elements from X at random.

VC-dimension and shattering Connections between VC-dimension and Є- nets Proof of Є-net Theorem Application of Є-net in point location

Point Location in an arrangement Problem: Point location in an arrangement of n hyperplanes in R d in O(log n) time using O(n d+Є ) preprocessing time and O(n d+Є ) query data structure. Solution: Construct a tree like data structure for queries Thanks to Є-nets, the height of this tree is O(log n)

Recursive construction of Query tree Each node v is associated with a subset Γ(v) of H. Root is associated with the whole of H. If v has less than n 0 associated hyperplanes it is a leaf For other nodes v, consider the set system The above set system has a VC dimension less than d 3 log d

Internal leaves of the query structure Choose a (1/r)-net R(v) for the given set system at v. Construct a simplex partitioning of R d using the hyperplanes in R(v) Any such simplex δ, is not intersected by more than | Γ(v) |/r hyperplanes in Γ(v) Since, no hyperplane in R(v) intersects δ and R(v) is a (1/r)-net of Γ(v). For each simplex in the simplex partitioning above, create a child node of v. With each of these child nodes associate the hyperplanes that intersect the corresponding simplex.

Query tree and queries Number of children for each node=number of simplices in the partitioning=(r log r) d Height of tree = log n since Root is associated with n hyperplanes Leaves are associated with n 0 hyperplanes Each interior node is associated with less than (1/r) th of the hyperplanes associated with its parent. Point location: At each node locate the child simplex in which the query point lies and then recurse.