https://drive.google.com/file/d/1tYmyc2GdCnC-EakKrsH2z_LhQTIzusRA/view?usp=sharing
the error function is showing some issue cant figure out
https://drive.google.com/file/d/1tYmyc2GdCnC-EakKrsH2z_LhQTIzusRA/view?usp=sharing
the error function is showing some issue cant figure out
hey @rohit_1906 ,
I just went through your code and i would appreciate that it is really good.
Just a small problem due to which you were facing issues with your err values was in your gradient function as you need to perform y-y1
instead of y1-y
.
Change that and your code will work fine , i hope so.
Thank You and Happy Learning .
i corrected the gradient function , and the error function showed correct results but the accuracy finding func is still not showing the correct result …please help out
hey @rohit_1906 ,
can you please provide me link to your updated code and also a screenshot or brief explanation about what result are you currently getting.
Thank You .
hey @rohit_1906 ,
just make one simple change in your code.
In predict function , just change
output[yy >= 0.5]
to
output[yy >= 0.5] = 1
.
It will work perfectly.