Anomaly and Activity Recognition Using Machine Learning Approach for Video Based Surveillance | Synapse