Research Article
A Service Recommendation Method Based on Requirements for the Cloud Environment
| Input: dataset | | Output: a recommendation list including services | | (1) | Construct user communities via Algorithm 1; | | (2) | Find the community that the target user belongs to; | | (3) | for each user () in do | | (4) | Obtain the similarity using (3); | | (5) | end for | | (6) | Obtain neighboring users with higher similarity from ; | | (7) | services that the users interact with; | | (8) | Remove the services with lower ratings from to obtain ; | | (9) | for each service in do | | (10) | Obtain the requirement vectors and () using (4); | | (11) | Calculate the matching degrees and () using (5); | | (12) | Calculate the predicted rating of the th dimension QoS using (6); | | (13) | end for | | (14) | Sort the predicted ratings of all services in in descending order, and select the first services to form a list of recommendations. |
|