Training set not understood

in training set what does x0 represent , does this represent the bias value, and in the question in weights vector there is a comma before first value, is any value missing or its a complete question.

Hey @saksham_thukral, yes x0 is referred to bias term. so W =[,0,-1,2] and b = 1 initially.
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. :blush:

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.