Logistic regression

https://github.com/thisisabhijat/Machine-Learning/blob/main/10)%20Logistic%20Regression/1)%20Logistic%20Regression.ipynb

The error_list plot is incorrect,I dont know why …I had done exactly what is being taught

hey @abhi_fame ,
You rest of the code is perfectly fine.
You just need to make some changing in your error function .
the actual loss function is
-1*( y*sigmoid(y_hat) + (1-y)*sigmoid(1 - y_hat) )/ n .

So just make this change.
and you will get the correct loss function as required.

I hope this helps. Thank You and Happy Learning :slightly_smiling_face:.

This problem is of clustering fundamentals where the points in the graph are not visible… please check
https://github.com/thisisabhijat/Machine-Learning/blob/main/11)%20Clustering%20Fundamentals/correct%20one.ipynb

hey @abhi_fame,
Kindly keep a single doubt related to a single file only.
You have another doubt regarding this, and i have replied to it too.
Kindly check that.

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.