How to train simple AIs

  Рет қаралды 41,050

Pezzza's Work

Pezzza's Work

Күн бұрын

This video is about a simple algorithm to experiment with basic AIs.
Thanks to Alexislouis for the music! @alexislouis2320
You can find the music here: / 18zvih9nrh8gtkjy9
I will release the code of demo shown in the video later.

Пікірлер: 223
@alexislouis2320
@alexislouis2320 14 күн бұрын
Nice video my friend. I would stay around for the seconds parts guys, exciting things ahead ;)
2 күн бұрын
fr
@GuildOfCalamity
@GuildOfCalamity 14 күн бұрын
I could be insane, but I would swear that a rooster just taught me AI.
@bradley1995
@bradley1995 11 күн бұрын
He did, and a cock a doodle too!
@CraftingCat_IX
@CraftingCat_IX 14 күн бұрын
The talking chicken is *slightly* cursed. It’s probably because only the beak is moving and it’s opening a bit too wide for my taste.
@plaintext7288
@plaintext7288 14 күн бұрын
+ the balls like red things
@the-bgrspot6997
@the-bgrspot6997 14 күн бұрын
hyper cursed tbh
@poultrypants
@poultrypants 14 күн бұрын
and the balls 🤣🤣
@sumitbiswas164
@sumitbiswas164 8 күн бұрын
Extremely distracting! I would prefer relevant scenes in a serious video.
@volbla
@volbla 7 күн бұрын
I like the chicken. I find it charming :>
@knitnatsnokprogramming
@knitnatsnokprogramming 14 күн бұрын
He’s alive!
@alliepiper4772
@alliepiper4772 13 күн бұрын
I'm finally starting to recover from like 3 years of intense burnout as a software engineer, and watching your videos helps me remember why I got into this field in the first place. Looking forward to the next one!
@grahamsnyder762
@grahamsnyder762 14 күн бұрын
Since the controller can output an arbitrary cart speed every timestep, it is permitted more or less infinite acceleration. It would be interesting to see how they perform if the available acceleration, (or power, or whatever) is constrained to realistic bounds
11 күн бұрын
That's actually pretty standard to alter into a categorical/discrete step.
@user-lm4nk1zk9y
@user-lm4nk1zk9y 14 күн бұрын
Now build entire ecosystem with Darwin's evolution principles.
@Maus_Indahaus
@Maus_Indahaus 14 күн бұрын
I'd like to see that!
@SystemBD
@SystemBD 14 күн бұрын
That is actually a branch of classical AI called Evolutionary/Genetic Algorithms. They are not hard to code, but they have limited applications.
@Me-0063
@Me-0063 14 күн бұрын
@@SystemBDNot hard to code is an understatement. In my opinion, its probably the easiest to code from scratch…
@allanburns1190
@allanburns1190 14 күн бұрын
I am actually working on something similar
@TVDaJa
@TVDaJa 14 күн бұрын
@@Me-0063 They sound to me like a normal neural network that uses random noise and a kind of selection instead of a more guided training algorithm
@thebetterbutter709
@thebetterbutter709 13 күн бұрын
From a frenchmen to another, your accent has improved so much! Your videos are captivating as always.
@proyoloks1386
@proyoloks1386 11 күн бұрын
yeah it's insane, I almost forgot that this is the same guy as 8 months ago...
@mr.ditkovich9983
@mr.ditkovich9983 14 күн бұрын
Can't wait to see your next video 🙌🏾🙌🏾
@Oring17
@Oring17 14 күн бұрын
Love your work Pezzza. You are a great inspiration.
@xernas7880
@xernas7880 14 күн бұрын
Finally ! I just love your content, i'm happy to see you again, also on my favorite topic
@Ibloop
@Ibloop 14 күн бұрын
I was literally about to work on a project of mine that requires AI, immaculate timing pezzza
@Sakejo
@Sakejo 10 күн бұрын
In the next videos I suggest including some articles, in the description, to delve deeper into the topics discussed. As I was searching for the sources for this project, I couldn't find them.
@Hailfire08
@Hailfire08 14 күн бұрын
Love your videos and can't wait for the next one!
@knitnatsnokprogramming
@knitnatsnokprogramming 14 күн бұрын
I’ll binge-watch this rn
@ruolbu
@ruolbu 13 күн бұрын
how do you binge a single 13 minute video?
@knitnatsnokprogramming
@knitnatsnokprogramming 13 күн бұрын
@@ruolbu By rewatching it over and over again at 0.25x speed
@PezzzasWork
@PezzzasWork 13 күн бұрын
Amazing
@TheTechnopider
@TheTechnopider 12 күн бұрын
Extremely excited for the next video! For some reason, AI training videos just scratch a certain itch so nicely
@notthetruedm
@notthetruedm 12 күн бұрын
I love how you animated this! It looks so cool and made it easy to follow along
@issamoudriss6564
@issamoudriss6564 10 күн бұрын
This video is super nice man, waitin for the second part!
@NickCombs
@NickCombs 13 күн бұрын
The first steps are always the hardest, so it might be good to show some actual code examples for them.
@dedelblute3946
@dedelblute3946 14 күн бұрын
I love this channel. It's enjoyable to just watch cool coding stuff.
@karlosfy
@karlosfy 9 күн бұрын
Really inspiring. Will be waiting to see the code! Great content :)
@rigbyb
@rigbyb 14 күн бұрын
Great video! Glad to see you again
@quantumgaming9180
@quantumgaming9180 8 күн бұрын
I did not expect you to say "double pendulum" and now you are leaving us on a cliff hanger like this :( Hope next episode appears soon
@elex6934
@elex6934 14 күн бұрын
I love your videos ❤ ai is such an interesting topic and I'll watch part2 as soon as possible
@CraftingCat_IX
@CraftingCat_IX 14 күн бұрын
The guy is back :D
@srb9767
@srb9767 14 күн бұрын
Your projects are amazing, and often very beautiful. I aspire to make software as good as this one day!
@ZeroPlus707
@ZeroPlus707 9 күн бұрын
Great video! Hyped for the double pendulum :)
@PloverTechOfficial
@PloverTechOfficial 11 күн бұрын
This is amazing! I can actually understand how to create my own system if I wanted. Unlike some videos which don’t succeed at telling us in an understandable way.
@simon_aviation
@simon_aviation 14 күн бұрын
Thank you SOOOO MUCH!!!! I always wanted to do something like this, this will really help!!!
@JayBenOh
@JayBenOh 13 күн бұрын
Great video! It's a very nice visual representation ... that must have been a ton of work!
@noahwinslow3252
@noahwinslow3252 9 күн бұрын
I'll admit I wasn't as interested in this one as your other work, but your animation quality is *chef's kiss* such a good presentation
@Wolforce
@Wolforce 14 күн бұрын
Great video! as always!
@codedeus
@codedeus 9 күн бұрын
Great video as usual :D
@abdulrahmanelawady4501
@abdulrahmanelawady4501 9 күн бұрын
Thank you for a great video
@midasscheffers7610
@midasscheffers7610 13 күн бұрын
Awsom video, cant wait for the second part
@namdao2672
@namdao2672 14 күн бұрын
im trying to learn ML and DL by myself and find this super helpful, waiting for your next masterpiece
@khatharrmalkavian3306
@khatharrmalkavian3306 14 күн бұрын
Double pendulum should be fun. I wonder how good a solution it will be able to find. As an aside, can't you just use the raw pendulum height (summed per frame) as a fitness function?
@sofia.eris.bauhaus
@sofia.eris.bauhaus 6 күн бұрын
inverted double pendulum sounds intense! looking forward to it. :)
@wjrasmussen666
@wjrasmussen666 3 күн бұрын
That is fun! Good work
@motbus3
@motbus3 12 күн бұрын
Loved the UIs
@brickstopforall
@brickstopforall 14 күн бұрын
I was wanting a video on machine learning!! It's from you aswell!
@i_do_stuff
@i_do_stuff 11 күн бұрын
Waiting for the next one!
@allanburns1190
@allanburns1190 14 күн бұрын
This will actually help me so much in my new project
@and_I_am_Life_the_fixer_of_all
@and_I_am_Life_the_fixer_of_all 7 күн бұрын
such a crime that one of the best youtubers in the tech space only has 138k views and only 34k views on this video after 7 days
@ihv2010_cc
@ihv2010_cc 14 күн бұрын
YES :D
@CyrilM68
@CyrilM68 14 күн бұрын
I can't wait to see what happens next with the double pendulum !
@yraharchenko6364
@yraharchenko6364 14 күн бұрын
soooo, now I want to watch the next video, it is so excited
@teenspirit1
@teenspirit1 13 күн бұрын
I do topological sorting, but then I cache all the pathways from input nodes to output nodes into lists. This way, instead of re-iterating the graph, I just do a for loop to iterate over lists of nodes instead of repeatedly recalculating paths. I haven't seen this technique used online but it makes training step much faster.
@Blooper1980
@Blooper1980 13 күн бұрын
Very neat video
@ScienceGuides
@ScienceGuides 10 күн бұрын
Great work! :-)
@manamimnm
@manamimnm 12 күн бұрын
That trippy music!
@marcelob.5300
@marcelob.5300 14 күн бұрын
Wonderful!
@gedaliakoehler6992
@gedaliakoehler6992 14 күн бұрын
Very neat (haha)! Also great classical controls problem!
@MysteryPancake
@MysteryPancake 14 күн бұрын
nice! it reminds me of the MarI/O video, it uses this algorithm too
@Leonan-cx6dl
@Leonan-cx6dl 14 күн бұрын
Waiting for the next video!
@g3itnal
@g3itnal 14 күн бұрын
im excited for the next video
@chrisdickens4862
@chrisdickens4862 13 күн бұрын
Very cool!
@synterr
@synterr 14 күн бұрын
So cool example! Can't wait to see how AI will handle chaotic pendulum ;)
@QwertyIsCool
@QwertyIsCool 14 күн бұрын
Hes back lets go!
@QQ-jn5jb
@QQ-jn5jb 14 күн бұрын
The talking chicken is amazing
@happycolours8551
@happycolours8551 14 күн бұрын
Yay he's back
@geobruce1995
@geobruce1995 13 күн бұрын
This was again an awesome and beautifully visualised video, just like I'm used from this channel. I'd love to be able to program something like this. If you were to make a more detailed tutorial that we can follow along with the videos and description I believe many people might benefit from this. Is your code open source? Thanks a lot for your awesome content!
@jayearl3591
@jayearl3591 13 күн бұрын
So after all these months in hiding, you've been secretly building Boston Dynamics Spot knock-offs 😂
@antoinespadone7834
@antoinespadone7834 12 күн бұрын
amazing work and i hope mine will work
@jmcglockYT
@jmcglockYT 14 күн бұрын
yes he uploaded
@motbus3
@motbus3 9 күн бұрын
I'm still curious about the UIs :) anxiously waiting for the source code ❤
@bradley1995
@bradley1995 11 күн бұрын
This video seems much simpler than your others. Although I hope a bit more math and code examples can be used in the next. Gate logic videos seem great to teach the subject aswell. Although I feel such simplicity makes it hard to understand the topic clearly enough to extend it to more complicated matters.
@P4INKillers
@P4INKillers 13 күн бұрын
This is an absolutely wonderful video. If I may provide some feedback; It would be great if you could visually show how these mutations (5:47) are applied using the network chart. When splitting an existing connection in two, do they share the same connections with their parents and children? Do new connections have random weights? Also, why does my hyperbolic tangent function provide values different from yours?
@Gunnahan
@Gunnahan 14 күн бұрын
cant wait for part 2 🙂
@Banaannaa
@Banaannaa 14 күн бұрын
same
@Alexander20091988
@Alexander20091988 13 күн бұрын
Really cool video, thank you! This is an really interesting sub topic of ML, especially with such simple networks. Im wondering how it would play out, to create some intermediate game ai, which handles some decisions with this sort of mechanisms instead of a huge load of switch/if/else shenanigans. Obviously not driven fully by it for performance reasons, but in an assisting way. Btw, can you add the used resources (wiki/paper links) to the description? I would appreciate it. Thank you!
@thatprogramer
@thatprogramer 11 күн бұрын
Very well explained! I wonder how the network would react to slight random fluctuations in the value of the nodes or just straight up removing nodes (How would it adapt?)
@alessi4249
@alessi4249 13 күн бұрын
Yeah.. the talking cockerel with sunglasses talking about NN is weirding me out.. Great video!
@mikelCold
@mikelCold 9 күн бұрын
What a hook!
@gustavoadolfomelindres
@gustavoadolfomelindres 14 күн бұрын
Yay!!!
@lennarth.6214
@lennarth.6214 14 күн бұрын
I really like the NEAT-algorithm and its variations. I've used them to find shapes for the unsolved mathematical problem called moving sofa. I got something similar to the currently known best solution in just a few dozen iterations. I wonder how this algorithm scales with more complex task on just a few inputs.
@azuky74
@azuky74 8 күн бұрын
I wanted to do the same (create my own evolution neural network) for a long time and you gave me the motivation to ! Thank a lot Your video is really great ! Love it ! I have one question, on my side I have one issue. Network are get over complexed really fast, creating many neurons in fact not necessary. How did you managed this ? Do you decrease the chance to create a new neuron depending on the current number ? Do you take the size of the network in account when scoring ? Or maybe you didn't have this issue ! If anyone have an idea about it, I take it ! (I resolved the issue by decrasing the score depending on the network size, but I'm not feeling this is a good way to solve it)
@ardumaniak
@ardumaniak 13 күн бұрын
Hurry up with the second part, I can't wait!
@FunkyTurtle
@FunkyTurtle 7 күн бұрын
awesome video man, the graphics are super beautiful as always. you inspired me to make a network of my own, what sources did you use to learn the intricacies of the architecture? i understand the general flow but wouldn't know when at what rate should i add connections or nodes. thanks 😄
@PezzzasWork
@PezzzasWork 18 сағат бұрын
Thank you! I did use the original paper a lot and then tweaked things a bit to feet my needs. In the end these parameters have quite a lot of flexibility, there is a wide range of possible values that can lead to good results. In this case I used 5% chance to create a new node and 50% chance to create a new connection.
@chris.hinsley
@chris.hinsley 14 күн бұрын
Was nice to see a none layered net ! But just a DAG net.
@Aannoonnnn
@Aannoonnnn 14 күн бұрын
G ❤️🔥
@ryshask
@ryshask 14 күн бұрын
Talking chicken? I'm in!
@shadowcrafter01
@shadowcrafter01 11 күн бұрын
That's an awesome video. Crazy good graphics! Mind giving us a hint on how you made them?
@PezzzasWork
@PezzzasWork 17 сағат бұрын
Thank you! I am using C++ and SFML, I will probably make a series of small tutorial to explain how I do this
@ziggyzoggin
@ziggyzoggin 14 күн бұрын
48 seconds ago!
@Yeetmaster982
@Yeetmaster982 14 күн бұрын
im exited to see it with a double pendulum
@gorlix
@gorlix 11 күн бұрын
after this video you convinced me to play around with neutral networks. i quickly found my first goal - make MNIST number recognition network. its my second day trying and the network consistently gets 30% error rate which really pisses me off, this must be because i did not use any libraries and slapped it together on a Unity C# project with a help of chat gpt. im planning to run network on a separate thread so i could test more variety of settings for the neural network. anyways if you are reading this, what would you suggest for me? im using traditional neural network with inputs of 784 hidden layer 128 hidden layer 32 output layer 10 and learning rate of 0,0005 in each epoch it eats 60k images after running first half of first learning epoch it shows 25-30% error rate, after second epoch error rate tends to move closer to 50% which is weird, i tried making learning rate smaller but that requires lots of time too
@FailRaceFan
@FailRaceFan 12 күн бұрын
I feel like I've learned more in this video than in 5 hours of reading. Will you also talk about other learning algorithms?
@PezzzasWork
@PezzzasWork 16 сағат бұрын
Yes I will explore other methods!
@moofin4170
@moofin4170 11 күн бұрын
In theory I understand training AI, however what software do you use? Where do you write logic? How do you get an image output? How do you offload the work to a GPU for faster matrix processing? Interesting stuff, nonetheless. Great video!
@bradb9635
@bradb9635 14 күн бұрын
Brad Pitt: “ya like DAGs?”
@kojox
@kojox 14 күн бұрын
babe wake up, we got to watch this now
@sergodobro2569
@sergodobro2569 13 күн бұрын
Cool video! Btw, do you use Godot or some other engine? If though, how to calculate physical interactions in seconds? Because usually it is 1 scene with fixed speed of time, and to calculate all those ai decisions everything should be sped up and without graphics
@PezzzasWork
@PezzzasWork 10 сағат бұрын
Thanks! I am using my own simple engine :)
@lefm_
@lefm_ 14 күн бұрын
So few nodes! Unity's ML Agents default configuration is 2 layers of 128 nodes, I dont understand why it uses so much, maybe something related to reinforced learning?
@Alayric
@Alayric 14 күн бұрын
Double pendulum 😨
@zyro8473
@zyro8473 12 күн бұрын
+1 for part 2
@BanD1t8
@BanD1t8 4 күн бұрын
The pendulum visualization looks really nice and tactile. Is it custom made, or was there some library/framework involved?
@PezzzasWork
@PezzzasWork 18 сағат бұрын
It's all custom made using C++ and SFML
@AlexanderWhillas
@AlexanderWhillas 12 күн бұрын
The random disturbances are interesting. It's a simple version of the Boston Dynamics quadruped that they kick to try and knock over and it recovers quickly. You can tell that they are using a similar algorithm to find the result, or perhaps it's the fitness function? Make you realise how they haven't gotten much further, intelligence wise from this demo. Robotics hasn't had its "Image Net" moment yet. Splendid video, love the visual description of the algorithm! Keep 'em coming man!
@julianxe
@julianxe 8 күн бұрын
Super insightful! What tool are you using for animations?
@PezzzasWork
@PezzzasWork 18 сағат бұрын
I did create my own tool using C++ and SFML
@user-ns7fz5gb5p
@user-ns7fz5gb5p 5 күн бұрын
Nice work! Is it possible that you publish this project would very interesting to read the code.
@PezzzasWork
@PezzzasWork 18 сағат бұрын
It is planned, I am currently cleaning the code
@bergolho
@bergolho 13 күн бұрын
Congratulations for the video! Could you please tell me which software you use to build the animations ?
@PezzzasWork
@PezzzasWork 10 сағат бұрын
Thank you! I am using a C++ tool I wrote myself
@Surfingnet
@Surfingnet 13 күн бұрын
Encore une super vidéo. Tu l'as codé dans quel langage ce projet? C'est quoi le cpu de la machine sur laquelle tu fais tourner le processus de sélection?
@PezzzasWork
@PezzzasWork 10 сағат бұрын
Merci ! J’utilise le C++ pour tous mes projets et le CPU de mon pc c’est un I7-12700K
@Gedestherosys
@Gedestherosys 13 күн бұрын
Can u give an example recommendation for a mobile app for this?
AIs learn to WALK
20:21
Pezzza's Work
Рет қаралды 48 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 11 М.
The World's Fastest Cleaners
00:35
MrBeast
Рет қаралды 142 МЛН
The magical amulet of the cross! #clown #小丑 #shorts
00:54
好人小丑
Рет қаралды 22 МЛН
Зу-зу Күлпәш. Стоп. (1-бөлім)
52:33
ASTANATV Movie
Рет қаралды 967 М.
i cant stop thinking about this exploit
8:40
Low Level Learning
Рет қаралды 266 М.
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
How I re-created the rhythm game osu! from scratch in C++!
5:51
Omer Hasanov
Рет қаралды 20 М.
Better Mountain Generators That Aren't Perlin Noise or Erosion
18:09
Josh's Channel
Рет қаралды 245 М.
Watching Neural Networks Learn
25:28
Emergent Garden
Рет қаралды 1,1 МЛН
the new PS4 jailbreak is sort of hilarious
12:21
Low Level Learning
Рет қаралды 56 М.
Procedurally Generating Icons for my Farming Game
18:50
ThinMatrix
Рет қаралды 98 М.
Turning bugs into Art
7:43
Pezzza's Work
Рет қаралды 193 М.
How are memories stored in neural networks? | The Hopfield Network #SoME2
15:14
HOW TRANSISTORS RUN CODE?
14:28
Core Dumped
Рет қаралды 122 М.
Внутренности Rabbit R1 и AI Pin
1:00
Кик Обзор
Рет қаралды 2,2 МЛН
Google I/O 2024 - ИИ, Android 15 и новые Google Glass
22:47
Google I/O 2024 - ИИ, Android 15 и новые Google Glass
22:47