Understanding AI - Lesson 1 / 15: A Simple Neural Network

  Рет қаралды 16,268

Radu Mariescu-Istodor

Radu Mariescu-Istodor

Күн бұрын

PLAYLIST: • Self-driving Car :: Ph...
Embark on an exciting journey into the world of Artificial Intelligence with my new course, "Understanding AI". In this first lesson, we dive into the fundamentals of Neural Networks, breaking away from the conventional Machine Learning context. Try out this unique hands-on experience where you'll manually tweak network parameters to teach a car how to drive within a specially crafted playground.
Whether you're new to AI or seeking a deeper understanding, this course caters to all levels. I have over a decade of machine learning expertise, and will emphasize the importance of revisiting basics in an era of easy-to-use complex models. Homework assignments and a final challenge to race AI cars await you, with live stream events and prizes on the horizon.
The course covers essential topics such as Dijkstra's shortest path algorithm, game mechanics, camera sensor creation, and implementing analog steering through mobile apps and image processing with augmented reality. All implemented in plain JavaScript without external libraries, giving you a comprehensive understanding of the system's inner workings.
AI is more than just Neural Networks - it's a combination of various elements. This course demystifies the distinction between Artificial Intelligence and Machine Learning. While there's no Machine Learning in this course, I do plan to teach that someday as well. If you want to help collect data, go here and race:
🚙🚙🚙🚙🚙🚙🚙🚙🚙🚙🚙🚙🚙🚙🚙
radufromfinland.com/projects/...
🚗THE PLAYGROUND🚗
radufromfinland.com/projects/...
⭐LINKS⭐
Phase 1: • Self-driving Car :: Ph...
Phase 2: • Self-driving Car :: Ph...
Prerequisites: • Math & Code Fundamentals
Machine Learning Course: • Machine Learning Course
3b1b's Neural Network Video: • But what is a neural n...
Another Playground: playground.tensorflow.org
💬DISCORD💬
discord.gg/gJFcF5XVn9
💻CODE💻
1. Phase 1 github.com/gniziemazity/self-...
2. Phase 2 github.com/gniziemazity/virtu...
☕Buy me a Coffee?☕
www.buymeacoffee.com/radum
⚡️Join this Channel⚡️
youtube.com/@radu/join
Excited to get started? Put your neurons into overdrive and join me on this fascinating AI adventure! 🚗💻
#UnderstandingAI #AIPlayground #NeuralNetworks #SelfDrivingCar #AICourse #javascript
⭐TIMESTAMPS⭐
00:00 Introduction
06:34 The Playground
14:40 One Neuron
21:48 Decision Boundary Plot
25:05 Homework 1
29:05 Homework 2
29:13 Clarrifications

