Divide by zero error..while implementing

Divide by zero error comes in many logisitic regression problems. How to handle that provided that data given is very large.

Hey @ayushttg8, check your code line by line from here,

Hope this resolved your doubt.
Plz mark it 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.