AI Learns the Numbers

  Переглядів 264,885

Green Code

Green Code

День тому

💚 Support Me on Patreon: / greencode
I decided to explore Pytorch and machine learning by teaching an AI the numbers. I used CNNs, neural nets, and even some complex networks (like AlexNet) to help the AI recognize the numbers. Hope you enjoy the video!
🔗 Link to Code:
drive.google.com/drive/folder...
📖 Awesome Coding Tutorials/Explainers:
Daniel Bourke: • Learn PyTorch for deep...
@mrdbourke (this man taught me everything I know about pytorch)
Backpropagation:
• What is backpropagatio...
• Back Propagation in Ne...
Convolutional Neural Networks:
• CNN: Convolutional Neu...
Music I Used in this Video: share.epidemicsound.com/7i1d0b
⭐ Other Social Media Links:
🔊 Discord: / discord
🐦 Twitter: / thegreen_coder
📸 Instagram: / thegreencoder
🎵 Tiktok: / thegreencoder
✨ Subscriber count: 38 subscribers.

КОМЕНТАРІ: 273
@Green-Code
@Green-Code Рік тому
Thank you so much for watching☺! Make sure to check out the fundraiser💚: gofundme.com/raising-10000-for-diabetes-by-the-end-of-2022
@millionare5446
@millionare5446 Рік тому
2022 already ended
@TurkeyTerrorizer
@TurkeyTerrorizer Рік тому
@@millionare5446 NAAAAAH REALLY
@kpopandkdramalovers7740
@kpopandkdramalovers7740 Рік тому
Diabete
@Wonders_of_Reality
@Wonders_of_Reality Рік тому
I like your presentation, wit and pacing. But black backgrounds and white text is just killing my eyes. I do realise that the majority of artists like black environment. Just wanted to point out that a minority exists as well. It would be great if all the software would be switchable to a light mode for accessability reasons.
@aydink7739
@aydink7739 Рік тому
Keep it going. Your production quality and also kind of self ironic style is fantastic.
@Green-Code
@Green-Code Рік тому
Thank you so much! :)
@DanksterPaws
@DanksterPaws Рік тому
His style reminds me of codebullet, I actually was a little confused because I clicked on this video subconsciously and I thought it was him for about the first quarter of the video.
@thirddrone
@thirddrone Рік тому
@@DanksterPaws def codebullet inspirrd
@thisiso0_tron_0o41
@thisiso0_tron_0o41 Рік тому
Yeh feels like style has been stolen from code bullet. Still huge effort making this kind of videos
@brianwu3566
@brianwu3566 Рік тому
Honestly I think you can go above an beyond with res nets similar to resnet50 or alpha zero's net arch and then add a multilayered perception, it helps a lot with when compared to a fully connected layer(Alexnet). Truthfully speaking, just throwing more layers and neurons increases the accuracy, but also increases the chances of overfitting.
@Jason_vinion
@Jason_vinion Рік тому
Also thank you so much for linking the code that’s awesome!!! And very very appreciated!
@Green-Code
@Green-Code Рік тому
Of course!
@marklondon9004
@marklondon9004 Рік тому
Great stuff! Looking forward to seeing the rest of your work
@zbyszekradzimi4066
@zbyszekradzimi4066 Рік тому
The production quality on this is insane. When i clicked i thought it was 596 k subscribers not 596. Then i saw that when you made this u had 38. THATS CRAZYYYYYY. Subscribed and im probably gonna bingewatch your videos now. Your style reminds me of code bullets.
@Green-Code
@Green-Code Рік тому
Thank you 💚
@NathanHedglin
@NathanHedglin Рік тому
Absolutely amazing video. Great presentation style. Quality is above 99% 😊
@therealmstoltz7032
@therealmstoltz7032 Рік тому
Awesome video! I did a 1st year engineering project that looked at different solutions to MNIST, our most accurate model was very similar to Alexnet but with some parameter / layer changes that let it get up to 99.7%. However, there are much less complex models that can reach the 99% mark.
@Green-Code
@Green-Code Рік тому
Oh nice! 99.7% that's high!
@Eren_Yeager_is_the_GOAT
@Eren_Yeager_is_the_GOAT Рік тому
This deserves waaaaay more likes and views EDIT: wow already 256k views and 7k likes did not expect that in such a short amount of time
@Green-Code
@Green-Code Рік тому
:)
@GigantTech
@GigantTech Рік тому
True
@HyperHrishiHD
@HyperHrishiHD Рік тому
DEFINITELY
@saud9947
@saud9947 Рік тому
WTF! I just saw you only have 100 subs?! With this quality you deserve more. You have my sub.
@nithish.s8681
@nithish.s8681 Рік тому
good job dude, you are keeping it straight forward
@_sahildahat_
@_sahildahat_ Рік тому
Great video! Learned something new and would love to learn more!! Thank you!
@GigantTech
@GigantTech Рік тому
thank you very much for giving the code out to everyone
@jerin_stephen
@jerin_stephen Рік тому
This is awesome man ... 🤙🤙🤙Keep rocking 🤙🤙🤙
@saikhrisat1624
@saikhrisat1624 Рік тому
This is the first video of yours that was recommended to me on UKposts, and it was the best thing that happened to me today. Keep it up, bro. I enjoy your videos, but don't forget when you have more than 1 million subscribers 👻
@Green-Code
@Green-Code Рік тому
Wow thank you dude. I won't forget :)
@usmonovjjs7490
@usmonovjjs7490 Рік тому
Woow! Bro you explained very well! Amazing job 👍
@juaan_
@juaan_ Рік тому
Hey, first i wanna say I really like the style of the vid and its cool to be here when the channel is still small. Can I ask how did u learn to code, and how long have you been at it for?
@Green-Code
@Green-Code Рік тому
Thank you so much! :D I started learning to code I think maybe 8 years ago. I mostly just watched tutorial videos and I built little projects. I'm still not great at it lol, but I have been slowly improving.
@Spindely
@Spindely Рік тому
@@Green-Code can you give some ideas of what to do in python? I wanna learn to use it but iam not sure what to do with it
@dedse3
@dedse3 Рік тому
Great video man, you make it interesting all the way until the end! I also checked your blog, nice article about science and code! +1 sub and share
@Green-Code
@Green-Code Рік тому
Thank you bro, I appreciate that! I haven't touched the blog in a long time, but I'm very glad you enjoy it :)
@FVT-tn8ji
@FVT-tn8ji Рік тому
Thanks for the video, this was really interesting!
@Covalact
@Covalact Рік тому
i just want to have a comment on your channel from the start of your journey to 100k , good luck you got it with an awesome content
@Green-Code
@Green-Code Рік тому
Thank you so much :)
@theuser810
@theuser810 Рік тому
I have also had the pleasure of completing the CNN course on Kaggle, This video came at a great time, also best of luck with your channel!
@Green-Code
@Green-Code Рік тому
Thank you so much! I don't really know what course that is, but I hope it was interesting :)
@TheAznCoderPro
@TheAznCoderPro Рік тому
This is such a well made video! You deserve way more subscribers. Keep it up!❤🎉😊
@Green-Code
@Green-Code Рік тому
Thank you for the kind words! New video today :)
@Shannooty
@Shannooty Рік тому
Been playing with mnist lately too, cool to see your results. Looking forward to more vids :)
@Green-Code
@Green-Code Рік тому
Oh, that's so cool. Pytorch or Tensorflow?
@zizohemid4356
@zizohemid4356 Рік тому
Nice video format. Keep it up! The model sees numbers I can't see XD
@Green-Code
@Green-Code Рік тому
You and me both XD
@xmdani4165
@xmdani4165 Рік тому
Again amazing video! You should make more videos!!!
@alfashow2439
@alfashow2439 Рік тому
Nice viedo, you got me interested!
@asrar4907
@asrar4907 Рік тому
Yo boi, dont you stop uploading these type of videos, you will one day reach a high feat, and 10k by the end of 2023 i wish i could donate but i dont have anything one me rn, keep going g
@Green-Code
@Green-Code Рік тому
Thank you for the kind words :)
@danielabang6097
@danielabang6097 Рік тому
love the video man. Looking forward for future uploads
@Green-Code
@Green-Code Рік тому
Thank you! More to come!
@ltsben6564
@ltsben6564 Рік тому
Wow! This is incredible! I assumed because of your thumbnail and while I was watching the video that I was watching someone with 100k+ subscribers yet I've come to find you only have 385... I'll add another to start the way! I'm not much of a programmer, but this video and its style is incredible! I'm waiting for the video on Sunday ;)
@Green-Code
@Green-Code Рік тому
Thank you so much man! You made my day :). I'm still editing today's video but it should be uploaded later today. Let me know if you like it 💚
@Destroyanad
@Destroyanad Рік тому
@@Green-Code Man u growin fast, already 1k subs
@Geosquare8128
@Geosquare8128 Рік тому
Great video keep it up!
@YahiyaJasem
@YahiyaJasem Рік тому
Great video ma man ,, i learned a lot
@fragly
@fragly Рік тому
I had to rub my eyes to make sure your sub count really said 386 subs and not 386k subs wildly underrated, excited to see more content
@Green-Code
@Green-Code Рік тому
Thank you :D
@Harvey1G
@Harvey1G Рік тому
great video deserve more subs for sure
@Noirie99
@Noirie99 Рік тому
You clearly deserve more subscribers
@artemvolsh387
@artemvolsh387 Рік тому
Great, thanks for the video. I personally like the details of implementation. If it's possible to create a video that would serve as a walkthrough of practice basics, that would be great learning material.
@Green-Code
@Green-Code Рік тому
Thank you for the suggestion! I might do that in the future
@albertg4096
@albertg4096 Рік тому
Amazing video! Will you make tutorials on how to do something like this? It would probably be the most informative tutorial on Machine Learning I've ever seen
@Green-Code
@Green-Code Рік тому
Possibly :) (but not at the moment)
@Jason_vinion
@Jason_vinion Рік тому
Wow this is amazing, may not seem like much now but this is top notice entertainment give it a few years and I have no doubt you’ll have quite a bit of subs (50k-100k) then it’s just growing after that
@Green-Code
@Green-Code Рік тому
Thank you for the kind words :)
@demonslime
@demonslime Рік тому
1:20 where did you get the model of my brain during exams from
@sandundeemantha34
@sandundeemantha34 Рік тому
I subscribed to you because you gave code
@gavril3698
@gavril3698 Рік тому
my homework on special mathematics subject in computer engeneering was literaly this :)
@sergi00
@sergi00 Рік тому
really good content oh and IM UR 100TH SUB LESGO
@Green-Code
@Green-Code Рік тому
Let's go!!!
@ZenithCoding
@ZenithCoding Рік тому
great intro to neural nets :D
@djvelocity
@djvelocity Рік тому
*It is a crime that you have 4000 followers.* You deserve 4 million 🤯
@vutrunghungnguyen1967
@vutrunghungnguyen1967 Рік тому
At the thumbnail, you should swipe the screen back and forth and you would probably see an illusion of that curve
@PotatoImaginator
@PotatoImaginator Рік тому
Very cool , i need to learn Machine Learning , Neural Networks too :)
@Helmshot
@Helmshot Рік тому
Now I know why my drawn numbers don't get recognized in games
@maleek2.07
@maleek2.07 Рік тому
that was cool!
@marcofe82
@marcofe82 3 місяці тому
It's unbelievable how with your video I learnt a lot about AI. Thank u so much!!!
@Green-Code
@Green-Code 3 місяці тому
Happy to hear that!
@Egon3k
@Egon3k Рік тому
Cool Video :) reminds me a little bit of Code Bullet
@iffathossain8050
@iffathossain8050 Рік тому
The quality of this video is excellent. As an ML engineer, I suggest focusing on the F1 score on a previously separated testing dataset (There will be 3 divisions - training, testing, and validation). It would be best if you also created a graph from the history of training the model including the validation dataset. You see accuracy is not the one that we seek, we see how much pure the training has become. Also, it is essential to explain why you are applying a model, though most of the time, it's difficult to understand.
@Green-Code
@Green-Code Рік тому
Thank you for the tip :)
@MasoodOfficial
@MasoodOfficial Рік тому
Good work.
@aoch1461
@aoch1461 Рік тому
Fantastic!!!!!!!
@MysteriousPika
@MysteriousPika Рік тому
Your really fun to watch, I’m to dumb to understand anything ur saying but it was a fun watch regardless
@aaronrobertcattell8859
@aaronrobertcattell8859 Рік тому
What is backpropagation learning algorithm? Backpropagation, or backward propagation of errors, is an algorithm that is designed to test for errors working back from output nodes to input nodes. It is an important mathematical tool for improving the accuracy of predictions in data mining and machine learning.
@thunder89
@thunder89 Рік тому
Two linear layers without any non-linearity as activation function in between is exactly the same as one linear layer. Think of a linear layer as (matrix) multiplication: out=weight1×(weight2×input) is the same as out=(weight1×weight2)×input . So the first two models are almost the same, just written a bit differently.. Thid explains why they perform the same..
@Green-Code
@Green-Code Рік тому
Oh shit thank you for that
@the_old_boy
@the_old_boy Рік тому
Thats a cool video. Hope to see more of it.
@Green-Code
@Green-Code Рік тому
Thanks! Just posted a new video 😊
@Sedquis
@Sedquis Рік тому
The fact that I studied AI at university and this video was more understandable than my professor is crazy
@crazgon7261
@crazgon7261 Рік тому
Im in High School, and I have learnt more from my classmate than from my Physics teacher
@puzzLEGO
@puzzLEGO Рік тому
5:56 honestly that does look way more like a 7 than a 1 😂
@Green-Code
@Green-Code Рік тому
Yep, my drawing skills are not the best 😂
@puzzLEGO
@puzzLEGO Рік тому
@@Green-Code haha you did great! keep up the AI videos btw they have so much potential
@oienu
@oienu Рік тому
I'm 120% sure is a 7, no one can think is another thing if you don't put a 7 at side for reference. Humans have the same problem trying to discern between a 0 and a O if you don't have a context.
@NotAFoe
@NotAFoe Рік тому
Subbed
@jackparr4910
@jackparr4910 Рік тому
Amazing video! Did you use the same learning rates for all the models?
@Green-Code
@Green-Code Рік тому
Thank you! Let me check :)
@Green-Code
@Green-Code Рік тому
Okay, just check. I though it I set all the learning rates to be equal, but turns out that no. For the first and last model, the learning rate was 0.1. And for the other models it was 0.05. Thank you for pointing that out :)
@el_thesnipercraft
@el_thesnipercraft Рік тому
your video are so great :😀
@stysan
@stysan Рік тому
this video idea is not original and i saw it before, but still amazing realization!
@grzegorzjanik4013
@grzegorzjanik4013 Рік тому
what tool did you use to visualize the convolutions?
@puppergump4117
@puppergump4117 Рік тому
Looks like you gained like 200 subs in 10 days. I guess you'll gain even more if you keep this up.
@Green-Code
@Green-Code Рік тому
I'll guess we'll see :) New video this Sunday!
@koufdell
@koufdell Рік тому
nice inspiration from ...... keep going
@Thegreatwizard122
@Thegreatwizard122 Рік тому
like you're enthusiasm
@farhanaf832
@farhanaf832 Рік тому
Could you please make video about ML Alexnet how to code etc? Where did you learn it from?
@Green-Code
@Green-Code Рік тому
There's some great tutorials out there on Pytorch and Tensorflow that are completely free. Check Daniel Bourke out!
@otter502
@otter502 Рік тому
In the beginning you implied that the error was based on the distance between what it thought the number was vs what it actually was Wouldn't a better way to calculate the error to base it on shape? a 3 doesn't look like a 1 but the error (when based on values) is only 2
@Green-Code
@Green-Code Рік тому
Yeah, you're right it calculates the error based on the shape :) It was just an easy explain what I was doing
@HertzugLP
@HertzugLP Рік тому
Getting Code Bullet vibes here
@hugh_jasso
@hugh_jasso Рік тому
Got lost in thought at "neuron." I don't have many of those left.
@j4sun
@j4sun Рік тому
Thank you so much, now I will build something so smart that politicians can be replaced
@Green-Code
@Green-Code Рік тому
Okay, let me know how it goes
@TheLuizfrds
@TheLuizfrds Рік тому
LOL, i did exactly the same thing when i was doing Computer Engineer!
@mohammadmemarnejad8014
@mohammadmemarnejad8014 Рік тому
In the second network I think the accuracy is low because the module is OVER FITTING I think if you decrease the number of nodes and find a normal threshold number the accuracy increases
@Green-Code
@Green-Code Рік тому
Fair enough! Thanks for the suggestion :)
@slacker2016
@slacker2016 11 місяців тому
5:57 I honestly thought that was a seven too
@josgielen8524
@josgielen8524 Рік тому
I wrote my own neural net in C#. With 1 hidden layer of 255 nodes it got 97.6% accuracy. With 2 hidden layers of 255 nodes each it also dropped to 92%. No idea why.
@Green-Code
@Green-Code Рік тому
Wow, that's so interesting. Maybe it's overfitting?
@sildcave3926
@sildcave3926 Рік тому
Nice video
@michaelbayer5887
@michaelbayer5887 Рік тому
... 3 - 6 - 9 - Tesla Numbers its realy enough to KNOW.
@randomhuman69420
@randomhuman69420 Рік тому
Before watching this I thought he was going to train the models with the numbers from a bunch of different fonts...
@d2513850
@d2513850 Рік тому
Like optical character recognition technology
@Green-Code
@Green-Code Рік тому
Same here
@ArcamNight
@ArcamNight Рік тому
For AI is better to use TPU (TensorFlow Process Unit) if you use TensorFlow in your projects
@Green-Code
@Green-Code Рік тому
Didn't know that, thank you😊
@ArcamNight
@ArcamNight Рік тому
@@Green-Code No problem mate 👍💪
@darkchoco7407
@darkchoco7407 Рік тому
Hello, why checking for accuracy and not f1-score? Thanks.
@Green-Code
@Green-Code Рік тому
I just thought it would be easier :)
@Superdeeep
@Superdeeep 9 місяців тому
Your code looks like you learnt pytorch from Daniel Bourke. I am also learning from him
@and_rotate69
@and_rotate69 Рік тому
U have
@Green-Code
@Green-Code Рік тому
Maybe one day lol
@mykytahordia
@mykytahordia Рік тому
I guess you have made visualization of dummy model a little bit wrong. There is no single hidden neuron. It has just flattened layer of input and dense connection with output layer, no hidden. also single neuron doesn’t make sense and can not reach 90%+ 😅. But anyway good vid
@Green-Code
@Green-Code Рік тому
Yep 😅! You're absolutely right :)
@realdragon
@realdragon Рік тому
Mission impossible: Teaching AI to read doctor's handwriting
@Green-Code
@Green-Code Рік тому
😂😂😂
@AnnasVirtual
@AnnasVirtual Рік тому
now train a Vision Transformer
@Outfled
@Outfled Рік тому
i actually gasped after watching the video and seeing youre only at 300 subs. great video nonetheless
@badalmukhiya149
@badalmukhiya149 Рік тому
Bro can you make any app related trading graphs plsss
@godkilled
@godkilled Рік тому
Publish more videos broooo
@Piineapple.
@Piineapple. Рік тому
AI is evolving so fast 😱
@corbinnicholson945
@corbinnicholson945 Рік тому
5:57 ok even I thought that was a 7
@siddhantgupta1300
@siddhantgupta1300 Рік тому
How or from where can i learn this
@primetime3422
@primetime3422 Рік тому
6:07 for the hard 1 I would call that a 7
@Green-Code
@Green-Code Рік тому
Yeah, fair enough my drawing skills are not the best
@primetime3422
@primetime3422 Рік тому
@@Green-Code it’s ok sometimes my 7s look like that
@fristle1
@fristle1 Рік тому
the database includes digit "1" in the form it is used in English speaking countries e.g. the US - a single straight line. Testing ist with a European style "1" (2 lines) will result in being not recognised as a one. Because the tester writes the digit 1 the way the system is trained with as a 7. IMHO not the AI but rather the tester is the issue here :-)
@badalmukhiya149
@badalmukhiya149 Рік тому
Bro can you make the app for trading graph
@Jordufi
@Jordufi Рік тому
Model 2 doesn’t improve from model 1 because you are only using liner layers, try changing the activation function to relu
@bungercolumbus
@bungercolumbus Рік тому
Code bullet 2? Just jk really nice video
@Browno2000
@Browno2000 Рік тому
Uhhhhhhhhhhh the first slide only shows 2720 actually... In all honesty love the video's and keep up the good work bro
@Green-Code
@Green-Code Рік тому
💚💚🔥🔥
@positivenozy6065
@positivenozy6065 Рік тому
Hello! How did u study this AI subject? Is this what you are probably studying at university? I'm curious, want to study this topic, but need to know some sources to learn it. Could you help me?
@Green-Code
@Green-Code Рік тому
I just learn it on my own :) Check out www.youtube.com/@mrdbourke
@positivenozy6065
@positivenozy6065 Рік тому
@@Green-Code thanks!
@alpw404
@alpw404 Рік тому
nice channel, and good news for you: the youtube algorithm chose you
@Green-Code
@Green-Code Рік тому
I guess so :)
@ShadowTB-ds4ks
@ShadowTB-ds4ks Рік тому
How about the other metrics?
AI Learns What Pizza Is
8:03
Green Code
Переглядів 323 тис.
Watching Neural Networks Learn
25:28
Emergent Garden
Переглядів 1,1 млн
Это было легко! Оживили и Отдаем BMW владельцу!
1:40:26
ИЛЬДАР АВТО-ПОДБОР
Переглядів 3,4 млн
AI learns to play 2048
11:11
Code Bullet
Переглядів 10 млн
A.I Learns to Drive while DRUNK... (Deep Reinforcement Learning)
20:07
How I accidentally learned Python in 6 months
4:57
Thaomaoh
Переглядів 4,9 тис.
OpenAI Plays Hide and Seek…and Breaks The Game! 🤖
6:02
Two Minute Papers
Переглядів 10 млн
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Переглядів 2,3 млн
How I'd Learn AI (If I Had to Start Over)
15:04
Thu Vu data analytics
Переглядів 621 тис.
The hidden beauty of the A* algorithm
19:22
polylog
Переглядів 783 тис.
How are memories stored in neural networks? | The Hopfield Network #SoME2
15:14
Layerwise Lectures
Переглядів 636 тис.
How I’d learn ML in 2024 (if I could start over)
7:05
Boris Meinardus
Переглядів 765 тис.
iPhone 19?
0:16
ARGEN
Переглядів 3,9 млн
Обзор Nothing ear (3) и ear (a) - ПРОРЫВ за $100
17:34
Клавиатура vs геймпад vs руль
0:47
Balance
Переглядів 351 тис.
RTX 4070 Super слишком хороша. Меня это бесит
15:22
Рома, Просто Рома
Переглядів 60 тис.