here is the code :
# Split data in the ratio 70-30 for training and validation. x_train = np.concatenate((abnormal_scans[:10], normal_scans[:30]), axis=0) y_train