{'fraction_non_alphanumeric': 0.017587939698492462, 'fraction_numerical': 0.0, 'mean_word_length': 5.565934065934066, '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}}
Social Regularized Collaborative Metric Learning

In recommender systems, Collaborative Metric Learning (CML) which learns a joint metric space to encode not only users' preferences but also the user-user and item-item similarity has achieved superior performance in comparison with matrix factorization techniques. However, how to integrate social information into metric learning based recommendation models to cope with the challenges of data sparsity remains as an open issue. For this, we present a Social Regularized Collaborative Metric Learning model (SRCML) for item recommendation. SRCML first defines a similarity function which integrates social preferences and rating preferences to measure user similarity, and then constructs a regularization component to reconstruct the loss function of collaborative metric learning, so that users with similar hobbies are closer to each other in the metric space. At the same time, the metric function that measures the distance between the users and the items is optimized. Finally, a model learning method based on gradient descent is given. Extensive experiments show that SRCML can improve the accuracy and recall rate of recommendations.