Abstract
When the traditional collaborative filtering algori- thm is applied to drug recommendation, the recommendation effect is not good due to the sparsity of data. In view of the above problems, this paper proposes a collaborative filtering recommendation algorithm based on user behavior and drug semantics (UBDS-CF). Firstly, we construct the purchasing behavior matrix of users and drugs, and use the weighted cosine similarity to calculate the basic similarity between drugs; then construct the category label matrix of drugs, calculate the category similarity, and extract the feature vector of drug function text using the word vector model; category and main function together constitute the drug semantic information; finally, the above two similarities are integrated in a linear weighted manner to obtain the final similarity of drugs. Experimental results show that the average absolute error and root mean square error of the algorithm are significantly reduced, which proves the effectiveness of the proposed algorithm.
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.