Пікірлер: 234
@mandelatrevor2116
@mandelatrevor2116 3 ай бұрын
WHAT A COURSE!! This is what the internet was made for. Thank you Radu 👏👏
@Radu
@Radu 3 ай бұрын
Glad you liked it! :-)
@shaddow11ro
@shaddow11ro 3 ай бұрын
Right! Imagine if Radu was teaching when i was in school!
@themightysapien
@themightysapien 3 ай бұрын
The dungeon master is finally here. THE MAIN BOSS.🔥🔥🔥 Thank you for all the work you do behind the scene to put up such mind blowing lessons.
@Radu
@Radu 3 ай бұрын
There was a lot of work in this one, for sure... Thanks for watching :-)
@JuanVargas-bv5yp
@JuanVargas-bv5yp 2 сағат бұрын
What a course! this is insane!
@serveshchaturvedi2034
@serveshchaturvedi2034 3 ай бұрын
You should rename the playlist to building your own Tesla autopilot 🎉😂, simply amazing. Thank you for this
@Radu
@Radu 3 ай бұрын
It's nowhere near as advanced, though :-)
@edgaremmanuel3197
@edgaremmanuel3197 3 ай бұрын
i think for the KZbin algorithm you should definitely rename it to build your own Tesla like autopilot
@Radu
@Radu 3 ай бұрын
Haha, I don't care about the views that much :-)
@wilfredomartel7781
@wilfredomartel7781 2 ай бұрын
😊amazing video man.
@AyorindeAdesugba
@AyorindeAdesugba 3 ай бұрын
Wonderful Friday - thanks for everything
@Radu
@Radu 3 ай бұрын
Thanks for your support :-)
@alexandersolano227
@alexandersolano227 3 ай бұрын
Thank you, Hokage Radu of the IA village. Your contribution is invaluable to the new IA shinobis.
@Radu
@Radu 3 ай бұрын
:-)) thanks
@airbornesnail
@airbornesnail 3 ай бұрын
What are you? Some kind of gift to earthlings? Never seen such a calm, thoughtful, fun, easy to understand coder in whole my life. Great work. I truly hope YT sends money to you in 24m trucks.
@Radu
@Radu 2 ай бұрын
:-)) maybe it's because I'm not doing it for the money
@lucasdecarvalho654
@lucasdecarvalho654 3 ай бұрын
Man, you're the best gift that internet gave me! Woow! What a course, dude!
@Radu
@Radu 3 ай бұрын
Thank you :-)
@AlexBegey
@AlexBegey 3 ай бұрын
Radu, you're awesome! Love your videos & your teaching format. Very interesting, useful, and inspiring! Looking forward to the next videos.
@Radu
@Radu 3 ай бұрын
Glad to hear you find them worth it :-)
@ianchaplin2777
@ianchaplin2777 3 ай бұрын
these courses are amazing. Can't find any series anywhere on youtube nearly as good as yours. Keep up the good Work! Can't wait until the next video!!! :D
@Radu
@Radu 3 ай бұрын
Thank you!
@kpm25
@kpm25 3 ай бұрын
Thanks for your hard work Radu I've dilligently gone through Phase 1 and 2 and many of your other tutorials, much appreciated!
@Radu
@Radu 3 ай бұрын
Thanks for watching :-)
@ryanest3684
@ryanest3684 3 ай бұрын
Radu!! I need the next video!! You explain everything so well!
@Radu
@Radu 3 ай бұрын
Coming out on Friday!
@mohammadsaifulislam8341
@mohammadsaifulislam8341 3 ай бұрын
Great tutorial, Thanks Radu for this awesome playlist ❤
@Radu
@Radu 3 ай бұрын
No problem 😊
@mahmudadamusman8264
@mahmudadamusman8264 3 ай бұрын
Thank You So Much Radu! Everyone else confuses me, but even before watching this series: I am happy for I know you are The Right Teacher. I am excited, truly.
@Radu
@Radu 3 ай бұрын
Glad to hear you understand :-)
@andyj8977
@andyj8977 3 ай бұрын
Absolutely brilliant! Thank you so much for this Radu 😎
@Radu
@Radu 3 ай бұрын
More to come :-) stay tuned next week!
@mathematicsclub961
@mathematicsclub961 3 ай бұрын
I have been waiting for this 😃. Thank you for uploading
@Radu
@Radu 3 ай бұрын
Thanks for waiting :-)
@__angle
@__angle 3 ай бұрын
Thank you so much for your great explaination and humour ! I'm happy to follow
@Radu
@Radu 3 ай бұрын
You're welcome :-)
@stebansb
@stebansb 3 ай бұрын
So glad I found your channel, this is just amazing.
@Radu
@Radu 3 ай бұрын
Glad you like it! :-)
@Ravroid
@Ravroid 3 ай бұрын
Thanks so much for putting this course together, this is tremendously valuable
@Radu
@Radu 3 ай бұрын
Glad you think so! Thanks for watching :-)
@austinfinell
@austinfinell 3 ай бұрын
I'm so excited to get this far! I'm still working on the first stage of tutorials to really get a good understanding of my foundations, but I wanted to tune in and comment to show my support. Going through and making sure I understand each line of code is how I'm getting started with JavaScript. It's taking a bit longer than I expected, but I think it will be worth it. Thank you so much for putting in all of this work to help us learn!
@Radu
@Radu 3 ай бұрын
I see. If you need a break from JavaScript you can look at the first lessons of Phase 3 with no worries. There won't be any coding in them.
@fdorsman
@fdorsman 3 ай бұрын
I have been waiting for this phase. Thanks!
@Radu
@Radu 3 ай бұрын
Hope you like it :-)
@fdorsman
@fdorsman 3 ай бұрын
@@RaduI sure did! Can't wait for the next episodes
@Radu
@Radu 3 ай бұрын
@@fdorsman cool :-)
@warriorsofxu8394
@warriorsofxu8394 3 ай бұрын
Always a joy to learn from your videos😊
@Radu
@Radu 3 ай бұрын
happy to hear :-)
@shaddow11ro
@shaddow11ro 3 ай бұрын
As usual... Radu is always baking something extraordinary!
@Radu
@Radu 3 ай бұрын
Hope I don't forget the oven on :-D
@adilsonbuset738
@adilsonbuset738 3 ай бұрын
Muito obrigado, mestre Radu!😃
@Radu
@Radu 3 ай бұрын
You're welcome! :-)
@redgood5879
@redgood5879 3 ай бұрын
i cant say how much ive learnt from this course thank you radu !
@Radu
@Radu 3 ай бұрын
Great :-) More to come!
@Merilix2
@Merilix2 2 ай бұрын
Homework 1: I guess there are as many solutions as 2^ (as many mantissa bits as floating point operations can deal with). Great course by the way :)
@Radu
@Radu 2 ай бұрын
Oh wow :-) cool answer! I guess you could also implement your own way of defining large numbers (like using arrays?) and doing operations on them?
@Android-17
@Android-17 3 ай бұрын
Thank you Radu🙌🏻
@Radu
@Radu 3 ай бұрын
You’re welcome 😊
@user-ey9wf6ty5c
@user-ey9wf6ty5c 3 ай бұрын
You are amazing!!! Anothers thanks for sharing your knowledge and specially for your efforts!
@Radu
@Radu 3 ай бұрын
Thanks you for watching :-)
@eridarael6541
@eridarael6541 3 ай бұрын
Thanks very much Radu. I can understand now how neural network work. I have been confused with many other tutorials. It's more easier to understand while implementing it in a project. Thanks very much
@Radu
@Radu 3 ай бұрын
Much more to learn in the next lessons! Thanks for watching :-)
@merarebbadro9328
@merarebbadro9328 3 ай бұрын
Thank you, you are amazing. I am looking forward to your videos
@Radu
@Radu 3 ай бұрын
Thanks for watching! :-)
@martinarce8138
@martinarce8138 3 ай бұрын
Radu rocks!! Thank you for sharing your passion!
@Radu
@Radu 3 ай бұрын
My pleasure! :-)
@dconnectzone
@dconnectzone 3 ай бұрын
Wow. Thank you for this. Currently learning AI.
@Radu
@Radu 3 ай бұрын
Best of luck!
@CarlosToscanoOchoa
@CarlosToscanoOchoa 3 ай бұрын
JESUS CHRIST 🤯 No libraries?? Absolutely mind-blowing 👏🏼👏🏼
@Radu
@Radu 3 ай бұрын
:-))
@emilyhiroshi7822
@emilyhiroshi7822 Ай бұрын
thank you so much for your amazing work!
@Radu
@Radu Ай бұрын
My pleasure! :-)
@houbill5363
@houbill5363 3 ай бұрын
Great course!!!! Thanks a lot!!
@Radu
@Radu 3 ай бұрын
You are welcome!
@user-ys9rn7zv7x
@user-ys9rn7zv7x 3 ай бұрын
Thank you for the tutorial
@Radu
@Radu 3 ай бұрын
You’re welcome 😊
@aGj2fiebP3ekso7wQpnd1Lhd
@aGj2fiebP3ekso7wQpnd1Lhd 3 ай бұрын
Great video Dr. Radu. 🎵 Coding with Radu... Coding with Radu... boom
@Radu
@Radu 3 ай бұрын
Haha, thanks :-)
@seiwaldm
@seiwaldm 3 ай бұрын
omg 😱 loved phase two (still have to watch phase one)... but wasn't anticipating that much extra content in phase 3... 3d sensor view? steering with smartphone or webcam? blows my mind 🤯
@Radu
@Radu 3 ай бұрын
Glad to hear you're looking forward to it :-)
@alexandersolano227
@alexandersolano227 3 ай бұрын
¡Gracias!
@Radu
@Radu 3 ай бұрын
Thanks!
@___d3p1
@___d3p1 3 ай бұрын
You are amazing! ❤
@Radu
@Radu 3 ай бұрын
:-)
@ypohut1673
@ypohut1673 3 ай бұрын
Спасибо🙏💕 ты молодец!
@Radu
@Radu 3 ай бұрын
Thanks for watching :-)
@kingcoder31aug
@kingcoder31aug 3 ай бұрын
Very Very excited
@Radu
@Radu 3 ай бұрын
Cool!
@stevehsu777
@stevehsu777 2 ай бұрын
Hi Radu, the video is so great!
@Radu
@Radu 2 ай бұрын
Thanks a lot! :-)
@kingothemonkey
@kingothemonkey 3 ай бұрын
Getting in on day one!
@Radu
@Radu 3 ай бұрын
Good luck :-)
@ivgadev
@ivgadev 3 ай бұрын
Yes!
@Radu
@Radu 3 ай бұрын
:-)
@firefox_tn1815
@firefox_tn1815 3 ай бұрын
amazing 🎉 i finally watched it
@Radu
@Radu 3 ай бұрын
Thanks for waiting :-)
@mauriciosantecchia6794
@mauriciosantecchia6794 3 ай бұрын
Thanks radu, you are a master explaining, I love your courses. I don't know if you have some tutorial about this, but I should love if you do a course about reinforcement learning to train a neural network, maybe taking you previous tutorial about self-driving car... just an idea. Thanks for all your work, I'd like that your videos have more likes, you deserve it!!
@Radu
@Radu 3 ай бұрын
I guess you can try adding reinforcement learning to the self-driving car code from phase 1... Some people consider the genetic algorithm we used as a kind of reinforcement learning... where the fitness function acts as a kind of 'reward'... it does generate multiple instances and proceeds with new generations, though... so, I wouldn't call it reinforcement learning because of that. I would expect one agent doing things and being rewarded / punished appropriately. What is not so obvious is how to give these rewards and punishments, really.
@mauriciosantecchia6794
@mauriciosantecchia6794 3 ай бұрын
@@RaduAnd while we are on the subject of GA: I tried to make a change in the self-driving car project by having only a small percentage of the population mutate and taking the best members of the population and crossing them with each other. In this way I hoped to reduce the destructive effect that randomness has during mutations and preserve the good characteristics acquired by the fittest members. Short summary of the results of the experiment: it did not work :( I think I have to do more research on how to cross NNs because I tried to mix with precise patterns the weights and biases and that did not work. I also tried other things like averaging and variants of it, but it got worse :P . Evidently I lack more mathematical knowledge about NNs functioning to do this process better. Any suggestions on how to cross? (note: to calculate the fitness I took into account the road covered and the amount of cars overpassed)
@Radu
@Radu 2 ай бұрын
I think that some of the things we play with in this new course can shed some light on why those techniques don't work so well.
@disrael2101
@disrael2101 3 ай бұрын
amazing radu finally the AI chapter is here, which to me is the most interesting by far!! how often do you think you'll upload new lessons / chapters, once a week or? either way I can't wait for a complete AI real-world applications bootcamp (without libraries) by you , i'm willing to deposit money now for it !!
@Radu
@Radu 3 ай бұрын
New lessons will come out every Friday until mid-May.
@Barfmat
@Barfmat 3 ай бұрын
Thanks
@Radu
@Radu 3 ай бұрын
Thanks!
@volodyslove
@volodyslove Ай бұрын
You are the best 😁
@Radu
@Radu Ай бұрын
Thanks :-)
@mdsalahuddin46464
@mdsalahuddin46464 3 ай бұрын
Great 🔥
@Radu
@Radu 3 ай бұрын
Thanks! :-)
@vijayserpentj7910
@vijayserpentj7910 3 ай бұрын
Awesome
@Radu
@Radu 3 ай бұрын
Thanks! :-)
@SufianDira
@SufianDira 3 ай бұрын
Homework one solution: There are infinitely many. Because there are infinitely many lines that intersects the x-axis at any point.
@Radu
@Radu 3 ай бұрын
Good :-)
@usama_khalid
@usama_khalid 3 ай бұрын
superb
@Radu
@Radu 3 ай бұрын
Thanks 🤗
@Xoundz
@Xoundz 3 ай бұрын
Love u bro ❣️
@Radu
@Radu 3 ай бұрын
@edgarsvilums1550
@edgarsvilums1550 3 ай бұрын
First 5 minutes. Mind. Blown.
@Radu
@Radu 3 ай бұрын
And then it became boring? :-D
@edgarsvilums1550
@edgarsvilums1550 3 ай бұрын
I think we all know the answer to that. :D Thanks for your work, really!
@Radu
@Radu 2 ай бұрын
You're welcome :-)
@tomekatomek5694
@tomekatomek5694 3 ай бұрын
I love you for that video 🙃
@Radu
@Radu 3 ай бұрын
:-))
@MajidFouladpour
@MajidFouladpour 3 ай бұрын
Initially I was confused about the relation between the bias value and the point at which the car stops. Then I realized that although we stop accelerating the car at point y (where the neuron turns off), it will keep going forward to point y' because it has some inertia.
@Radu
@Radu 3 ай бұрын
Yeah! It's a good idea to use the manual override in the playground and see what the car really is like. The neural network will need to consider its capabilities as well. In this case it's not so much about inertia, but about the friction. The friction coefficient is fixed in our implementation from phase 1, but it could be a variable (depending on the outside temperature, road surface, etc). In that case the neural network needs to know those conditions as well. But here we won't have to worry about small things like that, we'll add complexity some other ways. You'll see :-)
@karolisr
@karolisr 3 ай бұрын
Yessss
@Radu
@Radu 3 ай бұрын
:-) hope it will be worth it
@Yrgruuc
@Yrgruuc 3 ай бұрын
i have no prior knowledge of AI. But, I'm good in data structures and algos, and comfortable in JS as well. Can i start from this playlist? Or do i need to study some pre-requisites?
@Radu
@Radu 3 ай бұрын
You probably can. Coding only starts later, anyway, after the AI things about Neural Networks.
@MRX-nm5dn
@MRX-nm5dn 3 ай бұрын
nyimak bro. Terimakasih. Thank You
@Radu
@Radu 3 ай бұрын
You're welcome :-)
@MRX-nm5dn
@MRX-nm5dn 3 ай бұрын
​​@@Radu let x = 0.19 let w = -1 let b = - 0.20 function carStop(){ if (x * w > b){console.log("stop that car") x = 0 } if (x * w < b){console.log("move that car")} } carStop() Homework 1 how many solution with same value (car stop in same position like on that video) the answer : we can multiply b with 2 and then multiply w with 2. and the car will stop in same position. homework 2 make the car bounce. answer = we can make x variable to 0 again in the first if block like this = let x = 0.19 let w = -1 let b = - 0.20 function carStop(){ if (x * w > b){console.log("stop that car") x = 0 } if (x * w < b){console.log("move that car")} } carStop()
@MRX-nm5dn
@MRX-nm5dn 3 ай бұрын
@@Radu and sorry i use console.log to visualize my answer like your video, coz my phone cant operate your app in your website.
@Radu
@Radu 3 ай бұрын
Oh, ok. Yeah, I didn't make the playground with a phone use-case in mind. Need a big screen and a mouse.
@eric7758
@eric7758 Ай бұрын
Hi Radu, thanks for your teaching style I appreciate everything. Could you do some teaching on autocoder and decoder maybe something simple like identifying shapes and lines from images. Using only JavaScript? I need to learn encoders work. Thanks
@Radu
@Radu Ай бұрын
Thanks for the idea, maybe someday... have to see how to fit those in my upload schedule.
@KisuuleGodwin-uc4lx
@KisuuleGodwin-uc4lx 2 ай бұрын
i truly give credit to this guy for his course is it possible to disturb forex trading and apply the same concept because you're the wright boss for all computer work
@Radu
@Radu 2 ай бұрын
I don't think anything happens to forex when I publish these videos :-))
@catakuri6678
@catakuri6678 3 ай бұрын
25:06 My instinct is infinite solutions
@Radu
@Radu 3 ай бұрын
Good instinct :-)
@charlesukanga4835
@charlesukanga4835 3 ай бұрын
Many of my friends never knew that AI and machine learning was possible with JavaScript, until I introduced them to Radu
@Radu
@Radu 3 ай бұрын
True, AI and ML are not something language dependent.
@wilfredomartel7781
@wilfredomartel7781 2 ай бұрын
😊 maybe a video neural networks with genetic algorithms?
@Radu
@Radu 2 ай бұрын
It's there already in Phase 1 :-)
@fadyasaad1105
@fadyasaad1105 3 ай бұрын
I think writing the weights manually will be good, instead of creating a GUI for that, we could use the browser prompt dialog to get the new value by pressing double click on the component, (the neuron or the connection)
@Radu
@Radu 3 ай бұрын
It's a good idea. Double clicking and then typing something is probably less work than using the scroll wheel, but not significantly different and... need to use the keyboard. I sometimes teach by going through the desks with my mouse in my pocket and make updates on the screen from anywhere in the room :-D
@fadyasaad1105
@fadyasaad1105 3 ай бұрын
@@Radu Yah I got you 😅. Maybe a popup slider dialog will be more helpful, with an input html element of type number.
@Radu
@Radu 3 ай бұрын
Maybe, yeah! Continue to check the next lessons. The playground editor becomes more powerful in lesson 2 already. Curious if you have more advice for me then.
@fadyasaad1105
@fadyasaad1105 3 ай бұрын
@@Radu Can't wait for lesson 2 video! This content is absolutely amazing, keep up the great work! 😄
@Radu
@Radu 3 ай бұрын
@@fadyasaad1105 Cool :-) coming out on Friday.
@srhtonr5917
@srhtonr5917 3 ай бұрын
Hi Radu, I see that you have both Machine Learning, Self Driving Car and now this series. What courses would you recommend for a beginner to take ? Should I watch all of them?
@Radu
@Radu 3 ай бұрын
Do you know JavaScript already? If so, you can start with either of them, I think.
@srhtonr5917
@srhtonr5917 3 ай бұрын
Yeah i know javascript, i'm a javascript developer, but would you say starting from machine learning course and going through the self driving, and ai is the best way ? because im planning to apply fora masters degree on artificial intelligence and i want some fundamentals before going into that field, and i saw that you create your sessions with js, it just amazed me @@Radu
@Radu
@Radu 3 ай бұрын
@@srhtonr5917 I think the fundamentals you get from either of my courses will help you understand things much better in a masters degree on AI :-) you can start with any one of those, just prepare for a lot of coding since we don't use libraries.
@srhtonr5917
@srhtonr5917 3 ай бұрын
Thanks bro, keep it up good work, you are one of the most authentic content creator of the software/youtube@@Radu
@rikki7663
@rikki7663 2 ай бұрын
hey radu do i need to cover yur Self driving car-javascript course before starting this ML course
@Radu
@Radu 2 ай бұрын
Not really... The first 5 lessons have no JavaScript in them. It starts just after that. If you find it too difficult to follow along then, you probably have to start over.
@omeralishin
@omeralishin 3 ай бұрын
👌
@Radu
@Radu 3 ай бұрын
:-)
@sagarkashyap3397
@sagarkashyap3397 3 ай бұрын
hey radu, will you be posting one lesson every day, o one video a week..? i want to know so that i can plan my studying schedule.
@Radu
@Radu 3 ай бұрын
It will be one per week, every Friday, as usual.
@disrael2101
@disrael2101 3 ай бұрын
you didn't really touch how the sensors related to the x, weight and bias, also the neurons function now are simply if statement you didn't really touch how they work , learn etc.. anyway can't wait for the next video in the series thanks so much for sharing!
@Radu
@Radu 3 ай бұрын
The one sensor we played with (front sensor) is a variable (x). The weight and bias are 2 numbers. We can play with them in the playground, but they are considered fixed; meaning that a neural network, once trained, those values don't change anymore. Yes, the logic here can also be implemented using a simple if statement, and, actually the logic at the end of this course could be implemented as a bunch of if statements as well [ maybe a good practice :-) ]. Machine Learning just means that instead of setting those weights and biases by hand, we rely on some labeled data and some algorithm to set them for us so that the neural network works reasonably well. Here we're the algorithm.
@disrael2101
@disrael2101 3 ай бұрын
ok thanks that start to slowly make sense now, but still need lots more practice examples with ai and machine learning to actually grasp how to make the computer do all the manual work for us but i can clearly see how this is the most promising concept for our future as humans @@Radu
@ChandrashekarCN
@ChandrashekarCN 3 ай бұрын
💖💖💖💖
@Radu
@Radu 3 ай бұрын
:-)
@armansaha297
@armansaha297 2 ай бұрын
Radu Sir, can you explain why every game developer uses classes in the place of objects while the code needs to declare them only once. Like- constructor for main player or entire game.
@Radu
@Radu 2 ай бұрын
There can be many reasons... In some programming languages (like Java), you have to use Classes. Also... even if you can avoid it (like in JavaScript), you may want your code to be consistent (using similar structures all the time).
@andradegilmar
@andradegilmar 3 ай бұрын
I am speechless
@Radu
@Radu 2 ай бұрын
Yeah... because KZbin doesn't support voiced comments :-D
@Nothing-hr2ef
@Nothing-hr2ef 3 ай бұрын
Bro I need guidance for this video, I am beginner at programming, I know some basic JavaScript. Suggest a playlist to follow this tutorial.
@Radu
@Radu 3 ай бұрын
Hi, there's no JavaScript in this video or the next 3 lessons of this course. Later, there is... and I do have a playlist linked in the description that can help out, but if not enough, you can check JavaScript courses from FreeCodeCamp, for example.
@priyanshubisht8326
@priyanshubisht8326 2 ай бұрын
Sir how to start backend and from what resources
@Radu
@Radu 2 ай бұрын
I rarely teach back-end on this channel. I guess, first you have to ask yourself what language you want to use. JavaScript is good, if you know it already... and it can be used as the front-end as well. So, maybe looking for NodeJs tutorials is a good start?
@animespiderevil4564
@animespiderevil4564 3 ай бұрын
bro i am new to javascript language can i follow this course or where i can study javascript please tell bro
@Radu
@Radu 3 ай бұрын
First 4 lessons in this course don't have any JavaScript so you can try to see how it is like. After that... if you think you need to study web development basics first, I have a beginner course on the HTML Canvas here on KZbin. It's the same technology we use in the self-driving car course. I also have some prerequisites in a playlist in this video description if that course is not enough. It goes through the math and coding fundamentals we use here. And finally... I recommend you start with Phase 1 of this course. I take things easier there and explain the code more in-depth. Hope this helps :-)
@alwysrite
@alwysrite 3 ай бұрын
will have to watch a few times to get the hang of it - once I get it then I will move forward - Get it ?- move forward ?...because the car was moving forward .?..wait ...no ... no ... no...
@Radu
@Radu 3 ай бұрын
:-)))) good one! *noting it down*
@firefox_tn1815
@firefox_tn1815 3 ай бұрын
hi radu i think that you made this playlist public by mistake 😅
@Radu
@Radu 3 ай бұрын
Reading your comment here almost gave me a heart attack :-D I have no idea how you commented here, and how you found the video :-\ the playlist and the video still show as unlisted to me...
@Radu
@Radu 3 ай бұрын
Ah, you might have found it on Github... I thought I made that one private :-\
@firefox_tn1815
@firefox_tn1815 3 ай бұрын
Yeah it's from GitHub. Don't worry I didn't watch it I don't want to spoil it. Good luck Radu
@firefox_tn1815
@firefox_tn1815 3 ай бұрын
​@@Raduby the way there's another video that's still public
@Radu
@Radu 3 ай бұрын
@@firefox_tn1815 cool! I don't bother to hide it anymore since it comes out tomorrow :-)
@sureshsingh9880
@sureshsingh9880 3 ай бұрын
Sir some about generative AI
@Radu
@Radu 3 ай бұрын
Maybe someday...
@bonagirisaisantosh5408
@bonagirisaisantosh5408 3 ай бұрын
Radu, Can you please provide the schedule of this phase 3???
@Radu
@Radu 3 ай бұрын
My upload schedule stays the same, one video per week, every Friday at 16:00 (finnish time). Tomorrow lesson 2 comes out, then one lesson per week until mid-May, pretty much, unless something major happens.
@bonagirisaisantosh5408
@bonagirisaisantosh5408 3 ай бұрын
@@Radu you have showed the playground in this video where we ended with different thing in phase 2 ... will any video in this phase gonna continue from that phase 2 ending one ?? Just out of curiosity😅
@Radu
@Radu 3 ай бұрын
Hi, I'm not sure I understand what you men.
@bonagirisaisantosh5408
@bonagirisaisantosh5408 3 ай бұрын
@@Radu I mean the track that we have designed in the phase 2, isnt being used here...
@Radu
@Radu 3 ай бұрын
Ah, ok. I see :-) I did make the scenario we used so far using the world editor from phase 2 :-) few other scenarios will follow (next lesson). Then, in lesson 5, we will eventually use the world editor to create a new scenario and we will also use the one we created in phase 2 eventually, I think (I forgot, to be honest :-)))
@wilfredomartel7781
@wilfredomartel7781 2 ай бұрын
😊😊❤
@Radu
@Radu 2 ай бұрын
:-)
@javifontalva7752
@javifontalva7752 3 ай бұрын
🤯🤯🤯🤯🤯
@Radu
@Radu 3 ай бұрын
:-))
@CA-at-YT
@CA-at-YT 3 ай бұрын
Still have to finish part 2, but it seems to me that a next coffee delivery is already in the pipeline...
@Radu
@Radu 3 ай бұрын
Good luck :-) and thanks!
@DanielJoseAutodesk
@DanielJoseAutodesk 3 ай бұрын
I have a hard time understanding something in JS. Since I have more experience in C / C ++, I even got some JAVA books to try to understand something and I'm not succeeding. Here's the thing: In some of your code, I see the expression min = [...points [0]]; What this expression means ?!?! I imagine it must be to create an array. Or it would have another purpose, like copying the data from the array to another array ?!?!🤔🤔
@Radu
@Radu 3 ай бұрын
Hi, I'm not sure where you saw something like that. The closest thing I could think of is 'const min = Math.min(...points);' where you just spread the array of points to individual numbers (assuming points are 1D here) so the Math.min can take them as parameters. Or... 'const newPoints = [...points];' where we create a new array with the same content as the points array, but not a reference to the points array.
@DanielJoseAutodesk
@DanielJoseAutodesk 3 ай бұрын
@@Radu Thanks for the reply. Now I can understand what is being done. 😁👍 I saw this expression in the utils.js file line 74 of the Zip ml-course-main / P6.k_nearest_neighbors_lesson
@Radu
@Radu 3 ай бұрын
Ah, ok. I see.
@yashpreet4103
@yashpreet4103 3 ай бұрын
⚡⚡⚡👍
@Radu
@Radu 3 ай бұрын
:-)
@abdularham4452
@abdularham4452 6 күн бұрын
will i be able to get a job after this course ?
@Radu
@Radu 2 күн бұрын
I didn't make this course with specific jobs in mind, but... You will learn many things about software engineering during this course, so your web development skills will improve and you will learn to manage growing projects. You will also learn basics of artificial intelligence, but you cannot really apply for AI jobs using just this. They typically use libraries that you need to master to get the position, and I don't use any here... Instead, I show how to implement several things from scratch so it is clear why things work, not just to show that they do.
@jitulteron6542
@jitulteron6542 3 ай бұрын
The God
@Radu
@Radu 3 ай бұрын
:-))
@javifontalva7752
@javifontalva7752 3 ай бұрын
Please a thumbs up if you find this vid amazing!!!
@Radu
@Radu 3 ай бұрын
I gave it a thumbs up, but I don't think it's 'amazing' :-)
@londelidess
@londelidess 3 ай бұрын
KZbin gemmmmmmmmmm
@Radu
@Radu 3 ай бұрын
:-)
@maxkosh4839
@maxkosh4839 3 ай бұрын
I thought you are from Romania
@Radu
@Radu 3 ай бұрын
Originally I am :-)
@user-qe4nu5sz7n
@user-qe4nu5sz7n 2 ай бұрын
hmm, I commented and comment disappeared
@Radu
@Radu 2 ай бұрын
It's possible... KZbin does weird things sometimes. I never removed any comment.
@pizdaxyu
@pizdaxyu 3 ай бұрын
bery nice!
@Radu
@Radu 3 ай бұрын
Thanks! :-)
@user-px5pj7ux5k
@user-px5pj7ux5k 3 ай бұрын
very nice sir,please create also a tutorial about the elastic collision of a line and a circle.😊❤
@Radu
@Radu 3 ай бұрын
Maybe someday :-) now I have content scheduled for the rest of the year.
@MRX-nm5dn
@MRX-nm5dn 3 ай бұрын
let x = 0.19 let w = -1 let b = - 0.20 function carStop(){ if (x * w > b){console.log("stop that car")} if (x * w < b){console.log("move that car")} } carStop() Homework 1 how many solution with same value (car stop in same position like on that video) the answer : we can multiply b with 2 and then multiply w with 2. and the car will stop in same position. homework 2 make the car bounce. answer = we can make x variable to 0 again in the first if block like this = let x = 0.19 let w = -1 let b = - 0.20 function carStop(){ if (x * w > b){console.log("stop that car") x = 0 } if (x * w < b){console.log("move that car")} } carStop()
@Radu
@Radu 3 ай бұрын
You seem to be re-implementing what the network is doing, in code :-) why? Also, note few things: 1. x is a variable (it should be a parameter to the function) 2. your naming "carStop" is opposite (in the video we talk about accelerating or not, not about stopping) 3. you do not handle the case x * w = b, but the network does 4. about answer to homework 1, so... you found one more solution, are there others? PS: Discord might be a better place to discuss these things, you can also send screenshots from the playground if needed to show something from there.
@MRX-nm5dn
@MRX-nm5dn 3 ай бұрын
@@Radu i re implementing what the network is doing coz my brain didnot enough to imagine the video instantly, and my phone didnot able to play your app in your web. answer for your note : 1. how to make x become parameter in the function? (i will find out too in the internet) 2. okay, i use carStop name coz i think in difference way but have same purpose like in the video (is this statement true?) 3. its true, i dont yet handle it. i will repair it (i still try to solve it) 4. another solution is we can devide b with 2 and then devide w with 2. and the car will stop in same position. and i just install discord to listen to you. thanks a lot.
@Radu
@Radu 3 ай бұрын
I see you edited and added an answer for homework 2 as well. Note that you cannot change the logic for that. The neurons always fire in the same way (when stimulated enough). What you need to change is w, b and w2, b2 (because now we have a second neuron). And remember that x is the variable (it changes as the car moves), the others stay the same once we set them.
@Radu
@Radu 3 ай бұрын
It is a good practice. Let's see how far you can go in the next lessons :-) You should be able to go like this all the way, recreating the logic with many if-else statements. Wonder if anybody will eventually try that! 1. Just pass it to the function 'function carStop(x) { ...' and call it like 'carStop(0.19);' 2. I understand, but I introduced that reverse control at the end, that is... intentionally stopping the car. Homework 1 is just letting physics (friction) stopping the car if no forward acceleration is applied. So, might make more sense to keep the word 'stop' for then, otherwise your code will become confusing to read. 3. Typically IF conditional statements are followed by an ELSE. I recommend using it here. The neuron either fires or does not, no need for 2 IF statements. 4. Ok, you found another! But why multiply and divide by '2'? Couldn't you use other values there?
@rad1m
@rad1m 2 ай бұрын
For the song!
@Radu
@Radu 2 ай бұрын
Wow thanks :-)) maybe I should start a singing channel!
@tanaymishra4483
@tanaymishra4483 2 ай бұрын
Sir i don't even wear hats but still hats of to you.. I can't express how great you are in words.. It's impossible to find someone these days whose central idea of existence in not Money.. In slags one might/can call you gigachad...🫡😅
@Radu
@Radu 2 ай бұрын
Thanks :-D
Understanding AI - Lesson 2 / 15: Hidden Layers
42:50
Radu Mariescu-Istodor
Рет қаралды 4,2 М.
Self-driving car - No libraries - JavaScript course [Lecture 1]
33:59
Radu Mariescu-Istodor
Рет қаралды 48 М.
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 9 МЛН
Watching Neural Networks Learn
25:28
Emergent Garden
Рет қаралды 1,1 МЛН
This is why Deep Learning is really weird.
2:06:38
Machine Learning Street Talk
Рет қаралды 319 М.
OpenAI shocks the world yet again… Sora first look
4:22
Fireship
Рет қаралды 1,4 МЛН
Teaching Neural Network to Solve Navier-Stokes Equations
5:06
Computational Domain
Рет қаралды 73 М.
But what is a neural network? | Chapter 1, Deep learning
18:40
3Blue1Brown
Рет қаралды 16 МЛН
WRITING MY FIRST MACHINE LEARNING GAME!
10:02
Jabrils
Рет қаралды 1,9 МЛН
26. Structure of Neural Nets for Deep Learning
53:17
MIT OpenCourseWare
Рет қаралды 50 М.