“…Common models are HMMs [34,38,41,55,62], Bayesian networks [12,59], context free grammars [56]. and other graphical model [36,49,57]. As for the classification stage, it is either used to recognize pre-defined patterns of activity [8,10,16,23,28,47,49,60,61] (useful for counting [16.52]) or detect anomalies by flagging everything that deviates from what has been previously learned [5,14,25,39,41,42,45].…”