Neural Networks From Scratch in Rust

Поділитися
Вставка
  • Опубліковано 10 жов 2023
  • AI today feels like magic. When I type something into chatgpt and get a response I’m amazed left wondering how this is possible. I hate magic. The idea that i type into a keyboard and things just appeared on my screen always irked me. I struggle and still do to this day to peel apart the stage curtain and reveal the magicians trick. How do AI systems work, what makes them tick and what makes them so successful. Like all things in order to understand them we must climb down the layer of abstractions and arrive at the foundations. For machine learning it’s the neural network. At the end of this video you will understand how to program your own neural networks in rust to solve problems and also a bit about the mathematical foundation of how it all works.Remember these videos are just me documenting the learning process and narrating to you.
    0:00 Intro to Neural Networks
    0:55 What is A Neural Network ?
    2:21 Forward Propagation Explanation
    3:24 Coding Linear Algebra Library
    4:41 Coding Neural Network
    7:07 Back Propagation Function
    8:12 Solving XOR problem

КОМЕНТАРІ • 28

  • @leu2304
    @leu2304 6 днів тому

    Great! Thank you so much! From this short video I learned more about NN than from hours of tutorials

  • @codemoons
    @codemoons  9 місяців тому +14

    Github: github.com/codemoonsxyz/neural-net-rs

  • @gautam2599
    @gautam2599 6 місяців тому +1

    Just watched all of the videos, amazing channel

  • @Tbone913
    @Tbone913 4 місяці тому +1

    Great!! Thanks Codemoon!

  • @oghenemarho5694
    @oghenemarho5694 3 місяці тому +1

    This is a fantastic video, thank you for making it. I like how you explained the concepts and the tip of representing metrics as a vector. Using the I,j index to get a single index is fascinating to me.
    I hope you make a video on making API bindings in Rust.

  • @bigtimevideo10
    @bigtimevideo10 7 місяців тому +1

    This explanation is super

  • @MunzirSuliman
    @MunzirSuliman 2 місяці тому +2

    that's awesome ❤ .... thanks for sharing ..... looking forward for your new videos ...btw, I checked your channel for more videos on the topic but found that you did not upload new videos ... don't be a perfectionist! this video was more than perfect and done is better than perfect! ❤ 😄

    • @codemoons
      @codemoons  2 місяці тому +1

      You are so right!. I had a whole project on a chess engine from scratch but felt like it wasn't perfect so I never released it. Perfectionism is really a horrible trait. Thanks for your kind words!

  • @handsanitizer2457
    @handsanitizer2457 7 місяців тому +2

    Bro you gave one of the best explanations I've ever heard good job.

    • @codemoons
      @codemoons  7 місяців тому

      Thanks! Appreciate it.

  • @yosef4208
    @yosef4208 5 місяців тому

    Incredible video

  • @marcoesposito2915
    @marcoesposito2915 8 місяців тому +1

    very cool!

  • @imobr8373
    @imobr8373 3 місяці тому +1

    I WANNA SEE A PART TWOOO

  • @aloosi
    @aloosi 9 місяців тому +1

    this really helps give me an overview of what one can do in rust. Pretty cool

  • @mikeoxlong5100
    @mikeoxlong5100 Місяць тому

    Background movement are so refreshing.. I think you need to add colors and flashing..

  • @CodeIsMySpotter
    @CodeIsMySpotter 2 місяці тому +3

    Let s get rusty boyyyzzzzzzzz

  • @phillduffy
    @phillduffy 9 місяців тому +5

    Great video.
    I'd love you to remove the animated backgrounds next time, they're a bit distracting.

    • @codemoons
      @codemoons  9 місяців тому +1

      Great Feedback! Thanks.

    • @ChaoticNeutralMatt
      @ChaoticNeutralMatt 3 місяці тому

      Something which pops less maybe, but I don't think they were intrinsically a bad addition.

  • @loickbf1225
    @loickbf1225 6 місяців тому +1

    Hello where could i find your github please ?

  • @2Fast4Youtube
    @2Fast4Youtube 2 місяці тому

    Are you a singer? If not you should try, I'm sure you'll be great

  • @chegoranov
    @chegoranov 7 місяців тому +2

    Is there a good course for a new Rust developer to learn machine learning?

    • @codemoons
      @codemoons  7 місяців тому +2

      Haven't found one. When I get to writing the blog posts for this topic I'll add all the references I used!

  • @eugenetarus6873
    @eugenetarus6873 27 днів тому

    magic is heresy

  • @milendenev4935
    @milendenev4935 2 місяці тому

    Sorry for saying that, but the background makes me nauseous 🤢 Although incredible video.

  • @oglothenerd
    @oglothenerd 8 місяців тому +3

    I think there is a addition trait, I could be wrong.
    LIke, you could implement it into the Matrix, and have something like this in the code.
    Old: matrix1.add(matrix2)
    New: matrix1 + matrix2

    • @codemoons
      @codemoons  7 місяців тому +1

      Yep you are right. I wanted to mimic more of a C like style with the linear algebra functions though. Also I think people can just click on the function declaration and see how it was implement in their IDE.

    • @oglothenerd
      @oglothenerd 7 місяців тому +1

      @@codemoons Ah, okay.