CN104933595A - Collaborative filtering recommendation method based on Markov prediction model - Google Patents

Collaborative filtering recommendation method based on Markov prediction model Download PDF

Info

Publication number
CN104933595A
CN104933595A CN201510267993.3A CN201510267993A CN104933595A CN 104933595 A CN104933595 A CN 104933595A CN 201510267993 A CN201510267993 A CN 201510267993A CN 104933595 A CN104933595 A CN 104933595A
Authority
CN
China
Prior art keywords
user
prediction model
collaborative filtering
sim
similarity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510267993.3A
Other languages
Chinese (zh)
Inventor
王新刚
李承浩
刘嵩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qilu University of Technology
Original Assignee
Qilu University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qilu University of Technology filed Critical Qilu University of Technology
Priority to CN201510267993.3A priority Critical patent/CN104933595A/en
Publication of CN104933595A publication Critical patent/CN104933595A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a collaborative filtering recommendation method based on a Markov prediction model. The specific realization process is as follows: firstly, a user-personalized transferring matrix is obtained by using the Markov prediction model; secondly, the personalized matrix is processed by using tensor decomposition, namely standard decomposition, and the preference degree of a user to a project is analyzed; and finally, the collaborative recommendation is carried out on the basis and the recommended project is obtained. Compared to the prior art, the collaborative filtering recommendation method based on the Markov predication model sufficiently utilizes each piece of existing data, so that the relatively good recommendation effect can be generated; and the method is high in practicability and easy to popularize.

Description

