Research Article

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

Algorithm 5

The workflow of O&M behavior buffer.
Input: The extracted user behavior informationiand j (user i accesses resource j),the audit tag,and the BUFFER_SIZE
Output: update the training set
1 Obtain the behavior information i, j
2 Set the default integration ratio as alpha=1
3if (tag=1) /audit feedback enters the buffer/
4   alpha = BUFFER_SIZE
5end if
6action[i][j] += alpha /statistics on behaviors in the buffer/
7user[i] += alpha/update the amount of user behavior/
8if (user[i]>BUFFER_SIZE)
9   Employ Formula (7) to update the information corresponding to user i in the training set
10     user(i)=0
11     action[i][j]=0
12end if