Implementation of AND function using Perceptron Model

  Рет қаралды 65,016

ThinkX Academy

ThinkX Academy

Күн бұрын

Machine Learning: • Machine Learning
|----------------------------------------------------------------
Android App(Notes+Videos): play.google.co...
Facebook: / thinkxacademy
Twitter: / thinkxacademy
Instagram: / thinkxacademy
#machinelearning #perceptron #ai #artificialintelligence #neuralnetworks

Пікірлер: 75
@ThinkXAcademy
@ThinkXAcademy 2 жыл бұрын
Important Correction: Activation Function for this video is defined as: if y(in)> 0 : then f(y(in)) is 1 if y(in) = 0: then f(y(in)) is 0 if y(in) < 0: then f(y(in)) is -1
@wfkpk
@wfkpk 2 жыл бұрын
​@@rohitchitte9155 he is defining the new activation function; he is not using the sigmoid function that we have seen in the other tutorials.
@jaykumarpatil4548
@jaykumarpatil4548 Жыл бұрын
Chapri explanation
@mango-strawberry
@mango-strawberry 6 ай бұрын
​@@wfkpk Why not use sigmoid? Any reason for that?
@fatemehiraf3998
@fatemehiraf3998 Жыл бұрын
that was the best teaching of perceptron that I have ever seen. thank you so much.
@150kanduladinesh3
@150kanduladinesh3 Жыл бұрын
I think w_new=W_old+Learning_rate*(Expected value-Predicted value)*feature but u gave it directly expected value.
@mango-strawberry
@mango-strawberry 6 ай бұрын
right it should be true - predicted
@gqtshapha5640
@gqtshapha5640 2 жыл бұрын
Clear, informative explanation...I like it👍 I was wondering though, does the ordering of the input layer affect the overall turnout? In terms of shifts and overall adjustments
@ThinkXAcademy
@ThinkXAcademy 2 жыл бұрын
do you mean ordering of nodes within input layer?
@wfkpk
@wfkpk 2 жыл бұрын
In 2nd iteration table you have written x1=1,x2=1,t=-1 but it should be x1=1,x2=1,t=1.
@RazaHussain96
@RazaHussain96 Жыл бұрын
why?
@slainiae
@slainiae Жыл бұрын
Yes, you're correct. It's just a small mistake he made though and everything else should still be valid.
@slainiae
@slainiae Жыл бұрын
@@RazaHussain96 Because it's an AND function which means x1=1 AND x2=1 should give t=1 and not t=-1.
@computervisionlab2119
@computervisionlab2119 3 жыл бұрын
Hi great video, I have a question: why you don't use backward propagation algorithms ? and sigmoid function is 1/(1+e^-x), did you round this function ?
@ThinkXAcademy
@ThinkXAcademy 3 жыл бұрын
Back Propagation algorithms are obviously useful but in this example it works without using this, but definitely for complex datasets we will require back propagation.
@learner8550
@learner8550 2 жыл бұрын
What is formula of Linear activation function? For using here.....
@TheIntervurt
@TheIntervurt 3 жыл бұрын
The formula for Δw is a(target - output)xi, in this video your formula is atxi ?
@jeetbhatt5986
@jeetbhatt5986 2 жыл бұрын
Same question!!
@pranavarya2164
@pranavarya2164 5 ай бұрын
why did u not use threshold
@MuhammadIrfan-nf9pb
@MuhammadIrfan-nf9pb 3 жыл бұрын
Hi bro I think In the first iteration and last 4 input the values of Delta w1, delta w2 ,delta b , w1 ,w2 and b are not correct. My values are 1, 1 ,-1 ,2 , 2 and -2 respectively comming plz Guide me
@ThinkXAcademy
@ThinkXAcademy 3 жыл бұрын
You might have made some mistake in calculations. Because it is correct.
@maheshh4414
@maheshh4414 Жыл бұрын
Hi sir, for the inputs 1,1 we should get 1 only right. In the first iteration if we update the weights earlier then we will get Y=1.
@ROBERTAGAROFANO-j3b
@ROBERTAGAROFANO-j3b 4 ай бұрын
Amazing explenation!!!!
@sshahidmalik97
@sshahidmalik97 3 жыл бұрын
sir, since u have used the activation fn which classifies the out either 0 or 1, so how did u get -1 as output (y)?
@ThinkXAcademy
@ThinkXAcademy 3 жыл бұрын
output of y will be passed to activation function for classification
@sshahidmalik97
@sshahidmalik97 3 жыл бұрын
Yep that's what i said.. After passing it to activation fn the result should be either 0 or 1 according to the activation fn which u have taken.. But u are getting - 1 for some input.. Which can't be possible... If your activation fn would have classified the output to either 1 or - 1 then it was ok.. But for this act. fn that is not the case..
@ThinkXAcademy
@ThinkXAcademy 3 жыл бұрын
it is correct i have rechecked the solution in the book...
@anelemadonda6191
@anelemadonda6191 2 жыл бұрын
@@ThinkXAcademy I think me and Shahid have the same question, your solution might be correct but the question here is "how" did you get to the solution, "how" did you end up with a -1, *how*? thanks for the video btw.
@ThinkXAcademy
@ThinkXAcademy 2 жыл бұрын
Activation Function for this video is defined as: if input > 0 : then output is 1 if input = 0: then output is 0 if input < 0: then output is -1
@ishag9787
@ishag9787 2 жыл бұрын
Sir , how will be the truth table for logical nor for bipolar inputs ? Is it done same way as binary just that we consider 0 to be -1 ?
@ahmarhussain8720
@ahmarhussain8720 3 жыл бұрын
awesome explanation
@ThinkXAcademy
@ThinkXAcademy 3 жыл бұрын
thanks✨
@balidinesh5687
@balidinesh5687 2 жыл бұрын
in the second iteration for input 1 the target is -1 but I guess it should be 1 and will our perceptron performs it right???
@ThinkXAcademy
@ThinkXAcademy 2 жыл бұрын
Try it that way if you are getting final values satisying the AND condition then it will be correct👍🏻
@rohan8758
@rohan8758 2 жыл бұрын
@7:25, you didn't tell about value of sigmoid function in perceptron learning algo. , not even y = f(yin), How can you assume that we know it already..
@ThinkXAcademy
@ThinkXAcademy 2 жыл бұрын
Because this video is part of the Machine Learning course and you skipped this tutorial of the course: kzbin.info/www/bejne/r6S0pqFui8eIo68
@abhishekdubey9920
@abhishekdubey9920 10 ай бұрын
How you write on screen its amazing pless tell.
@rohan8758
@rohan8758 2 жыл бұрын
In 4th time of 1st iteration my w1=2, w2=2 & b(new)=-2. Please check it once, & correct me if i am wrong, Thank you
@ThinkXAcademy
@ThinkXAcademy 2 жыл бұрын
Yes correct.
@sasidharreddykatikam328
@sasidharreddykatikam328 Жыл бұрын
What is the terminology for ALPA and T in this perceptron Model
@smritidhurandhar232
@smritidhurandhar232 3 жыл бұрын
is it complsory to use formula to update the weights and bias? or can we assume it by our own
@ThinkXAcademy
@ThinkXAcademy 3 жыл бұрын
yes formula is needed to update the weights and bias.
@smritidhurandhar232
@smritidhurandhar232 3 жыл бұрын
@@ThinkXAcademy but in some videos and site i have seen that they have solved with using formula [ w;(new) = zv;(old) + ct.t:x; ]
@smritidhurandhar232
@smritidhurandhar232 3 жыл бұрын
@@ThinkXAcademy is using this formula [w;(new) = zv;(old) + ct.t:x; ]is compulsory or not?
@ThinkXAcademy
@ThinkXAcademy 3 жыл бұрын
it is important to use this formula because weight needs to be readjusted after each Iteration
@palvaisaiprasanna4553
@palvaisaiprasanna4553 3 жыл бұрын
How to compute iteration 2 and what are the conditions
@ThinkXAcademy
@ThinkXAcademy 3 жыл бұрын
Compute the same way as we did in iteration 1 but take values of bias from first iteration
@rajershimeesala2368
@rajershimeesala2368 3 жыл бұрын
thank you brooo the condition u used in this prob f(yin) is McCulloch Pitts bro
@ThinkXAcademy
@ThinkXAcademy 3 жыл бұрын
welcome🤗
@kingofshorekishore
@kingofshorekishore 3 жыл бұрын
nicely explained.
@ThinkXAcademy
@ThinkXAcademy 3 жыл бұрын
Thank you😃
@radhasingh3549
@radhasingh3549 2 жыл бұрын
value of alpha will be same for both the iterations?
@w.n.n.amadubashitha6751
@w.n.n.amadubashitha6751 4 ай бұрын
yes
@RyeCA
@RyeCA 2 жыл бұрын
How dou you construct the line using the weights and bias?
@ThinkXAcademy
@ThinkXAcademy 2 жыл бұрын
using the formula y = w.x + b
@RyeCA
@RyeCA 2 жыл бұрын
@@ThinkXAcademy perfect, thanks!
@srimannarayanaiyengar8914
@srimannarayanaiyengar8914 3 жыл бұрын
good explanation
@ThinkXAcademy
@ThinkXAcademy 3 жыл бұрын
Thank you sir😄
@anjalinair3006
@anjalinair3006 4 жыл бұрын
Thank you! It helped
@ThinkXAcademy
@ThinkXAcademy 4 жыл бұрын
Keep Learning👨🏻‍🏫
@ArjunNarula1122
@ArjunNarula1122 3 жыл бұрын
Helped a lot, Thanks!
@ThinkXAcademy
@ThinkXAcademy 3 жыл бұрын
Share my videos to help my channel grow😊💯
@shanmugamkavin8795
@shanmugamkavin8795 10 ай бұрын
how to interpret delta w
@abhishekdubey9920
@abhishekdubey9920 10 ай бұрын
Bro its change in wheight which we do get targeted output and reduce error during traning.
@karenngumimiiyortsuun4829
@karenngumimiiyortsuun4829 Жыл бұрын
Thanks man 👍
@ThinkXAcademy
@ThinkXAcademy Жыл бұрын
Thanks😄 Share it with other students to help others too💫
@Vipul__panwar
@Vipul__panwar 8 ай бұрын
why are u make it so complex 😵‍💫
@achaaisakyapodcast156
@achaaisakyapodcast156 2 жыл бұрын
Bhai jaldi jaldi bol liya kar
@ThinkXAcademy
@ThinkXAcademy 2 жыл бұрын
playback speed 1.5x pr krke dekhle
@achaaisakyapodcast156
@achaaisakyapodcast156 2 жыл бұрын
Wahi kiya bhai, par bata raha future k liye
@ThinkXAcademy
@ThinkXAcademy 2 жыл бұрын
haan meri new videos mei maine fast krdi h speed
@ThinkXAcademy
@ThinkXAcademy 2 жыл бұрын
btw thanks for feedback
@mango-strawberry
@mango-strawberry 4 ай бұрын
@@ThinkXAcademy bro ek update formula mene ye bhi dekha tha: w new = w old + alpha * t * xi. Where t is either 1 or -1. Use 2 when the class should be above the line and use -1 when class should be below the line. Please reply bro if you see this, i have exam today
30 Machine Learning Models in 3 Lines of Python Code using lazypredict
6:46
Perceptron | Neural Networks
8:47
First Principles of Computer Vision
Рет қаралды 77 М.
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 32 МЛН
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 13 МЛН
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 5 МЛН
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
Perceptron
13:22
ritvikmath
Рет қаралды 286 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 320 М.
Neural Networks Representation in Machine Learning
21:58
ThinkX Academy
Рет қаралды 9 М.
Perceptron Learning Algorithm in Machine Learning | Neural Networks
11:41
2. Implementation of AND function using PERCEPTRON model | Artificial Neural Networks
29:53
Dr. Krishan Kumar, Gurukul Kangri University
Рет қаралды 64 М.
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 32 МЛН