Project - Building Cat vs Non-Cat Image Classifier using NumPy and ANN

11 / 32

Cat vs Non-cat Classifier - Shape of the data

Let us take a look at the shape of the train set, validation set, and test set.

INSTRUCTIONS
  • Print the shape of both train_set_x_orig and train_set_y_orig

    print("train_set_x shape: ", train_set_x_orig.shape)
    print("train_set_y shape: ", train_set_y_orig.shape)
    
  • Print the shape of both validation_x and validation_y

    print("Validation data size: ", << your code comes here >>)
    print("Validation data size: ", << your code comes here >>)
    
  • Print the shape of both test_set_x and test_set_y

    print("test_set_x shape: ", << your code comes here >>)
    print("test_set_y shape: ", << your code comes here >>)
    
Get Hint See Answer


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...