Skip to content

Error in 3.1 Feature Normalization part (ex1) #95

@toukode13

Description

@toukode13

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions