I don’t understand I cast function as float and it gives output same as expected but with an error as “you must cast output as float”.
(Solution code removed, as posting it publicly is against the honour code of this community, regardless if it is correct or not)
Mubsi
2
Hi @Ishfaq_Malik,
I have removed your solution code, as posting it publicly is against the honour code of this community.
As for the issue in your code, please pay attention to this part of the instructions # Add bias b to Z. Cast b to a float()
Best,
Mubsi