Perceptron Algorithm with Code Example - ML for beginners!

  Рет қаралды 104,283

Python Simplified

Python Simplified

Күн бұрын

In this video we will talk about the perceptron and code it together! 🧠
Perceptron is single node in an artificial neural network 🤖
It's an an algorithm (a set of instructions) 📃 that's meant to mimic a neuron inside a human brain! We will discuss all the different components of perceptron and in the very end - we'll of course implement what we have learned with Python 🐍 to fully understand the math and logic behind the concepts!
💻 Get the complete perceptron code! 💻
wayscript.com/script/VlHE0uL8
(the above script runs on the cloud - no need to install Python 😉)
🛑 BEFORE YOU WATCH THIS VIDEO 🛑
Watch my Simple Introduction to Artificial Intelligence: 🤖🧠
• Machine Learning FOR B...
🛑 AFTER YOU WATCH THIS VIDEO 🛑
Watch my Error Function - Cross-Entropy Loss Tutorial:
• Cross Entropy Loss Err...
****************************************
🧐 TIMESTAMPS 🧐
****************************************
00:00 - perceptron definition
00:33 - real life example
01:40 - perceptron example
02:04 - perceptron input
02:15 - perceptron weights
02:45 - weighted sum
03:00 - threshold / bias
03:20 - activation function (step function)
03:58 - key notes
05:04 - python perceptron
08:36 - thanks for watching!
****************************************
All the beautiful icons in the video are from:
www.flaticon.com/

