Research Article

A Collaborative Location Based Travel Recommendation System through Enhanced Rating Prediction for the Group of Users

Algorithm 1

Input: (set of users), (User Location), (set of location categories), (Rating
Matrix), (weighted location based social network), (specific user/target user)
(to be recommended category of location)
Output: (predicted rating for category of location)
  assign ; // step of the trust walk
  assign = ; // assigning the initial point of the trust walk as
  assign extreme_depth ; // allocation of maximum steps for trust walk
  assign ratex = ;
  if ( 0)
     
     CUL user_location_category ()
     
  while ( extreme_depth)
  
     user = ChooseUser(user); //choose next_node from Trusted_User_Set
      as next step's target as per the probability calculated by the
      function (next_node)
    if ( has rated // == )
     
     ratex = ratex ;
     return ratex;
     
    else
    
     if (random(0,1) Random_Probability_of_TrustWalk //
      == extreme_depth) //end at present node
      
       = choose_location_category(user); //location category is choosed from
      Rated_Location_Category based on the
      probability of Rating_probability ()
         ratex = ratex ;
         return ratex;
      
      else
         ++;
    
  
  return ratex;