Recommendation method and system based on tree structure, medium and electronic equipment
A recommendation method and recommendation system technology, applied in the field of recommendation based on tree structure, can solve the problems that the TDM model is difficult to accurately describe the relationship between products and products, and it is difficult for users to recommend more suitable products, so as to improve expression ability and train efficient Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] like figure 1 As shown, a tree-based recommendation method includes the following steps:
[0049] S1. Generate a sequence of files from the historical data of the user's access to the commodity;
[0050] The historical data includes one or more items of the user's clicked product records, favorited product records, ordered product records, and product information. This historical data will be used as the data for item pre-training and the source data for neural network model training.
[0051] According to the time when the user accesses the product, the historical records of the user's clicks, favorites, and orders, such as product numbers and hotel numbers, are organized into a comma-separated sequence in order for the input of the glove model. The corresponding commodity information can also be used as part of the training data. Compared with the input data volume of the original TDM model, this historical record adds attributes such as commodity prices other than ...
Embodiment 2
[0075] A tree-based recommendation system, such as figure 2 shown, including:
[0076] Sequence file generation module 1, used to generate a sequence file from the historical data of the user's access to commodities;
[0077] The first training module 2 is used to train the sequence file through the glove model, so as to obtain the embedding vector of the commodity;
[0078] A tree model building module 3, configured to use the embedding vector to build a tree model of the commodity;
[0079] The tree model includes a parent node and a leaf node, and the embedding vector of the parent node is the mean or weighted mean of the leaf nodes.
[0080] A data set generation module 4, configured to generate a data set from the historical data according to the tree model;
[0081] In the data set, the commodities with positive feedback from each user are taken as positive samples, and the commodities that other users have not interacted with are sampled to generate negative samples...
Embodiment 3
[0088] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the tree-structure-based recommendation method provided in Embodiment 1 are implemented.
[0089] Wherein, the readable storage medium may more specifically include but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device or any of the above-mentioned the right combination.
[0090] In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program code, and when the program product runs on the terminal device, the program code is used to make the terminal device execute Steps of the tree structure-based recommendation method in Embodiment 1.
[0091] Wherein, the program code for executing the present invention can be written i...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com