BAR: Bayesian Activity Recognition using variational inference