Inference code for MongoDB data
Activity Inference