Unsupervised learning in computer aided macroelectromyography