train_set_x_orig, train_set_y, test_set_x_orig, test_set_y, classes = load_dataset() what this line means code example

Example 1: Logistic Regression with a Neural Network mindset python example

import numpy as np
import matplotlib.pyplot as plt
import h5py
import scipy
from PIL import Image
from scipy import ndimage

%matplotlib inline

Example 2: Logistic Regression with a Neural Network mindset python example

- a training set of m_train images labeled as cat (y=1) or non-cat (y=0)
- a test set of m_test images labeled as cat or non-cat
- each image is of shape (num_px, num_px, 3) where 3 is for the 3 channels (RGB). Thus, each image is square (height = num_px) and (width = num_px).

Example 3: Logistic Regression with a Neural Network mindset python example

y = [1], it's a 'cat' picture.