A kind of collaborative filtering recommending method based on Markov prediction model
Technical field
The present invention relates to e-commerce field, specifically a kind of practical collaborative filtering recommending method based on Markov prediction model.
Background technology
Along with the development of ecommerce, personalized recommendation is subject to increasing user favor, thereby produce a lot of personalized recommendation algorithm, wherein Collaborative Filtering Recommendation Algorithm applies the most successfully one, its basic thought is: by the scoring of the score in predicting destination item of the neighborhood high with destination item similarity, thus produces final individual character recommendation.Along with the change of website structure, the increase of content complexity and increasing of user, how to improve the extensibility of algorithm and how to improve the recommendation quality of collaborative filtering, the subject matter of the systems face based on collaborative filtering. much different solutions is proposed for head it off researchist, under specific occasion, some algorithm can obtain good effect.As time-based data weight and item similarity-based data weight two kinds of improvement quantity algorithms, the dimension in minimizing project space, the project of user after dimensionality reduction is made spatially to have scoring to solve the openness problem of data, the preselected algorithm of the neighbour based on K-means clustering algorithm to each project.Although above-mentioned algorithm can be recommended accordingly, but it often only adopts score information, closely-related time sequence information and relation information are then left in the basket with it, effectively utilize these information can improve the precision of proposed algorithm further. and when score data is more sparse, there is various drawback, cause neighbourhood to gather inaccurate, thus affect the recommendation quality of commending system.
Existing many a lot of algorithms, in order to solve recommendation precision problem, have following several method: 1) based on the proposed algorithm of user (user-based).Based on the system that the recommend method of user constantly changes in the face of number of users, need the similarity matrix often recalculated between user, thus time complexity is high, and extensibility is poor.2) based on the proposed algorithm of project (item-based), website user's quantity constantly increases, the recommended number of entry then keeps relative stability, the item similarity matrix update frequency calculated is low, can use within long period of time. propose the proposed algorithm based on project (item-based) for this reason, but when number of entry Rapid Variable Design in commending system (online news is as recommended project), project-based algorithm is faced with scalability problem equally.
Based on this, the invention provides a kind of collaborative filtering recommending method based on Markov prediction model, pass through the method, the proposed algorithm of user and Markov prediction model, obtain the transition matrix of user interest, thus recommend the items of interest of user on this basis, algorithm simply and directly, and when Sparse, recommendation can be completed preferably.
Summary of the invention
Technical assignment of the present invention is for above weak point, provide a kind of practical, based on the collaborative filtering recommending method of Markov prediction model.
Based on a collaborative filtering recommending method for Markov prediction model, its specific implementation process is,
First Markov prediction model is utilized to obtain user individual transition matrix;
Then use tensor resolution, namely Standard Decomposition processes personalized matrix, analyzes user to the fancy grade of project;
Finally carry out Collaborative Recommendation on this basis, obtain recommended project thus.
The transition matrix construction process of described user is:
Structure Markov chain, is set to m=1 by the length of chain, tries to achieve user and buys l to the transition probability model buying i, then obtain the transition matrix of user.
The processing procedure of described personalized matrix is:
1) transition matrix obtained carries out tensor resolution;
2) then the formula of tensor resolution is combined with Markov model, obtain new transition matrix, use the similarity between associated similarity calculating user;
3) after calculating similarity, obtain the neighbours of user, thus adopt the method for collaborative filtering to recommend user.
Described step 2) in Similarity measures adopt following formula:
s i m ( u 1 , u 2 ) = Σ u ∈ C u 1 , u 2 ( R u 1 , i , j - R ‾ i ) ( R u 2 , i , j - R ‾ i ) Σ u ∈ C u 1 ( R u 1 , i - R ‾ i ) 2 Σ u ∈ C u 2 ( R u 2 , j - R ‾ j ) 2
Wherein: C u1, u2represent that user u1 and user u2 has the set of identical transfer item, R u1, i, jand R u2, i, jrepresent that user's previous step buys the probability of i and next step purchase j respectively, with represent that user buys the average probability of i, j respectively.
After using associated similarity to calculate the similarity between two two users, its result is kept at user's similarity matrix R_sim (N, N) in, this R_sim is N × N square formation, N represents N number of user, and the value of its element is that rotational symmetry distributes with principal diagonal, i.e. sim_ (k, m)=sim_ (m, k).
Described step 3) detailed process be:
What calculate user u does not purchase Item Sets N k=I-I k(1≤k≤M), I is Item Sets, I kfor user purchases Item Sets;
According to R simthe nearest-neighbors set U={u of (N, N) select target user u 1, u 2..., u p, make and sim (u, u 1) maximum, sim (u, u 2) take second place, by that analogy;
Calculate according to the set U of the nearest-neighbors p of targeted customer u and recommend collection accordingly:
Item Sets N is not purchased for user u kin each i, utilize the probability of following formula predictions user bought item:
P u , i = R u ‾ + Σ u k ∈ U s i m ( u , u k ) ( R u k , i - R u k ‾ ) Σ u k ∈ U ( | s i m ( u , u k ) | ) ;
Wherein sim (u, u k) represent user u and its nearest-neighbors user u kbetween comprehensive similarity, represent user u kto the purchase probability of project i, with represent user u, u respectively kto the average purchase probability of project;
To N kthe prediction probability of middle element sorts according to order from big to small, gets front p item design and recommends collection I rec={ i 1, i 2..., i p, recommend targeted customer u.
A kind of collaborative filtering recommending method based on Markov prediction model of the present invention, has the following advantages:
A kind of collaborative filtering recommending method based on Markov prediction model that the present invention proposes, Markov prediction model is combined with collaborative filtering, and in the process combined, tensor resolution is taken to sparse matrix, make full use of existing every bar data, thus good recommendation effect can be produced, practical, be easy to promote.
Accompanying drawing explanation
Accompanying drawing 1 is the purchase history lists of 4 users.
Accompanying drawing 2 is the transition matrix figure of user 1.
Accompanying drawing 3 is the transition matrix figure of user 2.
Accompanying drawing 4 is the transition matrix figure of user 3.
Accompanying drawing 5 is the transition matrix figure of user 4.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
The invention provides a kind of collaborative filtering recommending method based on Markov prediction model, the explanation of nouns related in the method is as follows:
Markov prediction model: be that in applied probability, markovian Theories and methods research random occurrence changes and a kind of model of analyses and prediction future trends whereby.
Collaborative filtering: be utilize certain to have similar tastes and interests, have the hobby of the colony of the common experience interested information of person of coming recommendation.
Recommend method: the project obtained by collaborative filtering (commodity) is recommended user.
In existing recommend method, the cold start-up problem of user, commodity is difficult problems, and the method generally used in recommend method is all collaborative filtering.This method of collaborative filtering builds user's commodity matrix, and then through similarity process, thus user is recommended.But when customer volume is huge, time commodity amount is equally also very large, user's commodity matrix is exactly a sparse matrix, and how the interested commodity of user that dope correct in sparse matrix are equally also difficult problems.And the information of the sequential ignored in classic method, thus user's commodity interested cannot be doped accurately, also cannot accurately for user recommends.
In method of the present invention, first utilize Markov prediction model to obtain user individual transition matrix, then with tensor resolution, personalized matrix is processed, analyze user to the fancy grade of project, and then Collaborative Recommendation is carried out on this basis, obtain better recommended project thus.
Based on this, specific implementation process of the present invention is:
First Markov prediction model is utilized to obtain user individual transition matrix;
Then use tensor resolution, namely Standard Decomposition processes personalized matrix, analyzes user to the fancy grade of project;
Finally carry out Collaborative Recommendation on this basis, obtain recommended project thus.
The transition matrix construction process of described user is:
Structure Markov chain, is set to m=1 by the length of chain, tries to achieve user and buys l to the transition probability model buying i, then obtain the transition matrix of user.
Based on this construction process, fig. 1 illustrates the example of a Continuous behavior.Existing 4 users bought article, and the article that system finally will be bought according to user are recommended.Time wherein in table is a kind of relative time.
Use after above-mentioned steps, the transition matrix of accompanying drawing 2, accompanying drawing 3, accompanying drawing 4, the user 1 shown in accompanying drawing 5, user 2, user 3 and user 4 can be obtained.
The processing procedure of described personalized matrix is:
1) transition matrix obtained carries out tensor resolution;
2) then the formula of tensor resolution is combined with Markov model, obtain new transition matrix, use the similarity between associated similarity calculating user;
3) after calculating similarity, obtain the neighbours of user, thus adopt the method for collaborative filtering to recommend user.
Described step 2) in Similarity measures adopt following formula:
s i m ( u 1 , u 2 ) = Σ u ∈ C u 1 , u 2 ( R u 1 , i , j - R ‾ i ) ( R u 2 , i , j - R ‾ j ) Σ u ∈ C u 1 ( R u 1 , i - R ‾ i ) 2 Σ u ∈ C u 2 ( R u 2 , j - R ‾ j ) 2
Wherein: C u1, u2represent that user u1 and user u2 has the set of identical transfer item, R u1, i, jand R u2, i, jrepresent that user's previous step buys the probability of i and next step purchase j respectively, with represent that user buys the average probability of i, j respectively.
After using associated similarity to calculate the similarity between two two users, its result is kept at user's similarity matrix R_sim (N, N) in, this R_sim is N × N square formation, N represents N number of user, and the value of its element is that rotational symmetry distributes with principal diagonal, i.e. sim_ (k, m)=sim_ (m, k).
Described step 3) detailed process be:
What calculate user u does not purchase Item Sets N k=I-I k(1≤k≤M), I is Item Sets, I kfor user purchases Item Sets;
According to R simthe nearest-neighbors set U={u of (N, N) select target user u 1, u 2..., u p, make and sim (u, u 1) maximum, sim (u, u 2) take second place, by that analogy;
Calculate according to the set U of the nearest-neighbors p of targeted customer u and recommend collection accordingly:
Item Sets N is not purchased for user u kin each i, utilize the probability of following formula predictions user bought item:
P u , i = R u ‾ + Σ u k ∈ U s i m ( u , u k ) ( R u k , i - R u k ‾ ) Σ u k ∈ U ( | s i m ( u , u k ) | ) ;
Wherein sim (u, u k) represent user u and its nearest-neighbors user u kbetween comprehensive similarity, represent user u kto the purchase probability of project i, with represent user u, u respectively kto the average purchase probability of project;
To N kthe prediction probability of middle element sorts according to order from big to small, gets front p item design and recommends collection I rec={ i 1, i 2..., i p, recommend targeted customer u.
Adopt said method, even if when user's commodity matrix is sparse especially, also final recommendation results can not be affected, because we adopt is transition matrix, and the decomposition of tensor has been carried out to it, also can well utilize each data.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; claims of any a kind of collaborative filtering recommending method based on Markov prediction model according to the invention and the those of ordinary skill of any described technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.

Claims (6)

1. based on a collaborative filtering recommending method for Markov prediction model, it is characterized in that, its specific implementation process is,
First Markov prediction model is utilized to obtain user individual transition matrix;
Then use tensor resolution, namely Standard Decomposition processes personalized matrix, analyzes user to the fancy grade of project;
Finally carry out Collaborative Recommendation on this basis, obtain recommended project thus.
2. a kind of collaborative filtering recommending method based on Markov prediction model according to claim 1, is characterized in that, the transition matrix construction process of described user is:
Structure Markov chain, is set to m=1 by the length of chain, tries to achieve user and buys 1 to the transition probability model buying i, then obtain the transition matrix of user.
3. a kind of collaborative filtering recommending method based on Markov prediction model according to claim 1, is characterized in that, the processing procedure of described personalized matrix is:
1) transition matrix obtained carries out tensor resolution;
2) then the formula of tensor resolution is combined with Markov model, obtain new transition matrix, use the similarity between associated similarity calculating user;
3) after calculating similarity, obtain the neighbours of user, thus adopt the method for collaborative filtering to recommend user.
4. a kind of collaborative filtering recommending method based on Markov prediction model according to claim 3, is characterized in that, described step 2) in Similarity measures adopt following formula:
Wherein: C u1, u2represent that user u1 and user u2 has the set of identical transfer item, R u1, i, jand R u2, i, jrepresent that user's previous step buys the probability of i and next step purchase j respectively, with represent that user buys the average probability of i, j respectively.
5. a kind of collaborative filtering recommending method based on Markov prediction model according to claim 4, it is characterized in that, after using associated similarity to calculate the similarity between two two users, its result is kept in user's similarity matrix R_sim (N, N), this R_sim is N × N square formation, N represents N number of user, and the value of its element is that rotational symmetry distributes with principal diagonal, i.e. sim_ (k, m)=sim_ (m, k).
6. a kind of collaborative filtering recommending method based on Markov prediction model according to claim 5, is characterized in that, described step 3) detailed process be:
What calculate user u does not purchase Item Sets N k=I-I k(1≤k≤M), I is Item Sets, I kfor user, oneself purchases Item Sets;
According to R simthe nearest-neighbors set U={u of (N, N) select target user u 1, u 2..., u p, make and sim (u, u 1) maximum, sim (u, u 2) take second place, by that analogy;
Calculate according to the set U of the nearest-neighbors p of targeted customer u and recommend collection accordingly:
Item Sets N is not purchased for user u kin each i, utilize the probability of following formula predictions user bought item:
Wherein sim (u, u k) represent user u and its nearest-neighbors user u kbetween comprehensive similarity, represent user u kto the purchase probability of project i, with represent user u, u respectively kto the average purchase probability of project;
To N kthe prediction probability of middle element sorts according to order from big to small, gets front p item design and recommends collection I rec={ i 1, i 2..., i p, recommend targeted customer u.
CN201510267993.3A 2015-05-22 2015-05-22 Collaborative filtering recommendation method based on Markov prediction model Pending CN104933595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510267993.3A CN104933595A (en) 2015-05-22 2015-05-22 Collaborative filtering recommendation method based on Markov prediction model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510267993.3A CN104933595A (en) 2015-05-22 2015-05-22 Collaborative filtering recommendation method based on Markov prediction model

Publications (1)

Publication Number Publication Date
CN104933595A true CN104933595A (en) 2015-09-23

Family

ID=54120751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510267993.3A Pending CN104933595A (en) 2015-05-22 2015-05-22 Collaborative filtering recommendation method based on Markov prediction model

Country Status (1)

Country Link
CN (1) CN104933595A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740401A (en) * 2016-01-28 2016-07-06 北京理工大学 Individual behavior and group interest-based interest place recommendation method and device
CN106339505A (en) * 2016-09-27 2017-01-18 电子科技大学 Music recommendation method based on Markov chain
CN108182273A (en) * 2018-01-23 2018-06-19 成都信达智胜科技有限公司 Network data processing method based on cloud storage
CN110751501A (en) * 2019-09-06 2020-02-04 平安科技(深圳)有限公司 Commodity shopping guide method, device, equipment and storage medium in new retail mode
CN112259193A (en) * 2020-10-09 2021-01-22 江苏大学 Drug-dropping state prediction method based on Markov chain
CN112784177A (en) * 2021-01-18 2021-05-11 杭州电子科技大学 Spatial distance adaptive next interest point recommendation method
CN113051463A (en) * 2019-12-26 2021-06-29 中移物联网有限公司 Project pushing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609533A (en) * 2012-02-15 2012-07-25 中国科学技术大学 Kernel method-based collaborative filtering recommendation system and method
CN103399858A (en) * 2013-07-01 2013-11-20 吉林大学 Socialization collaborative filtering recommendation method based on trust
CN103747523A (en) * 2014-01-14 2014-04-23 上海河广信息科技有限公司 User position predicating system and method based on wireless network
CN103793465A (en) * 2013-12-20 2014-05-14 武汉理工大学 Cloud computing based real-time mass user behavior analyzing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609533A (en) * 2012-02-15 2012-07-25 中国科学技术大学 Kernel method-based collaborative filtering recommendation system and method
CN103399858A (en) * 2013-07-01 2013-11-20 吉林大学 Socialization collaborative filtering recommendation method based on trust
CN103793465A (en) * 2013-12-20 2014-05-14 武汉理工大学 Cloud computing based real-time mass user behavior analyzing method and system
CN103747523A (en) * 2014-01-14 2014-04-23 上海河广信息科技有限公司 User position predicating system and method based on wireless network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曾子明、余小鹏: "《电子商务推荐系统与智能谈判技术》", 31 May 2008, 武汉大学出版社 *
李贵、吴炎、孙平等: "基于个性化马尔科夫链的推荐算法", 《计算机科学》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740401A (en) * 2016-01-28 2016-07-06 北京理工大学 Individual behavior and group interest-based interest place recommendation method and device
CN105740401B (en) * 2016-01-28 2018-12-25 北京理工大学 A kind of interested site recommended method and device based on individual behavior and group interest
CN106339505A (en) * 2016-09-27 2017-01-18 电子科技大学 Music recommendation method based on Markov chain
CN106339505B (en) * 2016-09-27 2019-09-27 电子科技大学 A kind of music recommended method based on markov chain
CN108182273A (en) * 2018-01-23 2018-06-19 成都信达智胜科技有限公司 Network data processing method based on cloud storage
CN110751501A (en) * 2019-09-06 2020-02-04 平安科技(深圳)有限公司 Commodity shopping guide method, device, equipment and storage medium in new retail mode
CN110751501B (en) * 2019-09-06 2023-08-22 平安科技(深圳)有限公司 Commodity shopping guide method, device, equipment and storage medium
CN113051463A (en) * 2019-12-26 2021-06-29 中移物联网有限公司 Project pushing method and system
CN113051463B (en) * 2019-12-26 2023-07-07 中移物联网有限公司 Project pushing method and system
CN112259193A (en) * 2020-10-09 2021-01-22 江苏大学 Drug-dropping state prediction method based on Markov chain
CN112784177A (en) * 2021-01-18 2021-05-11 杭州电子科技大学 Spatial distance adaptive next interest point recommendation method
CN112784177B (en) * 2021-01-18 2022-04-15 杭州电子科技大学 Spatial distance adaptive next interest point recommendation method

Similar Documents

Publication Publication Date Title
CN104933595A (en) Collaborative filtering recommendation method based on Markov prediction model
Sivapalan et al. Recommender systems in e-commerce
Cheng et al. Personalized click prediction in sponsored search
CN102629360B (en) A kind of effective dynamic commodity recommend method and commercial product recommending system
CN103617540B (en) E-commerce recommendation method of tracking user interest changes
CN108629665A (en) A kind of individual commodity recommendation method and system
CN106997358A (en) Information recommendation method and device
CN103544632A (en) Method and system for individually recommending network commodities
CN102902691A (en) Recommending method and recommending system
CN104281956A (en) Dynamic recommendation method capable of adapting to user interest changes based on time information
CN103886001A (en) Personalized commodity recommendation system
Kommineni et al. Machine learning based efficient recommendation system for book selection using user based collaborative filtering algorithm
CN103678518A (en) Method and device for adjusting recommendation lists
CN104615779A (en) Method for personalized recommendation of Web text
CN103353880B (en) A kind of utilization distinctiveness ratio cluster and the data digging method for associating
CN104298787A (en) Individual recommendation method and device based on fusion strategy
CN106157156A (en) A kind of cooperation recommending system based on communities of users
CN103309894A (en) User attribute-based search realization method and system
CN110197404A (en) The personalized long-tail Method of Commodity Recommendation and system of popularity deviation can be reduced
CN105023178A (en) Main body-based electronic commercere commendation method
Lu et al. Research on e-commerce customer repeat purchase behavior and purchase stickiness
Li et al. A Personalization Recommendation Algorithm for E-Commerce.
CN104915391A (en) Article recommendation method based on trust relationship
CN112801803B (en) Financial product recommendation method and device
Sun et al. A time-sensitive collaborative filtering model in recommendation systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150923