12.2: Color Vectors - Programming with Text

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 50

  • @aisyahh.1469
    @aisyahh.1469 4 года назад +3

    It’s insane how good this video is. I have the slightest idea of what JS is and a complete beginner with writing codes (despite being a CS senior year student), but this video is so clear and easy to understand for someone like me who can’t take up complicated and big words explaining. Phew. Thanks a lot!

  • @Rightlime7923
    @Rightlime7923 6 лет назад +4

    dan shiffman, has literally changed the world

  • @Radica1Faith
    @Radica1Faith 4 года назад

    I'm so glad you made that mistake at 8:25 because I never would have known that.

  • @Goel25
    @Goel25 6 лет назад +8

    I'm here before this has been uploaded!!! spooky!

  • @raizaborreo1071
    @raizaborreo1071 5 лет назад +1

    This is really cool. Good source of info for my project about photography. Thanks a lot!!! Keep it up!!!

  • @kabonker
    @kabonker 4 года назад

    Love they dynamic energy

  • @saraons
    @saraons 6 лет назад +1

    Amazing work you're doing.

  • @shaneumayanga6189
    @shaneumayanga6189 5 лет назад +2

    Shouldn't it be random(256) @ 11:19 since the max value you need is an octet? random(255) would give a random value between 0-254 right?
    With love :-* from a human being to a human being :-)

  • @Softwareengineeringdev
    @Softwareengineeringdev 6 лет назад +2

    Cool! Liked before watching!

  • @logantheyoyoman
    @logantheyoyoman 6 лет назад

    When I try and download processing windows Defenders blocks it any idea why or how to fix it?

  • @theRECONN
    @theRECONN 6 лет назад

    Cool stuff! Wonder if there is a way to assign vectors to every known english word uniquely so that we have a function that would return this vector in constant time. Just like hash functions (despite their collisions). Maybe some interesting relations could be found then.

  • @Drew0Ranger
    @Drew0Ranger Год назад +1

    How do you sleep at night with so much energy? :)

  • @WaelAbouEl-Wafa-vv5tf
    @WaelAbouEl-Wafa-vv5tf 4 года назад

    What is the softwares you use for your channel i need to use them

  • @almanahulzilnicdesuceava5379
    @almanahulzilnicdesuceava5379 6 лет назад +1

    Why this is not uploaded?

  • @Dasrecord
    @Dasrecord 2 года назад

    who else caught the Amadeus "too many notes" reference?

  • @soumyadeepdas1199
    @soumyadeepdas1199 6 лет назад

    Please make a tutorial about color quantization!!

  • @hassuunna
    @hassuunna 6 лет назад

    Hello Daniel, Hello everyone
    Sorry if this is off-topic but please can you guide me on finding good videos for support vector machines as I don't find them in Intelligence and Learning series?

  • @geoffreyvanwyk4588
    @geoffreyvanwyk4588 6 лет назад

    How can the same color appear consecutively? And once the current color is the same as the previous color, why does it not just go back and forth between the two?

    • @tracyh5751
      @tracyh5751 6 лет назад

      he's taking a random step of a given size in 3 dimensional space and then finding the nearest neighbor in the data set. If there aren't many colors in the data set near his random vector, the nearest neighbor won't change, and so the same color will appear consecutively. There are many different ways of taking a step of a given size in 3D, so colors do not need to alternate back and forth.
      You are right though that if he was using a 1d model, colors would often alternate back and forth(because there would only be two ways to take a step of any given size).

  • @Dariwinxd
    @Dariwinxd 6 лет назад

    Great video, keep it up 👑

  • @hopewise99
    @hopewise99 5 лет назад

    But how createVector works when converting r g b ?

  • @FLHEXA
    @FLHEXA 5 лет назад

    what's the programming langage ?

  • @evyatarbaranga5624
    @evyatarbaranga5624 6 лет назад +1

    i am confused, is this part 1 or part 2?

    • @TheCodingTrain
      @TheCodingTrain  6 лет назад

      Yeah, I should probably re-consider how I'm doing the numbering here. This is the second part of the full word2vec series. But part 1 of a color vector example inside that series.

  • @rojeetshakya4836
    @rojeetshakya4836 6 лет назад

    Hi! Can u suggest me
    Which programming language is best for game development??

    • @teamadostamine9657
      @teamadostamine9657 6 лет назад

      Depends on what you want to do, if you want to do a 3D game, its better to use an Engine like Unreal Engine or Unity if its 2D, Unity is good but you can use C++ or Java I think (not sure about 2D)

    • @JamilKhan-hk1wl
      @JamilKhan-hk1wl 6 лет назад

      C# , python cpp

  • @PCubiles
    @PCubiles 6 лет назад +1

    4:51
    *nothing personal kid*

  • @chyldstudios
    @chyldstudios 6 лет назад

    color me impressed

  • @albertwang5974
    @albertwang5974 6 лет назад

    How about to build a hash table to allow us easily find the nearest neighbour.

  • @qames2455
    @qames2455 6 лет назад +7

    Isn't that just a k-nearest neighbours with k = 1 ?

    • @MattRose30000
      @MattRose30000 6 лет назад

      pretty sure it is

    • @SimonK91
      @SimonK91 6 лет назад

      It is, yes. The main idea of word2vec is that you in the end have a very compressed word-to-vector table defining all of the different words. This table is then used as a lookup to go from a word to a vector, mainly for text generation, but in this case a simplified model for colors.

  • @fahimferdous1641
    @fahimferdous1641 6 лет назад

    I think it would be easier for you if you just write
    for (let color of colors) { ... }

  • @sahilpohare
    @sahilpohare 6 лет назад

    The Coding Train Why would you wanna do that ? How can that be used practically in an application of sorts. Search Engines?

  • @tariqnahmad
    @tariqnahmad 5 лет назад

    Faaantastic

  • @prashanthkumar0
    @prashanthkumar0 6 лет назад

    hello sir
    I want a help from you .
    can you make a video on detecting collisions on rotated rectangles , circles , lines etc..
    please please please 🙇🙇🙇🙇🙇🙇🙇🙇🙇🙇🙇🙇🙇🙇🙇 ...

    • @zozowahine
      @zozowahine 4 года назад

      github.com/bmoren/p5.collide2D

  • @iamtechboy3298
    @iamtechboy3298 5 лет назад

    You're Super Amazing

  • @trilobyte3851
    @trilobyte3851 5 лет назад

    Internal Audit Fraud practitioner here I'm going to use this to put people in jail stealing from companies

  • @Rashidkhan-rr5pi
    @Rashidkhan-rr5pi 6 лет назад

    Can you please explain ray casting and ray tracing using javascript

    • @TheCodingTrain
      @TheCodingTrain  6 лет назад

      I hope to get to this sometime, so often requested!

  • @kayrauckilinc
    @kayrauckilinc 4 года назад

    9:38 i laughed hard

  • @sigmareaver680
    @sigmareaver680 6 лет назад

    Ugly purple.... isn't ugly! How rude.

  • @ishsaw1
    @ishsaw1 6 лет назад

    is this the same guy on the snake video? i liked u better campy. now u seem kinda stern and like life is getting u down?