Adaptive Bayesian inference system for recognition of walking activities and prediction of gait events using wearable sensors. (June 2018)