Hello,
What is my problem? Can someone please help me?
Many thanks
DungHTM
Hello,
What is my problem? Can someone please help me?
Many thanks
DungHTM
You don’t say which exercise you are dealing with here, but I’ll bet it’s computing the sigmoid derivative. This is a case in which math notation and python diverge. If you say this in python:
s (1 - s)
What you are saying is that s is a function and you are calling it with the argument 1 - s. That will probably not end well. If what you really meant was to multiply, the way to say that in python is:
s * (1 - s)
Oh, sorry, I had only seen your first post when I made that reply. After seeing your second post, my guess is that you have overwritten np.sum
with a scalar value. Look through your whole notebook. Is there someplace where np.sum
appears on the left side of an assignment statement?
Dear paulinpaloalto
I have checked all of my assignment and there isn’t np.sum appears on the left side of an assignment. Could you help me check my assignment
my ID_labs: napcfnip
Many thanks
Dung_Dung
Dear paulinpaloalto
I submitted my assignment and get 100/100 although I still have this mistake, haha
Many thanks
Dung_Dung
We cannot see your assignment from the LabID: only the course staff can do that.