{'fraction_non_alphanumeric': 0.016376663254861822, 'fraction_numerical': 0.0, 'mean_word_length': 5.608108108108108, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Bayesian Personalized Ranking Algorithm Based on Tag Preference

Bayesian Personalized Recommendation algorithm assumes that users prefer the browsed items to the items they have not browsed. This paper identifies users' preferences on items they have not browsed by social tag information. By defining a metric of matching degrees between users and items based on social tags, this paper classifies users' preferences into three types, such as tag-based strong feedback, tag-based weak feedback and negative feedback. We assume that users' preferences for the three kinds of feedback are gradually decreased. A Bayesian personalized ranking algorithm is then proposed based on the preference classification. Experiments on real social tag datasets show that the proposed Bayesian personalized ranking algorithm based on social tags obtains better recommendation results compared with the classical ranking algorithm, especially for sparse data and cold-start recommendation.