Euclidean Distance: Math, Applications and Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2025

ความคิดเห็น • 128

  • @Radu
    @Radu  ปีที่แล้ว +22

    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 ปีที่แล้ว +3

      Awesome video as usual😎

    • @Radu
      @Radu  ปีที่แล้ว +2

      ​@@unknown-bx8my Thanks!

  • @___d3p1
    @___d3p1 ปีที่แล้ว +26

    This video deserves a prize! Great visualization and explanation! It opens your mind!

    • @Radu
      @Radu  ปีที่แล้ว +1

      Glad you liked it! :-)

  • @Frankslaboratory
    @Frankslaboratory ปีที่แล้ว +15

    Your visuals are getting better and better.

  • @RipMoney911
    @RipMoney911 6 หลายเดือนก่อน +4

    This was so clear and concise, it's actually crazy. You explain things so well! This was unimaginably useful, many thanks!

    • @Radu
      @Radu  6 หลายเดือนก่อน +1

      Thank you. Makes me happy to hear I was of help! :-)

  • @pesterenan
    @pesterenan ปีที่แล้ว +11

    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  ปีที่แล้ว +1

      Wow, thanks! :-) [btw, looks like your drawing made it here as well]

    • @pesterenan
      @pesterenan ปีที่แล้ว +1

      @Radu Yeah! That is so cool, hahaha. You really know how to integrate your viewers on your videos :D

    • @Radu
      @Radu  ปีที่แล้ว +1

      I try :-)

  • @zk-mc
    @zk-mc 9 หลายเดือนก่อน +1

    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  9 หลายเดือนก่อน

      I'm happy you got another perspective :-)

  • @nathanoy_
    @nathanoy_ ปีที่แล้ว +5

    This video is incredible! Glad i found your channel.
    This made me instantly subscribe to your channel.

    • @Radu
      @Radu  ปีที่แล้ว +1

      Glad to hear you liked the video and thanks for coming to the channel :-)

  • @basiccoder2166
    @basiccoder2166 ปีที่แล้ว +4

    what a great visualization and edits
    props to the editor

    • @Radu
      @Radu  ปีที่แล้ว

      Thanks!

  • @csguru8211
    @csguru8211 9 หลายเดือนก่อน +1

    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  9 หลายเดือนก่อน +1

      Glad I could help :-) Thanks for watching!

  • @chitturipraveenchow
    @chitturipraveenchow วันที่ผ่านมา +1

    This is awesome explanation with clear visualization. Many thanks for your hard work.

    • @Radu
      @Radu  วันที่ผ่านมา

      Glad it was helpful! :-)

  • @jholloway77
    @jholloway77 10 หลายเดือนก่อน +1

    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  10 หลายเดือนก่อน +1

      It's great you found your own application to use it in :-) Nice work!

  • @redserpent
    @redserpent 2 หลายเดือนก่อน +1

    wow, absolutely brilliant video, your process of explanation helped me connect the dots about 2-d and 3-d algebra. Thanks.

    • @Radu
      @Radu  2 หลายเดือนก่อน

      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

  • @robbiewilliamson9783
    @robbiewilliamson9783 5 หลายเดือนก่อน +1

    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  5 หลายเดือนก่อน

      Oh wow... Thank you. Your comment made my day :-)

  • @AhmadAbdelsalam-g6x
    @AhmadAbdelsalam-g6x 2 หลายเดือนก่อน +1

    thisis a really cool animation 2:34 , what did you use to make it , did you use manim or anything else ?

    • @Radu
      @Radu  หลายเดือนก่อน +1

      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.

  • @user23724
    @user23724 ปีที่แล้ว +2

    This was really engaging, I loved it, thank you!

    • @Radu
      @Radu  ปีที่แล้ว

      Glad to hear :-) thanks for watching!

  • @PrantikNoor
    @PrantikNoor ปีที่แล้ว +6

    This is the first time, I felt the need of higher dimension. 😙

    • @Radu
      @Radu  ปีที่แล้ว

      :-) Good to hear!

  • @lesley2807
    @lesley2807 20 วันที่ผ่านมา +1

    Super awesome video and clear explanation!

    • @Radu
      @Radu  17 วันที่ผ่านมา

      Glad you think so :-) Thanks for watching!

  • @AsifZeeshan
    @AsifZeeshan 11 หลายเดือนก่อน

    Simply! Awesome! Really easy and intuitive explanation.

    • @Radu
      @Radu  11 หลายเดือนก่อน

      Thank you! :-)

  • @EnglishRain
    @EnglishRain ปีที่แล้ว +5

    Fantastic video, superb explanation & visualization

    • @Radu
      @Radu  ปีที่แล้ว +2

      Glad you liked it!

  • @freigeist2147
    @freigeist2147 ปีที่แล้ว +1

    Very good work on this Video, Thanks ! :)

    • @Radu
      @Radu  ปีที่แล้ว

      You're welcome. Thanks for watching :-)

  • @alexsouza22
    @alexsouza22 ปีที่แล้ว +1

    Great video! Thanks for all the effort to make it more digestive average humans

    • @Radu
      @Radu  ปีที่แล้ว

      Thanks for watching!

  • @abdullaprobably
    @abdullaprobably 2 หลายเดือนก่อน +1

    Mind-blowing🤯🤯, thank you for this Radu Sensei🙌, Love from India ❤❤❤

    • @Radu
      @Radu  2 หลายเดือนก่อน

      Glad you liked it! :-)

  • @shadrinan90
    @shadrinan90 4 หลายเดือนก่อน +1

    Great visualizations!

    • @Radu
      @Radu  4 หลายเดือนก่อน

      Thank you!

  • @tohirasadov689
    @tohirasadov689 ปีที่แล้ว +1

    Really wonderfull job!...............The best of the best my friend.

    • @Radu
      @Radu  ปีที่แล้ว

      Thank you!

  • @javifontalva7752
    @javifontalva7752 ปีที่แล้ว +3

    Great! You always make my day! Thanks!!!

    • @Radu
      @Radu  ปีที่แล้ว

      Glad to hear that!

  • @drtobbyas
    @drtobbyas 6 หลายเดือนก่อน

    I love the visualization and animations. Do you mind sharing what tools you used in creating the visualization? Great video

    • @Radu
      @Radu  6 หลายเดือนก่อน

      Hi, I actually coded all visualisations in JavaScript. I also used ThreeJS.

  • @plapbandit
    @plapbandit ปีที่แล้ว +2

    I needed this, thanks Doc

    • @Radu
      @Radu  ปีที่แล้ว

      You're welcome :-)

  • @MrSilversMathSheets
    @MrSilversMathSheets ปีที่แล้ว +1

    This is done very well!

    • @Radu
      @Radu  ปีที่แล้ว

      Thank you :-) I hope it helps many people.

  • @oldumvolley
    @oldumvolley 9 หลายเดือนก่อน +1

    admirations for the effort!

    • @Radu
      @Radu  8 หลายเดือนก่อน

      Thanks :-)

  • @sharmarahul384
    @sharmarahul384 ปีที่แล้ว +3

    Your animations are amazing! What do u use for it?❤❤

    • @Radu
      @Radu  ปีที่แล้ว +3

      Usually I just code them in JavaScript. For this one I used ThreeJs as well.

    • @sharmarahul384
      @sharmarahul384 ปีที่แล้ว +1

      @@Radu I thought I am the only one who wants to do things from scratch! 😅😅

    • @Radu
      @Radu  ปีที่แล้ว +2

      Many people want (need) to do things fast, so 'from scratch' is rare nowadays.

  • @outsomnia
    @outsomnia ปีที่แล้ว +1

    your videos are actually best and it's not even close lol

    • @Radu
      @Radu  ปีที่แล้ว +1

      Thanks for watching :-)

  • @lightyagami6823
    @lightyagami6823 ปีที่แล้ว +2

    If only my teachers were like you :)

    • @Radu
      @Radu  ปีที่แล้ว +2

      Well, teachers teach things...
      So if you learned something from this, I was your teacher :-)

  • @adrian__4678
    @adrian__4678 ปีที่แล้ว +1

    Esti tare!

    • @Radu
      @Radu  ปีที่แล้ว +1

      :-) Merci!

  • @zlackbiro
    @zlackbiro 8 หลายเดือนก่อน +1

    And the most bizarre thing is everything he do is in JavaScript. Hahahah. So simple and clean. I love JavaScript.

    • @Radu
      @Radu  8 หลายเดือนก่อน

      :-)

  • @mirjalol49
    @mirjalol49 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

    that is the most entertaining intro so far

    • @Radu
      @Radu  ปีที่แล้ว

      Thanks!

  • @javifontalva7752
    @javifontalva7752 ปีที่แล้ว +1

    12:37 How can you type in both languages at the same time?😮

    • @Radu
      @Radu  ปีที่แล้ว

      Magic of editing :-D

    • @javifontalva7752
      @javifontalva7752 ปีที่แล้ว +2

      @@Radu Editing is a kind of magic. But the real magic is watching you coding. I am still a wannabe magician.

  • @thatsJonLucas
    @thatsJonLucas ปีที่แล้ว +1

    you're being good with video editing

    • @Radu
      @Radu  ปีที่แล้ว

      Thank you!

  • @neilclay5835
    @neilclay5835 ปีที่แล้ว +1

    very professional video

    • @Radu
      @Radu  ปีที่แล้ว

      Thank you!

  • @viktoreidrien7110
    @viktoreidrien7110 ปีที่แล้ว +2

    so basically any feature added to distinguish shapes from the drawings is a new dimension right?

    • @Radu
      @Radu  ปีที่แล้ว +2

      Exactly!

    • @viktoreidrien7110
      @viktoreidrien7110 ปีที่แล้ว +1

      @@Radu nice!! Thank you my friend! Looooove your content, keep it up please!!!

    • @Radu
      @Radu  ปีที่แล้ว +1

      ​@@viktoreidrien7110 I'll try ;-)

  • @wgalloPT
    @wgalloPT ปีที่แล้ว +1

    This is fantastic

    • @Radu
      @Radu  ปีที่แล้ว

      Thank you!

  • @BrettCoffin
    @BrettCoffin ปีที่แล้ว +1

    Brilliant ;)
    Thank you

    • @Radu
      @Radu  ปีที่แล้ว

      Glad you liked it!

  • @ninjacodertech
    @ninjacodertech ปีที่แล้ว +1

    wow that was really interesting!

    • @Radu
      @Radu  ปีที่แล้ว

      Glad you think so! :-)

  • @TahaJSDev
    @TahaJSDev 2 หลายเดือนก่อน +1

    What math skills do I need to work on this project?

    • @Radu
      @Radu  2 หลายเดือนก่อน +2

      What project? This is just a math video explainer.

    • @TahaJSDev
      @TahaJSDev 2 หลายเดือนก่อน +1

      @Radu 1D 2D 3D calculating balls distance

    • @Radu
      @Radu  2 หลายเดือนก่อน +1

      Calculating a distance is not really a project :-)

    • @TahaJSDev
      @TahaJSDev 2 หลายเดือนก่อน +1

      @@Radu it needs some math skills like sin, cos...

    • @Radu
      @Radu  2 หลายเดือนก่อน +1

      Some distance functions require them, yes. But the euclidean distance does not.

  • @gaming_zen_99
    @gaming_zen_99 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      @@Radu Thanks bro! Highly appreciated.

  • @MadaraAzukar
    @MadaraAzukar ปีที่แล้ว +3

    🥳
    I have a q
    How to make something like gpt with the same things like we did it in recognition

    • @Radu
      @Radu  ปีที่แล้ว +2

      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 ปีที่แล้ว +2

      Wow! Very cool and informative question and answer.

    • @Radu
      @Radu  ปีที่แล้ว +1

      @@unknown-bx8myThank you :-)

  • @jakobmusic9187
    @jakobmusic9187 ปีที่แล้ว +1

    well made

    • @Radu
      @Radu  ปีที่แล้ว

      Thank you!

  • @1keck596
    @1keck596 3 หลายเดือนก่อน +1

    👍👍👍

    • @Radu
      @Radu  3 หลายเดือนก่อน

      👍

  • @ChandrashekarCN
    @ChandrashekarCN 11 หลายเดือนก่อน +1

    💖💖💖💖

    • @Radu
      @Radu  11 หลายเดือนก่อน

      :-)

  • @quantumgaming9180
    @quantumgaming9180 6 หลายเดือนก่อน +1

    Esti cumva absolvent de la universitate? Fiindca imi suna familiar numele tau

    • @Radu
      @Radu  6 หลายเดือนก่อน

      Da, la mai multe :-) la care universitate te referi?

    • @quantumgaming9180
      @quantumgaming9180 6 หลายเดือนก่อน

      @@Radu Universitatea Bucuresti, Poli, Ase? :)

    • @Radu
      @Radu  6 หลายเดือนก่อน +1

      Nu, am fost la Vest, la Timisoara :-)

  • @klirmio21
    @klirmio21 ปีที่แล้ว +1

    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  ปีที่แล้ว

      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 TH-cam). The Pythagorean theorem is from one of my other explainers (check out the math and code fundamentals playlist).

    • @klirmio21
      @klirmio21 ปีที่แล้ว +1

      @@Radu 🤯🤯🤯 I will, Radu!

  • @omkarmudras756
    @omkarmudras756 ปีที่แล้ว +2

    I think we begginers intermediates find this things fascinating. Just an fact no offence.

    • @Radu
      @Radu  ปีที่แล้ว +1

      Glad to hear :-) why would I be offended by that? :-D

  • @TJ-hs1qm
    @TJ-hs1qm ปีที่แล้ว +1

    4:41 Khaby 🥰😂

    • @Radu
      @Radu  ปีที่แล้ว

      :-))