An undercomplete autoencoder to extract muscle synergies for motor intention detection