Euclidean Distance: Math, Applications and Code

  Рет қаралды 20,060

Radu Mariescu-Istodor

Radu Mariescu-Istodor

Күн бұрын

Пікірлер: 124
@Radu
@Radu Жыл бұрын
I've been wanting to make a video about the Euclidean distance for the last 3 years, but visualizing higher dimensional spaces is hard and I didn't have the skills to do it back then. Now, with an extra push from the #SoME3 competition, I managed to do something I'm quite happy with. What do you guys think? :-)
@unknown-bx8my
@unknown-bx8my Жыл бұрын
Awesome video as usual😎
@Radu
@Radu Жыл бұрын
​@@unknown-bx8my Thanks!
@___d3p1
@___d3p1 Жыл бұрын
This video deserves a prize! Great visualization and explanation! It opens your mind!
@Radu
@Radu Жыл бұрын
Glad you liked it! :-)
@zk-mc
@zk-mc 8 ай бұрын
Love this video so much. Clear explanations and surprisingly high production value - with your help I managed to grok it in a way I never had before. You are a godsend. Ta
@Radu
@Radu 8 ай бұрын
I'm happy you got another perspective :-)
@Frankslaboratory
@Frankslaboratory Жыл бұрын
Your visuals are getting better and better.
@Radu
@Radu Жыл бұрын
Thanks!
@javifontalva7752
@javifontalva7752 Жыл бұрын
Pure magic!!
@knightullas6946
@knightullas6946 Жыл бұрын
🎉
@RipMoney911
@RipMoney911 5 ай бұрын
This was so clear and concise, it's actually crazy. You explain things so well! This was unimaginably useful, many thanks!
@Radu
@Radu 4 ай бұрын
Thank you. Makes me happy to hear I was of help! :-)
@pesterenan
@pesterenan Жыл бұрын
My god that was simply INCREDIBLE! The visualization from the car "learning" to drive made me understand how that type of AI classifies the sensors distance to decide which way to turn! Awesome video Radu!!!
@Radu
@Radu Жыл бұрын
Wow, thanks! :-) [btw, looks like your drawing made it here as well]
@pesterenan
@pesterenan Жыл бұрын
@Radu Yeah! That is so cool, hahaha. You really know how to integrate your viewers on your videos :D
@Radu
@Radu Жыл бұрын
I try :-)
@csguru8211
@csguru8211 8 ай бұрын
Oh my god!!!! Your tutorial are like dream come true for those who want to understand things so clearly as you explain. I want to become a teacher like you. I'm also learning a lot from your videos. Thankyou for putting so much efforts in making these videos and making it available for free.
@Radu
@Radu 8 ай бұрын
Glad I could help :-) Thanks for watching!
@nathanoy_
@nathanoy_ Жыл бұрын
This video is incredible! Glad i found your channel. This made me instantly subscribe to your channel.
@Radu
@Radu Жыл бұрын
Glad to hear you liked the video and thanks for coming to the channel :-)
@jholloway77
@jholloway77 8 ай бұрын
This was fantastic. I used what I learn to make an application that matched products by their RGB color values, pairing the different products brands with the closest colored products from other brands. Not as fancy as the car application, but using it to automate data saved me a day of work!
@Radu
@Radu 8 ай бұрын
It's great you found your own application to use it in :-) Nice work!
@robbiewilliamson9783
@robbiewilliamson9783 3 ай бұрын
There is a book I really like called "Drive your plow over the bones of the dead" by Olga Tocarczuk. There is a scene where two of the characters are translating William Blake's poetry into English. They both go away themselves and write how they think the passages should be translated into English, and then they compare their two versions of the poem to see the differences in their translations, to come up with a third version of the poem in polish that is truest to the the imagery, meter and meaning of the original. The catch is that the book is translated into English (which is my first language). They somehow manage to capture the nuance of translating into another language and provide two versions of the translations so that you can see the hiccups that a translator might face, all while using only English. It is a brilliant magic trick of translation and understanding. This video is on a par with that.
@Radu
@Radu 3 ай бұрын
Oh wow... Thank you. Your comment made my day :-)
@basiccoder2166
@basiccoder2166 Жыл бұрын
what a great visualization and edits props to the editor
@Radu
@Radu Жыл бұрын
Thanks!
@redserpent
@redserpent 23 күн бұрын
wow, absolutely brilliant video, your process of explanation helped me connect the dots about 2-d and 3-d algebra. Thanks.
@Radu
@Radu 21 күн бұрын
Thank you. Always nice when I get a new comment for this one. It's one of those I worked on a lot but doesn't get that much attention :-P
@PrantikNoor
@PrantikNoor Жыл бұрын
This is the first time, I felt the need of higher dimension. 😙
@Radu
@Radu Жыл бұрын
:-) Good to hear!
@user23724
@user23724 Жыл бұрын
This was really engaging, I loved it, thank you!
@Radu
@Radu Жыл бұрын
Glad to hear :-) thanks for watching!
@EnglishRain
@EnglishRain Жыл бұрын
Fantastic video, superb explanation & visualization
@Radu
@Radu Жыл бұрын
Glad you liked it!
@AsifZeeshan
@AsifZeeshan 9 ай бұрын
Simply! Awesome! Really easy and intuitive explanation.
@Radu
@Radu 9 ай бұрын
Thank you! :-)
@abdullaprobably
@abdullaprobably 15 күн бұрын
Mind-blowing🤯🤯, thank you for this Radu Sensei🙌, Love from India ❤❤❤
@Radu
@Radu 11 күн бұрын
Glad you liked it! :-)
@tohirasadov689
@tohirasadov689 Жыл бұрын
Really wonderfull job!...............The best of the best my friend.
@Radu
@Radu Жыл бұрын
Thank you!
@freigeist2147
@freigeist2147 10 ай бұрын
Very good work on this Video, Thanks ! :)
@Radu
@Radu 10 ай бұрын
You're welcome. Thanks for watching :-)
@shadrinan90
@shadrinan90 2 ай бұрын
Great visualizations!
@Radu
@Radu 2 ай бұрын
Thank you!
@alexsouza22
@alexsouza22 Жыл бұрын
Great video! Thanks for all the effort to make it more digestive average humans
@Radu
@Radu Жыл бұрын
Thanks for watching!
@oldumvolley
@oldumvolley 7 ай бұрын
admirations for the effort!
@Radu
@Radu 7 ай бұрын
Thanks :-)
@plapbandit
@plapbandit Жыл бұрын
I needed this, thanks Doc
@Radu
@Radu Жыл бұрын
You're welcome :-)
@javifontalva7752
@javifontalva7752 Жыл бұрын
Great! You always make my day! Thanks!!!
@Radu
@Radu Жыл бұрын
Glad to hear that!
@AhmadAbdelsalam-g6x
@AhmadAbdelsalam-g6x 8 күн бұрын
thisis a really cool animation 2:34 , what did you use to make it , did you use manim or anything else ?
@Radu
@Radu 5 күн бұрын
Thanks! I coded it in ThreeJs... Also did editing afterwards in Premiere Pro. Manim could definitely be used, but I don't know it well and I had some related JavaScript code I could take modules from and build this relatively easy.
@MrSilversMathSheets
@MrSilversMathSheets Жыл бұрын
This is done very well!
@Radu
@Radu Жыл бұрын
Thank you :-) I hope it helps many people.
@adrian__4678
@adrian__4678 10 ай бұрын
Esti tare!
@Radu
@Radu 10 ай бұрын
:-) Merci!
@lightyagami6823
@lightyagami6823 Жыл бұрын
If only my teachers were like you :)
@Radu
@Radu Жыл бұрын
Well, teachers teach things... So if you learned something from this, I was your teacher :-)
@mirjalol49
@mirjalol49 Жыл бұрын
damnnnn man, what else u can do? why noone on the internet shows smth u do? u are so smart man. can u upload such mind blowing things pls
@Radu
@Radu Жыл бұрын
Glad you liked it. Thanks for watching :-)
@Son_Goku2018
@Son_Goku2018 Жыл бұрын
that is the most entertaining intro so far
@Radu
@Radu Жыл бұрын
Thanks!
@BrettCoffin
@BrettCoffin Жыл бұрын
Brilliant ;) Thank you
@Radu
@Radu Жыл бұрын
Glad you liked it!
@drtobbyas
@drtobbyas 4 ай бұрын
I love the visualization and animations. Do you mind sharing what tools you used in creating the visualization? Great video
@Radu
@Radu 4 ай бұрын
Hi, I actually coded all visualisations in JavaScript. I also used ThreeJS.
@JoaoLucas-tw2pt
@JoaoLucas-tw2pt Жыл бұрын
you're being good with video editing
@Radu
@Radu Жыл бұрын
Thank you!
@neilclay5835
@neilclay5835 Жыл бұрын
very professional video
@Radu
@Radu Жыл бұрын
Thank you!
@outsomnia
@outsomnia Жыл бұрын
your videos are actually best and it's not even close lol
@Radu
@Radu Жыл бұрын
Thanks for watching :-)
@zlackbiro
@zlackbiro 6 ай бұрын
And the most bizarre thing is everything he do is in JavaScript. Hahahah. So simple and clean. I love JavaScript.
@Radu
@Radu 6 ай бұрын
:-)
@wgalloPT
@wgalloPT Жыл бұрын
This is fantastic
@Radu
@Radu Жыл бұрын
Thank you!
@sharmarahul384
@sharmarahul384 Жыл бұрын
Your animations are amazing! What do u use for it?❤❤
@Radu
@Radu Жыл бұрын
Usually I just code them in JavaScript. For this one I used ThreeJs as well.
@sharmarahul384
@sharmarahul384 Жыл бұрын
@@Radu I thought I am the only one who wants to do things from scratch! 😅😅
@Radu
@Radu Жыл бұрын
Many people want (need) to do things fast, so 'from scratch' is rare nowadays.
@ninjacodertech
@ninjacodertech Жыл бұрын
wow that was really interesting!
@Radu
@Radu Жыл бұрын
Glad you think so! :-)
@javifontalva7752
@javifontalva7752 Жыл бұрын
12:37 How can you type in both languages at the same time?😮
@Radu
@Radu Жыл бұрын
Magic of editing :-D
@javifontalva7752
@javifontalva7752 Жыл бұрын
@@Radu Editing is a kind of magic. But the real magic is watching you coding. I am still a wannabe magician.
@viktoreidrien7110
@viktoreidrien7110 Жыл бұрын
so basically any feature added to distinguish shapes from the drawings is a new dimension right?
@Radu
@Radu Жыл бұрын
Exactly!
@viktoreidrien7110
@viktoreidrien7110 Жыл бұрын
@@Radu nice!! Thank you my friend! Looooove your content, keep it up please!!!
@Radu
@Radu Жыл бұрын
​@@viktoreidrien7110 I'll try ;-)
@gaming_zen_99
@gaming_zen_99 Жыл бұрын
Hey Bro! So I have been practicing coding for many month's now but nowadays I feel like I am nothing learning/improving as much as I used to before. What can I do about it?
@Radu
@Radu Жыл бұрын
In general, learning curves look like what you describe. You quickly get the basics down, and then improvements naturally come slower. It might be just normal.
@gaming_zen_99
@gaming_zen_99 Жыл бұрын
@@Radu Thanks bro! Highly appreciated.
@DeveloperJS-w1s
@DeveloperJS-w1s 20 күн бұрын
What math skills do I need to work on this project?
@Radu
@Radu 20 күн бұрын
What project? This is just a math video explainer.
@DeveloperJS-w1s
@DeveloperJS-w1s 19 күн бұрын
@Radu 1D 2D 3D calculating balls distance
@Radu
@Radu 11 күн бұрын
Calculating a distance is not really a project :-)
@DeveloperJS-w1s
@DeveloperJS-w1s 11 күн бұрын
@@Radu it needs some math skills like sin, cos...
@Radu
@Radu 9 күн бұрын
Some distance functions require them, yes. But the euclidean distance does not.
@MadaraAzukar
@MadaraAzukar Жыл бұрын
🥳 I have a q How to make something like gpt with the same things like we did it in recognition
@Radu
@Radu Жыл бұрын
First step is to convert words into numbers (feature vectors). You can look up word2vec online (there are others as well). It's not the full story for getting something like GPT but it's the step that makes the problem more similar to those we studied.
@unknown-bx8my
@unknown-bx8my Жыл бұрын
Wow! Very cool and informative question and answer.
@Radu
@Radu Жыл бұрын
@@unknown-bx8myThank you :-)
@1keck596
@1keck596 Ай бұрын
👍👍👍
@Radu
@Radu Ай бұрын
👍
@jakobmusic9187
@jakobmusic9187 Жыл бұрын
well made
@Radu
@Radu Жыл бұрын
Thank you!
@ChandrashekarCN
@ChandrashekarCN 9 ай бұрын
💖💖💖💖
@Radu
@Radu 9 ай бұрын
:-)
@quantumgaming9180
@quantumgaming9180 4 ай бұрын
Esti cumva absolvent de la universitate? Fiindca imi suna familiar numele tau
@Radu
@Radu 4 ай бұрын
Da, la mai multe :-) la care universitate te referi?
@quantumgaming9180
@quantumgaming9180 4 ай бұрын
@@Radu Universitatea Bucuresti, Poli, Ase? :)
@Radu
@Radu 4 ай бұрын
Nu, am fost la Vest, la Timisoara :-)
@klirmio21
@klirmio21 11 ай бұрын
bro your intro... omg.... you probably could be working at Google and earn so much money with your skills and brains... the intro amazed me holy fuck Edited after I watched it: Bruh.... I am speechless... If only I had such resources when I was at school, I would've probably finished it with much better grades. How do you make all those visualizations? Is that a program, or what? Like, when you showed the math, or when there were sensors showing when the car moving and on the right the whole "tree" was lighting up accordingly... There's a lot intertwined to Hypotenuse and pythagorean theorem, and squre root...
@Radu
@Radu 11 ай бұрын
Thank you :-) I'm glad to hear you liked it so much. I coded everything you see here, pretty much... visualizing the math, the self-driving car with the sensors (I have a full course on that) I just used it here (easy). And the drawing recognizer is from my machine learning course (also on KZbin). The Pythagorean theorem is from one of my other explainers (check out the math and code fundamentals playlist).
@klirmio21
@klirmio21 11 ай бұрын
@@Radu 🤯🤯🤯 I will, Radu!
@TJ-hs1qm
@TJ-hs1qm Жыл бұрын
4:41 Khaby 🥰😂
@Radu
@Radu Жыл бұрын
:-))
@omkarmudras756
@omkarmudras756 Жыл бұрын
I think we begginers intermediates find this things fascinating. Just an fact no offence.
@Radu
@Radu Жыл бұрын
Glad to hear :-) why would I be offended by that? :-D
Machine Learning Course - Lesson 12: Elongation Feature
23:54
Radu Mariescu-Istodor
Рет қаралды 2 М.
Distance from Point to Segment Explained using JavaScript
25:11
Radu Mariescu-Istodor
Рет қаралды 6 М.
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 15 МЛН
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 54 МЛН
Every Distance in Data Science (Almost 100K Subs!)
21:25
ritvikmath
Рет қаралды 12 М.
The applications of non-euclidean distance | Metric Spaces
18:43
The Fascinating Math behind Piston Extenders #SoME3
20:08
mattbatwings
Рет қаралды 732 М.
Pythagorean Theorem: Proof, Applications and JavaScript Code
8:42
Radu Mariescu-Istodor
Рет қаралды 6 М.
Visualizing 4D Pt.1
22:56
HyperCubist Math
Рет қаралды 1,1 МЛН
Why are periodic systems so unpredictable? #some3
19:30
Concave Cuboid
Рет қаралды 16 М.
The Verhoeff-Gumm Check Digit Algorithm #SoME3
17:00
Concepts Illuminated
Рет қаралды 193 М.