Neuroevolution Explained by Example

  Рет қаралды 8,325

argonaut

argonaut

Күн бұрын

We'll be exploring the combination of genetic algorithms and neural networks: Neuroevolution.
Neuroevolution is an AI technique that evolves neural networks using the principles of natural selection. In this video, I share the basic concepts of neuroevolution, and then put it to the test with an AI obstacle course.
Source code
↪ Simulation written in C# using the Unity engine.
↪ github.com/argonautcode/neuro...
Socials
↪ Twitter: / argonautcode
Chapters
00:00 Intro
00:37 Neural Networks
01:55 Evolution
02:57 Agents
03:24 Obstacle Course
07:36 Outro

Пікірлер: 50
@Shapshapper
@Shapshapper 22 күн бұрын
A follow-up video would be NEAT!
@TheLaelkrol
@TheLaelkrol 6 күн бұрын
I also WANNt it!
@user-hx7ej6ot6x
@user-hx7ej6ot6x 10 ай бұрын
How does this have 591 views. Most underrated channel I've ever seen.
@Dtomper
@Dtomper 10 ай бұрын
PLEAAAAAAAASEE don't stop making these videos, they are sooooo entertaining and educational at the same time. Thank you so much for making this bro.
@rodrigoqteixeira
@rodrigoqteixeira 5 ай бұрын
Agreed 👌👍
@kamilmarszakowski8694
@kamilmarszakowski8694 5 ай бұрын
+1
@jordand9242
@jordand9242 2 ай бұрын
These are really high quality videos for concept and demonstration. Keep going consistently and you're going to be a very popular channel
@eliojabbour1505
@eliojabbour1505 8 ай бұрын
you deserve so many more subs man. i rarely comment on videos but you have a great way of explaining stuff. Doing my PhD and this helped me
@nipunjyotipathak9573
@nipunjyotipathak9573 4 ай бұрын
I don't know why this channel is so underrated. The quality of the content is too good
@Eld3r
@Eld3r 7 ай бұрын
Amazing work, man. Keep doing this content ❤
@jacquesquipere
@jacquesquipere 8 ай бұрын
Only 83 likes? Amazing video! When can we expect a video about NEAT?
@seif-eldenmohamed8682
@seif-eldenmohamed8682 6 ай бұрын
I absolutely love it man keep it up. ♥
@SammyBoi345
@SammyBoi345 9 ай бұрын
YO great stuff. Cant wait for the next vid! A few tips, maybe punish them for hitting the walls/spinning. Could also give them a broader field of view.
@BonnieMallet
@BonnieMallet 5 күн бұрын
Yup, this was super fun. Thanks argonaut! Looking forward to the NEAT one!
@siimon8916
@siimon8916 Ай бұрын
Thank you so much for giving out the code
@sun_unknown
@sun_unknown Жыл бұрын
Congratulations on the work, I loved the project.
@yogpanjarale
@yogpanjarale 11 ай бұрын
Amazing video, glad i found this channel; instant subscribe. , Love the video style and the explanations.
@sushismitcher225
@sushismitcher225 10 күн бұрын
I can't wait for the video on the neat algorithm!
@programmingwithnick
@programmingwithnick Жыл бұрын
Great video! Thank you very much for sharing it. This was an instant subscribe, please keep it up! Also, your video production is amazing.
@argonautcode
@argonautcode Жыл бұрын
Thank you, I’m glad you liked the video!
@Blooper1980
@Blooper1980 Жыл бұрын
I also like the music.
@yumechan89
@yumechan89 10 ай бұрын
This channel is amazing!!!!🤩
@Blooper1980
@Blooper1980 Жыл бұрын
NEAT video! :)
@effestop
@effestop 8 ай бұрын
Bro your presentation is amazing. What do you use? I want to learn! Make the NEAT video please!
@MikeOxolong
@MikeOxolong 4 ай бұрын
Great! hope you will get back to making videos some day.
@dragolov
@dragolov 8 ай бұрын
Bravo!
@exetorYT
@exetorYT 8 күн бұрын
this is too underrated
@ziad-explains
@ziad-explains Жыл бұрын
It would be interesting if you explained how the neural network's output relates to the turtle's behaviour. By that, I mean: what does the neural network actually produce? Simple context-free moves (i.e. a definite sequence of blind moves regardless of the obstacles)? Instructions based on what the turtle detects in its vicinity (e.g., "if there exists a solid 40 pixels on the right, turn left")?
@argonautcode
@argonautcode Жыл бұрын
Thank you for the comment! You're right, I forgot to discuss the network outputs in the video. Each network produces two output values: one is used as the turning force, and the other is used as the thrust force - so the outputs are directly fed into the physics system for each AI. Since the network calculates the output based on the input values (the sight lines and the compass), the AI can have "reactive" behavior based on the obstacles around it.
@ziad-explains
@ziad-explains Жыл бұрын
@@argonautcode Cheers for the clarification!
@milobem4458
@milobem4458 9 күн бұрын
I don't think you explained what the brain output does, but looking at your code it looks like one neuron does rotation and the other acceleration. This explains why they evolve to spin. It's easier. The rotation neuron is always some non-zero value so the agent keeps spinning and the only decision to make is when to accelerate and the answer is when you point in the right direction and there are no obstacles. Involving the other neuron in a decision which way to turn at each moment is more work for this artificial brain. It brings the joke about rubbing two brain-cells together ;)
@revimfadli4666
@revimfadli4666 8 ай бұрын
How does the internal compass work? Does it feed a normalised angle difference, or the cosine/dot product value between compass and direction?
@nattyzaddy6555
@nattyzaddy6555 6 ай бұрын
liked + comment + subscribed
@cyb0rg14
@cyb0rg14 2 ай бұрын
I liked everything from explanation to visualisation. I have one question, do you write the code in python, and how these visualisation were created?
@argonautcode
@argonautcode 2 ай бұрын
I used C# / Unity for this video. You can find a link to the source code in the description if you’re interested!
@rpraver1
@rpraver1 9 ай бұрын
Will you include the gor your demos?
@hectorsilva6292
@hectorsilva6292 4 ай бұрын
Awesome work! Could you please share the tools used to create the animation?
@yb7875
@yb7875 11 ай бұрын
Will you be making more videos?
@argonautcode
@argonautcode 11 ай бұрын
I’ve been a bit busy for the past few months but yes - I have a lot of ideas planned!
@nj5374
@nj5374 9 күн бұрын
So so sick
@abdulhamedeid935
@abdulhamedeid935 6 ай бұрын
can you make the codes abd visualizations ooen source like 3b1b, and you you did such an amazing animations
@rodrigoqteixeira
@rodrigoqteixeira 5 ай бұрын
When are you goin to make the vid? I just wanted to know...
@saurav_rimal
@saurav_rimal 10 күн бұрын
you should give them eyes to see certain distance far so it may stop the spinning
@roland144
@roland144 3 ай бұрын
cool
@theorder4592
@theorder4592 5 ай бұрын
How did you make this?
@yokami_9408
@yokami_9408 8 күн бұрын
Maybe they are spinning to look around them
@yokami_9408
@yokami_9408 8 күн бұрын
*Play one more second of the video :* 7:02
@ryan.wright
@ryan.wright 6 ай бұрын
How can I get in touch with you?
@leshiy_nd
@leshiy_nd 9 күн бұрын
Vision made of 3 pixels is quite enough of reason to continuously spin
@cortexcarvalho9423
@cortexcarvalho9423 8 күн бұрын
No! burglar!! This idea fell out of my pocket and you found it!!😭😭😭. 🥲
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 762 М.
The Most Important Algorithm in Machine Learning
40:08
Artem Kirsanov
Рет қаралды 343 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 59 МЛН
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 33 МЛН
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 20 МЛН
Gym belt !! 😂😂  @kauermtt
00:10
Tibo InShape
Рет қаралды 13 МЛН
How are Redstone Computers even possible?
19:36
Ellie Rasmussen
Рет қаралды 11 М.
NEAT Algorithm Visually Explained
18:07
David Schäfer
Рет қаралды 2,6 М.
Beating Connect 4 with Graph Theory #SoMEPi
10:51
2swap
Рет қаралды 29 М.
AI Invents New Combat Technique
15:06
cozmouz
Рет қаралды 127 М.
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 43 М.
What are Genetic Algorithms?
12:13
argonaut
Рет қаралды 33 М.
One second to compute the largest Fibonacci number I can
25:55
Sheafification of G
Рет қаралды 136 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 243 М.
Watching Neural Networks Learn
25:28
Emergent Garden
Рет қаралды 1,2 МЛН
A simple procedural animation technique
8:31
argonaut
Рет қаралды 202 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 59 МЛН