KD-Trees and Range search

  Рет қаралды 64,728

Niklas Lundström

Niklas Lundström

Күн бұрын

Пікірлер: 35
@yusufahmed2233
@yusufahmed2233 3 жыл бұрын
I love how you are actually drawing instead of animating it, and the quality is not less in any way! Thank for the informative and fun video
@alkodjdjd
@alkodjdjd 4 жыл бұрын
Finally a video without math crap and straight to the point. Congrats!
@uttarandey405
@uttarandey405 7 жыл бұрын
One of the best explanation I've ever seen in my life....thanks a lot...
@spandankumarsahu3313
@spandankumarsahu3313 7 жыл бұрын
Excellent video :) Saved so many pages of non-enticing text :)
@Lukas-wm8dy
@Lukas-wm8dy 4 жыл бұрын
This video should have much more views, really well explained. Thanks a lot!
@linuxguru27
@linuxguru27 2 жыл бұрын
I liked your explanation, Kudos! Thank you
@ama_do_it
@ama_do_it 4 жыл бұрын
My left ear said this lecture was fantastic
@irajulsaxena
@irajulsaxena 5 жыл бұрын
Thank You so much for the knowledge.... also the effort to make such a great, well explained video.... and editing it too... all too good 😊👍
@bikers11254
@bikers11254 5 жыл бұрын
+1
@tomwimmenhove4652
@tomwimmenhove4652 6 жыл бұрын
Well done, great explanation. Thanks!
@Vivekanand-q7c
@Vivekanand-q7c 3 жыл бұрын
Thanks for this nice explanation
@hobobmo
@hobobmo 4 жыл бұрын
Excellent explanation. Thanks!
@osolovyoff
@osolovyoff 5 жыл бұрын
Thank you so much !!! I fully understood it after your video
@kristiant.srensen9400
@kristiant.srensen9400 4 жыл бұрын
Great explanation, thanks a lot!
@edvogel56
@edvogel56 5 жыл бұрын
Also a great way to make Mondrian like paintings
@martinliptak4781
@martinliptak4781 5 жыл бұрын
Thank you, funny, informative and helpuf!
@user-gm3gt7cl2y
@user-gm3gt7cl2y 5 жыл бұрын
cool explanation, thanks
@MaheshKumar-yz7ns
@MaheshKumar-yz7ns 6 жыл бұрын
Very Good Explanation.
@filipf7983
@filipf7983 Жыл бұрын
Thanks a lot!
@mohitkatyal7988
@mohitkatyal7988 7 жыл бұрын
Great Video, thanks so much!
@amankhurana2154
@amankhurana2154 4 жыл бұрын
Awesome, Perfect :)
@tahmidziko2601
@tahmidziko2601 7 жыл бұрын
Superb just like an awesome
@mikl2345
@mikl2345 5 жыл бұрын
I tried to implement kd trees without looking at the solution first. I came up with a node with four links, one for each possible pair of positive/negative direction in each dimension (i.e., each of these four links denotes a quadrant). Then I looked at the solution and was surprised that it seemed more complex, because it alternates x and y directions rather than choosing a quadrant in a uniform way at each step, as my 'solution' did. But now I think my solution seems flawed. Is it possible from what I've said to explain why? Putting it another way, why does the kd tree as shown here need to alternate between dimensions? Thanks for a great video!
@niklaslundstrom1235
@niklaslundstrom1235 5 жыл бұрын
So it seems like what you are describing is a KDB-Tree, which is a perfectly fine data structure. KD-Trees are a generalisation of binary trees in higher dimensions, whereas KDB-Trees are a generalisation of b-trees in higher dimension, i.e. the possibility for a node to have more than two children. I think it can be a good idea to think about how you want to split at each level. By for example splitting over x and y independently _____x______ | | | y|-----|--------| y |___|_____| x as you did can be fine for some purposes, but could also lead to a more unbalanced tree. Imagine for example we have a bunch of points in the upper-left corner and lower-right corner, but very few in lower-left and upper-right corner. If we want a balanced tree, we would have to split x and y dependent on each other _____x________ y|-----| | | |------------| y |___|________| x and thus first checking x, and then y. This would of course be possible with a KDB-Tree as well but it would still be necessary to check one dimension at the time, but then output four children.
@xiaoyujia9637
@xiaoyujia9637 6 жыл бұрын
coooool ! easy to understand,thanks a lot
@cq6269
@cq6269 4 жыл бұрын
Thank you
@HebrewSongPod
@HebrewSongPod 5 жыл бұрын
well explained!
@dhruv6433
@dhruv6433 2 жыл бұрын
welcome IITD peeps COL106😁
@royleon5
@royleon5 7 жыл бұрын
thought someone was talking behind me..
@questforprogramming
@questforprogramming 5 жыл бұрын
Explanation is good, but bgm ruined my concentration....please keep doing videos but without bgm. Thank you
@niklaslundstrom1235
@niklaslundstrom1235 5 жыл бұрын
all right, thanks for the input :)
@soumyajitdutta428
@soumyajitdutta428 7 жыл бұрын
At 2:57-3:03 I hear a siren, Am i right?
@Darieee
@Darieee 7 жыл бұрын
nah my phone was just ringing
@billwang1456
@billwang1456 2 жыл бұрын
2:52
@doekewartena5729
@doekewartena5729 Жыл бұрын
This is a terrible way to do a range search on a k-d tree. You kind of want to define a branch that goes left-ish and one that goes right-is. And then add the branches inbetween those two without checking the individual points. Sorry for my poor explanation.
K-d Trees - Computerphile
13:20
Computerphile
Рет қаралды 240 М.
Advanced Data Structures: K-D Trees
8:47
Niema Moshiri
Рет қаралды 41 М.
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,9 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 32 МЛН
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 3,3 МЛН
KD-Tree Nearest Neighbor Data Structure
6:39
Stable Sort
Рет қаралды 121 М.
Tutorial 5: K-NN Part 7  KD-Trees
8:07
Brewing a cup of data
Рет қаралды 8 М.
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
The 5 Stages of Learning Blender
3:14
Artin Azarnejad
Рет қаралды 242 М.
AI Learns to Run Faster than Usain Bolt | World Record
10:22
cozmouz
Рет қаралды 1,1 МЛН
K-D Tree: build and search for the nearest neighbor
5:07
Algokodabra
Рет қаралды 25 М.
Coding Challenge #98.1: Quadtree - Part 1
38:08
The Coding Train
Рет қаралды 314 М.
Trees QuadTree OctTree
8:44
Dave Carrigg
Рет қаралды 16 М.
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,9 МЛН