Пікірлер: 270
@cxvxcbcxn
@cxvxcbcxn 3 жыл бұрын
I've watched many Python tutorials on KZbin, some good, some not so much...but I really love how yours are truly "simplified" and easy to follow! Amazing for total beginners like myself! Subscribed!
@felixnyamongo
@felixnyamongo Жыл бұрын
Love how you explained it to me. I usually get discouraged by tutorials that make it seem very complex but you have made it easily digestible for me. Thanks
@fallinginthed33p
@fallinginthed33p Жыл бұрын
This has to be the simplest and easiest to understand tutorial on perceptrons in Python. All other tutorials hit you with linear algebra right from the start but this looks at concepts and then code. Well done.
@utkarshkapil
@utkarshkapil 2 жыл бұрын
Exactly the kind of explanation I was looking for , THANK YOU!!!!!
@khafrewatkins
@khafrewatkins 2 жыл бұрын
This made the Perceptron concept much more clear and easy to understand. Not a given on youtube. Thanks Python Simpliefied!
@becayebalde3820
@becayebalde3820 Жыл бұрын
I listend to your episode on the Superdatascience podcast To say things in simple terms, you are GREAT at simplifying things! Now I understand my homework, thank you!
@itsmeintorrespain2714
@itsmeintorrespain2714 3 жыл бұрын
Oh boy! At 73 yrs old I'm finally able to begin to understand Neural Networks. Thankyou so much.
@PythonSimplified
@PythonSimplified 3 жыл бұрын
That might be the perfect age to start! you know much more than any of us about life, logic and human behavior - just imagine how many wonderful things you can teach your AI models about the world! 😀 And thank you so much for your lovely comment! 😊
@iansjackson
@iansjackson 3 жыл бұрын
70 yrs mate, so you're not alone in this new adventure.
@animezone2062
@animezone2062 4 ай бұрын
@@iansjackson way to late to be doing that now, enjoy your life
@simonhs1337
@simonhs1337 2 ай бұрын
@@animezone2062 different people enjoy different things
@i_shout3493
@i_shout3493 Жыл бұрын
Love how simple you made it
@rex7486
@rex7486 Жыл бұрын
I'm loving this AI and ML series! I don't think I have the brain for Math, but I still find ML and in particular DL fascinating, so will continue watching and hope that something you teach sticks. 🙂
@hand-eye4517
@hand-eye4517 2 жыл бұрын
Wow ! What a great video ! Seriously awesome content more, more, more please! KZbin is grateful for content creators like you sharing valuable knowledge in a thorough concise format.
@geenstagni1060
@geenstagni1060 3 ай бұрын
Absolutely brilliant ! You are doing the world a favor truly by making these simple yet beautiful tutorials!
@ajithdevadiga9939
@ajithdevadiga9939 4 күн бұрын
Crystal clear Explanation with great code demonstration. Thanks you.
@Annajiraochalla
@Annajiraochalla 3 ай бұрын
I really thank KZbin for suggesting this video. This video is just perfect (simple and very helpful). This is how Tutorials should be. Thanks & Subscribed.
@PythonSimplified
@PythonSimplified 3 ай бұрын
Yeeey!! Thank you so much for the incredible feedback!!! Welcome aboard! (There are plenty of AI tutorials coming in the next few months! 🙂)
@helloworldcsofficial
@helloworldcsofficial 3 ай бұрын
An example with the added bias will be a good next video. Thanks for this one!
@karunakaranr2473
@karunakaranr2473 2 жыл бұрын
Simply the best tutorial. Well done and thanks for your time and help.
@redlerenergy337
@redlerenergy337 2 жыл бұрын
Thank you for this video!!!! You are the best teacher in my life! I couldn't this info about ML a long time. really thank you for your skills and time to record this video! Please continue to create videos about this topic!)
@chrisdanny5180
@chrisdanny5180 Жыл бұрын
Wonderful tuto!
@AgeOfAsparagus
@AgeOfAsparagus 3 жыл бұрын
This is the perfect level of difficulty for my high school computer science course. I hope you have many more planned!
@user-fx5li1cy5t
@user-fx5li1cy5t 2 жыл бұрын
simple but very helpful perceptron tutorial. You explained the topic very well!
@mikoajobara7704
@mikoajobara7704 2 жыл бұрын
Best python chanel i have seen yet, thanks for help !
@AlexShoyhit
@AlexShoyhit 10 ай бұрын
I love your simple explanations
@PythonSimplified
@PythonSimplified 10 ай бұрын
Yey! Thank you so much! 😀
@DanteMishima
@DanteMishima 3 жыл бұрын
Now why wasn't it explained like this to me before? Great video
@pawelwalenda
@pawelwalenda 3 жыл бұрын
Great lesson as usual. I can't wait for a continuation.
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you so much Pawel! 😀 Next AI video is about an Error Function and Gradient Descent, so we're finally getting to the more complex (but much more useful) stuff! 😉
@frankhabermann9083
@frankhabermann9083 3 жыл бұрын
I suggest to make the input an actual input of the perceptron function, this would come in handy if you want to combine several perceptrons to a neuronal net later on. Also, with more neurons, you gonna need the scalar product much more often - maybe use the numpy dot function or implement the scalar product once and keep the rest of the code lean (avoid unnecessary for loops for readability) . Besides that, I think your short babystep videos on that topic might be a very good introduction for beginners. Keep it up.
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you so much for your feedback Frank! 😀 We will definitely use Numpy at a later stage to generate both input matrices and weights! Babysteps is indeed what I'm aiming for with this series, as I had such a hard time trying to learn the subject on Udacity 2 years ago and I was hoping to convey the concepts in a much more simple way with as many illustrated examples as possible 😊 Thanks again for your suggestions! 😁
@DrMohammadAman
@DrMohammadAman Жыл бұрын
The way you explained is awesome, the support of python code gives lot of Confidence in understanding the primitive of NN. Thank you
@darkness3635
@darkness3635 8 ай бұрын
fantastic teaching style....WELL DONE MAAM ....KEEP IT UP..👍👍👍👍
@dikshyakasaju7541
@dikshyakasaju7541 2 жыл бұрын
Super helpful and fun!
@rockymountainfacet5958
@rockymountainfacet5958 Жыл бұрын
Thank you so much for this video. I really enjoyed watching you code a perceptron.
@message59
@message59 2 жыл бұрын
this is so on point 👏🏼 thank you for the effort :)
@pakinam190
@pakinam190 2 жыл бұрын
this really helped! thank you for the great video💖
@css2014
@css2014 2 жыл бұрын
Great explanation ! Very easy to understood.
@TheMSBNA
@TheMSBNA 3 жыл бұрын
I like how you explained it to me the way youd explain to a kid. Thanks!
@PythonSimplified
@PythonSimplified 3 жыл бұрын
hahaha I believe it's the only way to explain such complex topics! you'll see how these oversimplified examples will be worth it in the end! 😂
@derricksherrill3511
@derricksherrill3511 3 жыл бұрын
Cool topic, another awesome video. Great job!
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you so much Derrick!! I'm super happy you liked it! 😁
@ZurioSi
@ZurioSi 3 жыл бұрын
Amazing video my friend!. Very simple and I love it.
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you so much Dark Wolf, glad you liked it! 😁
@ms.crawford1335
@ms.crawford1335 6 ай бұрын
So simplified thanks
@manumehra6602
@manumehra6602 2 жыл бұрын
Very well explained , Thanks
@aliyilmaz9296
@aliyilmaz9296 3 жыл бұрын
Thank you very much. Your explanation is clear and understandable.
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you Ali, I'm happy you liked my explanation! 😊
@dontplaywithme8684
@dontplaywithme8684 2 жыл бұрын
Wooow you are so amazing. Thanks I found what I need.
@Po4to
@Po4to 3 жыл бұрын
I'm still very new to Python and I don't recall exactly how I stumbled upon your tutorials - but this got me hooked. For one, my brain is absolutely on fire right now, thinking of things I'd like to automate or outsource to a digital brain. Speech recognition based on spectrograms. Perfecting pastry recipes based on scientifically analyzed chemical/physical interactions between ingredients. Or translating legislative econo-babble into sensible, comprehesible bullet-points. IF that's possible. And two: I love Python's syntax. So elegant and concise, especially with regards to variables. My entry drug was C++ but these days I dabble in webdev these days, and 3 out of 10 times I'll forget the mandatory $ in PHP. And don't even get me started on --var ;)
@PythonSimplified
@PythonSimplified 3 жыл бұрын
hahaha nothing compares to the simplicity of Python! it's like plain English with a bunch of ":" in the end of some sentences! 😉And I'm so happy that Machine Learning inspires you!! we are only beginning to understand the impact of AI technology as it can improve every single aspect of our lives (or destroy them - if only a few will possess its power and use it to control the many) There's absolutely no limit to what we can achieve with AI and many brilliant ideas haven't been implemented yet - so we're witnessing the very beginning of this technological revolution - what a time to be alive!!! 😁
@Po4to
@Po4to 3 жыл бұрын
​@@PythonSimplified That last sentence seems familiar. Are you, by any chance, quoting Two Minute Papers' Karoly Zsolnai-Feher? His videos on AI based simulations are just pure brain candy. In any case, yeah, the sky is the limit, it seems - and I'm exactly the type that goes down the weirdest paths possible, and pushes on even after the path ended. Case in point: why would anyone make music videos in a point&click adventure game engine? Don't know. Don't care. It's fun. Though not as fun as doing that in PHP and HTML. Also, speaking of languages, are you a fellow Central/Eastern European? I might be totally off, but the vowel sounds and the intonation patterns remind me of Slavic languages - very clear and enunciated - and the dark L makes me look to the former Eastern bloc. It's a weird question, I know - but my academic background is in linguistics. Plus I'm weird :P
@trishtrish3288
@trishtrish3288 2 жыл бұрын
Amazing tutorial ❤❤❤ Thank you sooooooo much .... you explained everything amazing and understandable and also thank youu for talking slowly ❤❤❤❤❤❤
@majidalahmadi2133
@majidalahmadi2133 2 жыл бұрын
Thanks for sharing this tutorial
@N0AGI
@N0AGI Жыл бұрын
well done - thanks for sharing.
@awdz01
@awdz01 2 жыл бұрын
Really! wonderful!!!😊
@rayanfernandes2631
@rayanfernandes2631 3 жыл бұрын
Wow... Ioved the way u explained it... I didnt have such clarity on the subject before...you are awesome.. Plz teach us more just like this ♥️
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you so much Rayan! 😀 I sure will!! Artificial Intelligence is an incredible journey! I'm so happy to see everybody enjoys the topic! 😁😁😁 The more we know about AI - the bigger the chance we can outsmart it in the future! 😉
@rayanfernandes2631
@rayanfernandes2631 3 жыл бұрын
@@PythonSimplified haha 😂 you are very smart... I'm sure after listening to you.. Wil be able to outsmart AI in the future. 🔥
@rohitbharti2882
@rohitbharti2882 2 жыл бұрын
Informative 😎
@angelajcabul3165
@angelajcabul3165 3 жыл бұрын
Great video! I LOVE YOU 😀 and yours videos too
@mschon
@mschon 3 жыл бұрын
Thanks for sharing. You're amazing!
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you so much Michael! 😁
@anthonyrojas9989
@anthonyrojas9989 2 жыл бұрын
Mariya, your videos are always fun and useful. Do you have any books that you recommend on python machine learning?
@TheJonathanLugo
@TheJonathanLugo 3 жыл бұрын
Super explanation. Thanks!!!
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you so much Jonathan, glad you liked it! :D
@pallavimishra6647
@pallavimishra6647 3 жыл бұрын
Very Intuitive explanation with visualization. 👍👍👍
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you so much Pallavi! I'm so happy liked this tutorial! 😁
@ayzell1376
@ayzell1376 Жыл бұрын
Thanks for the video
@HagamosLoImposible
@HagamosLoImposible 3 жыл бұрын
Amazing explanattion...really... i am learning a lot with you. You are clear and very pedagogic.. my respects from Argentina
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Muchas gracias Matias! I'm very happy you like my explanations, trying to simplify everything as much as possible! 😀 Best regards from Vancouver!! 😁🍁
@fertunamoea8459
@fertunamoea8459 3 жыл бұрын
Amazing... thanks
@armitamolapour2456
@armitamolapour2456 2 жыл бұрын
THis is an amazing video thank you so much
@yellowpanda1001
@yellowpanda1001 2 жыл бұрын
Amazing!
@trtlphnx
@trtlphnx 3 жыл бұрын
I Love Your Perspective and Presentations; My Lovely Unix Based Minx!!! You Are My Favorite Programmer On The "Tube"!!!
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you so much for the incredible feedback! Super glad to have you onboard! 😀
@philtoa334
@philtoa334 2 жыл бұрын
Thank you.
@lefyanehadji4456
@lefyanehadji4456 3 жыл бұрын
thanks for all what u share. very interesting
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you so much! I'm glad you're enjoying my tutorials! 😀
@alexandermuir8160
@alexandermuir8160 3 жыл бұрын
Love your presentation style. Very light hearted and to the point. You make it very easy to learn even with the typos. P.S. I don't like snails either. 😋😃
@PythonSimplified
@PythonSimplified 3 жыл бұрын
hahaha thank you so much Alexander! I'm really happy you liked my presentation! 😀 I heard that if the snail is cooked (Escargot) - it tastes much better! I went for the hardcore raw version of it unfortunately 🤣
@josejuliopl2140
@josejuliopl2140 3 жыл бұрын
You are a genius
@raquibhasib1710
@raquibhasib1710 3 жыл бұрын
Thanks. you cover the basic with real world examples .
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Absolutely! I find it's the best way to learn such complex concepts! 😀
@daipayanhore3726
@daipayanhore3726 7 ай бұрын
Thank you ma'am❤
@abdulrahmanmohamed8800
@abdulrahmanmohamed8800 2 жыл бұрын
thank you for the great explanation.
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Thank you! Happy you liked it! 😃
@mr_presley
@mr_presley Жыл бұрын
Nice tutorial
@saeedakhtar5860
@saeedakhtar5860 2 жыл бұрын
Waooo u explain very simple way please make more videos on multilayer neural network.
@saadshayah8899
@saadshayah8899 Жыл бұрын
So benificial ❤❤❤❤❤
@user-vf5di9nz4s
@user-vf5di9nz4s Жыл бұрын
very hot explanation. Thanks a lot
@_PrajaktaMokale
@_PrajaktaMokale Жыл бұрын
Thanku ma'am 🥰🥰🥰
@narenderkumar6290
@narenderkumar6290 2 жыл бұрын
nice explanation
@leandromedeiros3007
@leandromedeiros3007 5 ай бұрын
very good!! the best video that I see
@leandromedeiros3007
@leandromedeiros3007 5 ай бұрын
awsome didatic
@shadmehrmanoochehri6765
@shadmehrmanoochehri6765 Жыл бұрын
very helpful :D
@matebit8643
@matebit8643 Жыл бұрын
amazing video
@itsmedtutorial
@itsmedtutorial 2 жыл бұрын
the best tutorial in youtube
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Thank you so much Mohamed! 😃
@freezoulou
@freezoulou 3 жыл бұрын
nice work :)
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you dexteuse freeman! 😁
@TheSantosManu
@TheSantosManu 3 жыл бұрын
Nice vídeo, amazing editing.
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you so much Manuel! 😊
@wtfdoiputhere
@wtfdoiputhere 3 жыл бұрын
This was srsly interesting irdk y isn't machine learning being approached this way, simplicity and practicality at the same time
@PythonSimplified
@PythonSimplified 3 жыл бұрын
I find that fancy scholars like using fancy words to showcase how fancy their terminology is... maybe if I was a fancy scholar - I'd have the same point of view 😅 Since I'm a student rather than a teacher - If I can't describe something simply that means I didn't fully understand it. The real life examples and illustrations helped me understand the concepts back in the day and now I'm hoping it will help others too! 😊
@Tobs_
@Tobs_ 3 жыл бұрын
thanks for the video, I will try the ZIP function out and find out how it works.
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you Tobs, I hope you enjoyed your no chicken no goat dinner! 😀
@josephmarks5489
@josephmarks5489 3 жыл бұрын
thanks for the great content
@PythonSimplified
@PythonSimplified 3 жыл бұрын
You're absolutely welcome Joseph, I'm glad you liked it! 😀
@danielmartnutriologous
@danielmartnutriologous 3 жыл бұрын
Thank you so much you are amazing
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you Nutrioo! 😁
@healthwithbhavesh6030
@healthwithbhavesh6030 3 жыл бұрын
every day my love increase for python :)... Anyway the way of your teaching is good and eye catching
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you so much! Glad to hear that! 😀
@fabrizioantonazzo3113
@fabrizioantonazzo3113 3 жыл бұрын
eccelente spiegazione, lineare e semplicegrazie
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Grazie mille Fabrizio!
@segunadegunle2560
@segunadegunle2560 Жыл бұрын
Hello, thanks for this video. I'm new to this field and I'll like to know if the code at the end is the python code for perceptron or a pseudo code
@akhtar_ali
@akhtar_ali Жыл бұрын
Thanks
@elihaylevi6569
@elihaylevi6569 2 жыл бұрын
wow great contant, happy to smash the like and subscribe bottom :)
@sujin8380
@sujin8380 3 жыл бұрын
Super
@abdulhameedmalik4299
@abdulhameedmalik4299 4 ай бұрын
This is best video
@rvmishra9881
@rvmishra9881 3 жыл бұрын
Awesome
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you RV Mishra! Glad you liked it! 😀
@user-le6ee9rz4u
@user-le6ee9rz4u 3 жыл бұрын
nice job ;)
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Spasibo Oleg! 😁
@pradyumnakubear8561
@pradyumnakubear8561 6 ай бұрын
You look beautiful, and You explain beautifully, my professors failed to explain with this clarity, you did a really good job
@BiladelviaGaming
@BiladelviaGaming Жыл бұрын
Thx
@MalamIbnMalam
@MalamIbnMalam Жыл бұрын
Really good video on forward propagation. Are you a ML engineer or Data scientist?
@Alikhan-ee7bs
@Alikhan-ee7bs 2 жыл бұрын
This is very interesting and multi applicable in CNN conventional nerual network.
@janusk.8403
@janusk.8403 2 жыл бұрын
Nice
@ayxanxasmmmdov1438
@ayxanxasmmmdov1438 Жыл бұрын
thanks
@weirdsciencetv4999
@weirdsciencetv4999 2 ай бұрын
Very smart and well spoken! I subscribed! If you want to flex your brain, read up on integrated information theory. Our experiences amount to this irreducible complex of causal relationships. That multidimensional vector of that complex is the actual experience itself, qualia. This work was started by Francis Crick, of DNA discovery fame. It was further developed by christof koch and julio tononi.
@advancedml7508
@advancedml7508 Жыл бұрын
Great
@geraldofrancisco5206
@geraldofrancisco5206 3 жыл бұрын
dis gon be good
@PythonSimplified
@PythonSimplified 3 жыл бұрын
Thank you Geraldo, I hope you liked it! 😀
@georgesword2012
@georgesword2012 2 жыл бұрын
Good 👍 In my opinion instead of 'return step(weighted_sum) ', we may have put here ' print(step(weighted_sum)), in order to see the output as well either 1 or 0 for each iteration, am I wrong?
@LunaMarlowe327
@LunaMarlowe327 2 жыл бұрын
NICE
Cross Entropy Loss Error Function - ML for beginners!
11:15
Python Simplified
Рет қаралды 36 М.
10.2: Neural Networks: Perceptron Part 1 - The Nature of Code
44:39
The Coding Train
Рет қаралды 498 М.
ААААА СПАСИТЕ😲😲😲
00:17
Chapitosiki
Рет қаралды 3,3 МЛН
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 6 МЛН
3 wheeler new bike fitting
00:19
Ruhul Shorts
Рет қаралды 50 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 86 МЛН
My Thoughts On ChatGPT - PULL THE PLUG BEFORE IT LAYS EGGS!!!
12:29
Python Simplified
Рет қаралды 58 М.
List Comprehension - BEST Python feature !!! Fast and Efficient
14:51
Python Simplified
Рет қаралды 187 М.
But what is a neural network? | Chapter 1, Deep learning
18:40
3Blue1Brown
Рет қаралды 16 МЛН
Perceptron | Neural Networks
8:47
First Principles of Computer Vision
Рет қаралды 67 М.
I Built a Neural Network from Scratch
9:15
Green Code
Рет қаралды 123 М.
How to implement Perceptron from scratch with Python
13:46
AssemblyAI
Рет қаралды 31 М.
Python Classes and Objects - OOP for Beginners
8:01
Python Simplified
Рет қаралды 535 М.
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 607 М.
How AI works, using very simple words
4:37
Nas Daily
Рет қаралды 169 М.
💅🏻Айфон vs Андроид🤮
0:20
Бутылочка
Рет қаралды 733 М.
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,8 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 4 МЛН
SSD с кулером и скоростью 1 ГБ/с
0:47
Rozetked
Рет қаралды 321 М.