Towards complex activity recognition using a Bayesian network-based probabilistic generative framework. (August 2017)