To read in the data, use: import numpy as np data = np.load("assignment7.npz") # The data that you will read in scores_small = data['scores_small'] scores_large = data['scores_large'] labels_small = data['labels_small'] labels_large = data['labels_large']