Please ise karne ka approach bata diye
I am not able to do this question
question no 3…I tries to use code to solve it but none of the options matched …also weights initialize karne ko isse kaha hai W = [,0,-1,2] . Shouldnt there be 4 values in it
Hey @Lakshita, the first weight is -1, so W =[-1,0,-1,2].
You need to implement the small code to get the results, since single perceptron network is same as logistic regression, you can make changes in that to look like this,
https://colab.research.google.com/drive/17knBFvtPcvAZFfPAUiY5He2x_bgUngpz
Ans is there itself in ipynb.
Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. 
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.