An activity monitoring system for elderly care using generative and discriminative models | Synapse