added the parameters to train sparse autoencoder