Creating a dataset from 2d matrices
Creating a dataset from 2d matrices Question: I have a series of 2d matrices like these two: matrix_1 = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) matrix_2 = np.array([[10, 11, 12], [13, 14, 15], [16, 17, 18]]) And Each matrix has a label like: labels = np.array([0, 1]) I want to make a …