Matlab Autoencoder Feature Extraction Python Interview Question