Research Article

HomeGuardian: Detecting Anomaly Events in Smart Home Systems

Algorithm 1

Environmental Context Feature Extraction.
Input:, , ,
Output:
 /* compute similarity of word vector, build correlation matrix */
fordo
   fordo
     
     ifthen
       
     else
       
 /* build feature vector */
 /* remove 0 values*/
forindo
   ifthen
     
return