Putting artificial intelligence into wearable human-machine interfaces – towards a generic, self-improving controller