Research Article

Using NearestGraph QoS Prediction Method for Service Recommendation in the Cloud

Algorithm 3

QoS prediction algorithm.
Input: : user-service matrix; : lowest ranking position; : degree of fusion prediction results
Output:
 1: for all   do
 2:  compute the similarity sim by Eq.(2)
 3:  compute the similarity sim by Eq.(3)
 4: end for
 5: for all   do
 6:  similar user set by Eq.(4)
 7:  similar service set by Eq.(5)
 8: end for
 9: Learn by applying Algorithm 1
 10: Learn by applying Algorithm 2
 11: for all   do
 12:  compute by Eq.(8)
 13:  compute by Eq.(9)
 14:  fill by Eq.(10)
 15: end for