Research Article

A Collaborative Filtering Method for Operation Maintenance Behavior in Power Monitoring Systems

Algorithm 4

The workflow of abnormal behavior recognition algorithm.
Input: User modelX, resource model Y, abnormal behavior discrimination threshold T, and the extracted user behavior informationi and j (User i accesses Resource j)
Output: 1 /0; 1 indicates the normal behavior, and 0 the abnormal behavior
1 Extract vector Xi in the ith column of user model and vectorYjin thejth column of resource model
2p = Xi(Yj)T /p represents the prediction probability, which is obtained by computing the inner product of vectors XiandYj/
3if(p>T)
4 Output 1
5else
6 Output 0
7end if