Hypothesis and error function

https://colab.research.google.com/drive/1omCWm9shAx_8cinIpRbtr4B7rbghp8j_#scrollTo=EDre2gbVFwTA&line=1&uniqifier=1

In this code i want to know if the hypothesis function is returning a single value or the whole matrix?

And in the error function while calculating the error are we subtracting the values between (0,1) with the binary values?

hey @Varunsh_20 ,
kindly provide access to your code file. So that i am able to understand your code.

Thank You.

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.