Hwk2 # Visualize training and validation data

Hwk2 # Visualize training and validation data

by Lucie Alice Hoffmann -
Number of replies: 2

Hi,

At the entry[15], # Visualize training and validation data, I get this error and I can't figure out where it's coming from :

In reply to Lucie Alice Hoffmann

Re: Hwk2 # Visualize training and validation data

by Timoté Vaucher -

Hello,

Seems like `norm_training_features` has a different dimension than `training_labels`that is used for indexing.

But considering that your training features has dimension on axis 0 of 937 (which is the size of the complete set) whereas you should have it of dim 937*`training_perc` (which already is the size of your `training_label` ndarray). So I suggest checking where you define `norm_training_features` and check that you're normalizing the right features ndarray ;p

Cheers,

Tim.