Beat Asteroids Game Using a Neural Network - JavaScript Tutorial

  Рет қаралды 27,552

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер: 25
@MtFordStudios
@MtFordStudios 6 жыл бұрын
Hi guys, thanks for watching. If you have any specific questions for me about the content, please ask them over at my channel kzbin.info as I don't actively monitor this one. Thanks!
@PixelZYX
@PixelZYX 3 жыл бұрын
THIS IS EXACTLY WHAT I NEEDED IVE BEEN SEARCHING FOR SOMETHING LIKR THIS FOR AGES THANK YOU SO MUCH
@3stepsahead704
@3stepsahead704 4 жыл бұрын
I think watching Standords' Machine Learning course + this tutorial should be standar AI training for any developer. Thank you very much c:
@brandonmartin1218
@brandonmartin1218 4 жыл бұрын
You sir are a real GEM
@crimsonzodiac908
@crimsonzodiac908 6 жыл бұрын
Really loving these tutorials
@herbertk9266
@herbertk9266 6 жыл бұрын
Thks nice tutorial, i have checked your channel it has alot of cool staff and i have subscribed
@thomasbagge9585
@thomasbagge9585 4 жыл бұрын
Thank you, this was very helpful!
@firasnizam
@firasnizam 5 жыл бұрын
Hi, Why you are putting the rotating algorithm and rules of playing and neural network together, if you are putting the rules of playing then there is no need for neural network. And I don't see the benefit for AI here in this example
@anythingpeteives
@anythingpeteives 4 жыл бұрын
Yeah, just watched this and I thought the same thing. Couldn't see anything a neural network could do here that a simple bit of logic programming wouldn't have done.
@dalegriffiths3628
@dalegriffiths3628 4 жыл бұрын
@@anythingpeteives Hi, I see what you are saying, yes of course you could hard code the vector that points from the ship to the asteroid, turn the ship to that angle and fire and you will hit it every time. I think this is more about going through the process of developing a NN. If you think the inputs are position of ship, position of asteroid, angle of ship, angle to asteroid. During training the network feeds through all that data and compare the NN output to the desired angle, by feeding back multiple times and adjusting weights you get weights that make the output very similar to the desired for any given input. In the actual game using predict the same inputs go into the feedforward (the network knows nothing about what any of those numbers are) the output with the preset weights makes the judgement on the left or right turn. So what is going in is an array of data and the network makes a decision to turn left or right based on the output. Of course in this simple type of games you don't need a network but it does nicely show the principles in my opinion :-)
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 6 жыл бұрын
Thank u for this awesome video
@Magistrado1914
@Magistrado1914 4 жыл бұрын
Excellent tutorial 20/05/2020
@Stillbornzzz
@Stillbornzzz 6 жыл бұрын
Why not use genetic agorithm to train the model?
@Stillbornzzz
@Stillbornzzz 6 жыл бұрын
You could also do `Matrix.map(hidden, sigmoid) ` to not create a function each time you feed forward.
@farenhite4329
@farenhite4329 4 жыл бұрын
Aren’t GAs slower compared to reinforcement?
@SunWKim
@SunWKim 6 жыл бұрын
No priority to preservation of the ship? I didn't see it turning around to defend itself from imminent collision. The Asteroids game does allow thrust. And in the arcade version, you have shooting UFOs that'd certainly kill the ship staying in a stationary position.
@drtt1gg3r1
@drtt1gg3r1 6 жыл бұрын
He stated pretty clearly in the beginning several times that the neural network is only going to be coded for turning left and right.. He's leaving it up to the audience to take it to the next level.
@mindaugasmaslauskas1213
@mindaugasmaslauskas1213 5 жыл бұрын
I've no idead what's going on.
@peterfarrell66
@peterfarrell66 4 жыл бұрын
He’s going to all this work to train the ship to point at the nearest asteroid. I was hoping he’d use a genetic algorithm to train the net to play but apparently that was too complicated? It’s a good example of back propagation though.
@nva8271
@nva8271 6 жыл бұрын
Which is better to learn Python or JavaScript please tell , 👍If JavaScript Comment if Python And please do it fast I'm waiting
@vatsaakhil
@vatsaakhil 6 жыл бұрын
Like everything else, it depends on which field you actually want to work in
@sajateacher
@sajateacher 6 жыл бұрын
Both
@hamrogarage4658
@hamrogarage4658 6 жыл бұрын
Learn Both For front end use Javascript For backend use python and it can also be used in AI sector so Just learn both
@noctavel
@noctavel 6 жыл бұрын
why to use two different languages, if javascript can be used both back-end and front-end and have the same capabilities (maybe more ?) and performance as python?
@DavidZMediaisAwesome
@DavidZMediaisAwesome 3 жыл бұрын
@@noctavel i wouldn’t say it has the same capabilities as python, only because python is actually used for data science stuff more and therefore has more work put into libraries in that field. However, i totally agree that javascript should be used for both frontend and backend stuff.
How Deep Neural Networks Work - Full Course for Beginners
3:50:57
freeCodeCamp.org
Рет қаралды 4,6 МЛН
Watching Neural Networks Learn
25:28
Emergent Garden
Рет қаралды 1,4 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 1,5 МЛН
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Learn JavaScript - Full Course for Beginners
3:26:43
freeCodeCamp.org
Рет қаралды 19 МЛН
But what is a neural network? | Deep learning chapter 1
18:40
3Blue1Brown
Рет қаралды 18 МЛН
Training an unbeatable AI in Trackmania
20:41
Yosh
Рет қаралды 15 МЛН
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,7 МЛН
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 1 МЛН
Learn Neural Networks through coding
24:31
Radu Mariescu-Istodor
Рет қаралды 34 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,5 МЛН
NVIDIA CEO Jensen Huang's Vision for Your Future
1:03:03
Cleo Abram
Рет қаралды 209 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН