You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've successfully executed all previous part of ex1, and now I'm trying to work on the feature normalization.
At the coding part, I calculated mu and sigma as (2, ) vectors and let X_norm = (X_norm - mu)/sigma with X_norm is a (47,2) matrix (i checked all these with .shape).
When I tried to execute the grading part, it returns this error: ValueError: operands could not be broadcast together with shapes (20,3) (2,)
Does anyone know what this (20,3) is? I'm pretty sure it's not because i executed the last "concatenate" cell because I tried to run the whole ex1 file again and it's still not working.
The text was updated successfully, but these errors were encountered:
Nvm. It seems the dataset used in the grading function is a different one (or maybe they inserted an extra vector), which is reasonable for the (20,3) matrix.
Hello,
I've successfully executed all previous part of ex1, and now I'm trying to work on the feature normalization.
At the coding part, I calculated mu and sigma as (2, ) vectors and let X_norm = (X_norm - mu)/sigma with X_norm is a (47,2) matrix (i checked all these with .shape).
When I tried to execute the grading part, it returns this error: ValueError: operands could not be broadcast together with shapes (20,3) (2,)
Does anyone know what this (20,3) is? I'm pretty sure it's not because i executed the last "concatenate" cell because I tried to run the whole ex1 file again and it's still not working.
The text was updated successfully, but these errors were encountered: