So in the assignment for implementing the logistic regression , while writing the code for propagate function I encountered the following syntax error. Now I think there shouldnt be any error here. Can someone help me
(Solution code removed, as posting it publicly is against the honour code of this community)
np.dot takes 2 parameters. Fix the subexpression inside sigmoid. It’s hard to count brackets in your code. Please click my name and message the code for that method.