CN106339505A - Music recommendation method based on Markov chain - Google Patents
Music recommendation method based on Markov chain Download PDFInfo
- Publication number
- CN106339505A CN106339505A CN201610851811.1A CN201610851811A CN106339505A CN 106339505 A CN106339505 A CN 106339505A CN 201610851811 A CN201610851811 A CN 201610851811A CN 106339505 A CN106339505 A CN 106339505A
- Authority
- CN
- China
- Prior art keywords
- scene
- matrix
- algorithm
- user
- sigma
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/635—Filtering based on additional data, e.g. user or group profiles
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention belongs to the field of computer technology recommendation, and relates to a music recommendation method based on a Markov chain. The main method provided by the method comprises the following steps of: generating a scene assembly; establishing a matching matrix of the scene assembly and a recommendation algorithm library; and updating the matching matrix in the step b by adopting the Markov chain. The music recommendation method has the beneficial effects that users and music are analyzed from different scenes, the oneness of the recommendation method of the existing music recommendation system can be overcome, the matching matrix of the scenes and the algorithm, and the updating algorithm of the matching matrix of the scenes and the algorithm based on the Markov chain are provided, and the algorithm matching problem and the real-time music recommendation problem based on the scene under scene difference can be solved.
Description
Technical field
The invention belongs to computer technology recommends method field, it is related to a kind of music based on markov chain and recommends method.
Background technology
With the rapid electronic music market emerging, how to optimize and manage, and recommend suitable music to user
It is the problem of an extremely important and rich challenge.Although the retrieval technique of music information is highly developed, music pushes away
System of recommending but also rests on the primary stage.
In recent years, due to the emergence of Chinese online music platform and the popularization of smart machine, lead to China Electronics's music
Market occurs in that long tail effect, and music itself also includes stronger emotion in addition.Therefore, traditional music recommendation algorithm has been
The demand of user cannot be met.As improvement, the music recommendation algorithm currently using is mainly collaborative filtering and based on interior
The proposed algorithm held.
But, find through actual investigation.Music and user's real-time scene present when listening to music have greatly
Dependency.Different scenes is needed to recommend using different proposed algorithms, the variability issues of scene could be solved.
Therefore, the matching problem of research scene and algorithm has real value.And because scene ceaselessly changes, algorithm is more
New speed is that comparison is slow, solves to recommend problem to be extremely important and have real value based on the optimum in real time music of scene
's., as being described under current information, the stochastic process of following possible variation tendency, for update algorithm and scene for markov chain
Coupling matrix be suitable.Therefore consider to solve the fraction of annual reporting law and scene matching matrix using the thought of markov chain more
Newly, to adapt to the change of increasingly faster scene.Using the more New Policy of markov chain, algorithm can be made to keep up with the section of scene update
Play, solve the problems, such as that optimum music is recommended in real time.
Content of the invention
The purpose of the present invention, it is simply that being directed to the problems referred to above, proposes a kind of music based on markov chain and recommends method.
The technical scheme is that a kind of music based on markov chain recommends method it is characterised in that including following walking
Rapid:
A. generate scene set: the multiple users of statistics listen to scene during music, and enter rower respectively to different scenes
Note, constitutes scene set using the multiple different scenes obtaining;
That b. sets up scene set and proposed algorithm storehouse mates matrix, specifically includes:
B1. described proposed algorithm storehouse is the set of existing music recommendation algorithm, then the expression formula of matrix m is as follows:
Wherein, x represents proposed algorithm, and y represents scene, and subscript n is numbered for scene, and subscript a is numbered for proposed algorithm, n and a
It is the natural number more than or equal to 1;
B2. assume that in each scene, number of users is fixed, a proposed algorithm is calculated for one using equation below
The score of the unique user in scene:
B3. the score according to unique user, calculates a proposed algorithm described in whole step b1 using equation below
Score for whole scene:
Wherein, n is total number of users under this scene;
B4. repeat step b2 and b3 are until obtain score under each scene for each algorithm, according to score and square
Battle array m sets up scene set and the score in proposed algorithm storehouse, and to mate matrix s as follows:
C. using the method for markov chain, the coupling matrix obtaining in step b is updated, method particularly includes:
C1. user is carried out drawing section on a time period: using k user above as first time period section, by kth+1 to k+
M user as second time period, the like, often increase newly same user, then enter step c2 update a reuse algorithm
Join matrix;
C2. the user to each section is it is assumed that the coupling matrix that t obtains is st, from t to t+1 moment, user couple
Change in scene preference, the probability changing adopts equation below to calculate:
Subscript i, j is the numbering of different scenes;
Using formula:
That is to say
st+1=st*t
Obtain the coupling matrix in t+1 moment, terminate to update.
Matrix s1 after renewal is as follows:
Beneficial effects of the present invention are from different scenes, user and music to be analyzed, and overcome existing music to push away
Recommend the unicity of the proposed algorithm of system it is proposed that the coupling matrix of scene and algorithm, and the scene based on markov chain and calculation
The update algorithm of the coupling matrix of method, solves under scene difference, the matching problem of algorithm and being pushed away based on the real-time music of scene
Recommend problem.
Brief description
Fig. 1 is the schematic flow sheet of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings, describe technical scheme in detail:
As shown in figure 1, the main flow of the present invention is:
A. generate scene set: the multiple users of statistics listen to scene during music, and enter rower respectively to different scenes
Note, constitutes scene set using the multiple different scenes obtaining;
That b. sets up scene set and proposed algorithm storehouse mates matrix, specifically includes:
B1. described proposed algorithm storehouse is the set of existing music recommendation algorithm, then the expression formula of matrix m is as follows:
Wherein, x represents proposed algorithm, and y represents scene, and subscript n is numbered for scene, and subscript a is numbered for proposed algorithm, n and a
It is the natural number more than or equal to 1;
B2. assume that in each scene, number of users is fixed, a proposed algorithm is calculated for one using equation below
The score of the unique user in scene:
B3. the score according to unique user, calculates a proposed algorithm described in whole step b1 using equation below
Score for whole scene:
Wherein, n is total number of users under this scene;
B4. repeat step b2 and b3 are until obtain score under each scene for each algorithm, according to score and square
Battle array m sets up scene set and the score in proposed algorithm storehouse, and to mate matrix s as follows:
Scene set mate with the score in proposed algorithm storehouse matrix s be also denoted as shown in table 1 below:
Table 1 scene set mates matrix s with the score in proposed algorithm storehouse
C. using the method for markov chain, the coupling matrix obtaining in step b is updated, method particularly includes:
C1. user is carried out drawing section on a time period: using k user above as first time period section, by kth+1 to k+
M user as second time period, the like, often increase newly same user, then enter step c2 update a reuse algorithm
Join matrix;
C2. the user to each section is it is assumed that the coupling matrix that t obtains is st, from t to t+1 moment, user couple
Change in scene preference, the probability changing adopts equation below to calculate:
Subscript i, j is the numbering of different scenes;
Transfer matrix t is represented by as shown in table 2 below:
Table 2 transfer matrix t
Using formula:
That is to say
st+1=st*t
Obtain the coupling matrix in t+1 moment, terminate to update.
Matrix s1 after renewal is as follows:
Claims (1)
1. a kind of music based on markov chain recommends method it is characterised in that comprising the following steps:
A. generate scene set: the multiple users of statistics listen to scene during music, and different scenes is marked respectively, adopt
Constitute scene set with the multiple different scenes obtaining;
B. set up the matrix that mates of scene set and proposed algorithm storehouse, described proposed algorithm storehouse is existing music recommendation algorithm
Set, then the expression formula of matrix m is as follows:
Wherein, x represents proposed algorithm, and y represents scene, and subscript n is numbered for scene, and subscript a is numbered for proposed algorithm, n and a is
Natural number more than or equal to 1;
B1. assume that in each scene, number of users is fixed, a proposed algorithm is calculated for a scene using equation below
In unique user score:
B2. the score according to unique user, using equation below calculate whole step b1 described in a proposed algorithm for
The score of whole scene:
Wherein, n is total number of users under this scene;
B3. repeat step b1 and b2, until obtaining score under each scene for each algorithm, build according to score and matrix m
It is as follows that position scape set and the score in proposed algorithm storehouse mate matrix s:
C. using the method for markov chain, the coupling matrix obtaining in step b is updated, method particularly includes:
C1. user is carried out drawing on a time period with section: using k user above as first time period section, by kth+1 to k+m
User as second time period, the like, often increase newly same user, then enter step c2 update a scene algorithmic match square
Battle array;
C2. the user to each section is it is assumed that the coupling matrix that t obtains is st, from t to the t+1 moment, user is for field
Scape preference changes, and the probability changing adopts equation below to calculate:
Subscript i, j is the numbering of different scenes;
Using formula:
That is to say
st+1=st*t
Obtain the coupling matrix in t+1 moment, terminate to update;
Matrix s1 after renewal is as follows:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610851811.1A CN106339505B (en) | 2016-09-27 | 2016-09-27 | A kind of music recommended method based on markov chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610851811.1A CN106339505B (en) | 2016-09-27 | 2016-09-27 | A kind of music recommended method based on markov chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106339505A true CN106339505A (en) | 2017-01-18 |
CN106339505B CN106339505B (en) | 2019-09-27 |
Family
ID=57839304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610851811.1A Expired - Fee Related CN106339505B (en) | 2016-09-27 | 2016-09-27 | A kind of music recommended method based on markov chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106339505B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108280165A (en) * | 2018-01-18 | 2018-07-13 | 四川大学 | Reward value music recommendation algorithm based on state transfer |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101826114A (en) * | 2010-05-26 | 2010-09-08 | 南京大学 | Multi Markov chain-based content recommendation method |
CN102982131A (en) * | 2012-11-16 | 2013-03-20 | 杭州东信北邮信息技术有限公司 | Book recommending method based on Markov chain |
CN104182449A (en) * | 2013-05-20 | 2014-12-03 | Tcl集团股份有限公司 | System and method for personalized video recommendation based on user interests modeling |
CN104572773A (en) * | 2013-10-27 | 2015-04-29 | 孟小勇 | Method for realizing personalized microblog scene |
CN104933595A (en) * | 2015-05-22 | 2015-09-23 | 齐鲁工业大学 | Collaborative filtering recommendation method based on Markov prediction model |
CN105183878A (en) * | 2015-09-22 | 2015-12-23 | 中国传媒大学 | Music classification recommending method based on Markov prediction algorithm |
CN105608154A (en) * | 2016-02-14 | 2016-05-25 | 广州网律互联网科技有限公司 | Hidden Markov chain model based intelligent recommendation algorithm |
CN105824912A (en) * | 2016-03-15 | 2016-08-03 | 平安科技(深圳)有限公司 | Personalized recommending method and device based on user portrait |
CN103150172B (en) * | 2013-04-02 | 2016-11-16 | 网易(杭州)网络有限公司 | A kind of method and apparatus realizing individual scene |
CN103888498B (en) * | 2012-12-21 | 2018-04-13 | 腾讯科技(深圳)有限公司 | Information-pushing method, device, terminal and server |
-
2016
- 2016-09-27 CN CN201610851811.1A patent/CN106339505B/en not_active Expired - Fee Related
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101826114A (en) * | 2010-05-26 | 2010-09-08 | 南京大学 | Multi Markov chain-based content recommendation method |
CN102982131A (en) * | 2012-11-16 | 2013-03-20 | 杭州东信北邮信息技术有限公司 | Book recommending method based on Markov chain |
CN103888498B (en) * | 2012-12-21 | 2018-04-13 | 腾讯科技(深圳)有限公司 | Information-pushing method, device, terminal and server |
CN103150172B (en) * | 2013-04-02 | 2016-11-16 | 网易(杭州)网络有限公司 | A kind of method and apparatus realizing individual scene |
CN104182449A (en) * | 2013-05-20 | 2014-12-03 | Tcl集团股份有限公司 | System and method for personalized video recommendation based on user interests modeling |
CN104572773A (en) * | 2013-10-27 | 2015-04-29 | 孟小勇 | Method for realizing personalized microblog scene |
CN104933595A (en) * | 2015-05-22 | 2015-09-23 | 齐鲁工业大学 | Collaborative filtering recommendation method based on Markov prediction model |
CN105183878A (en) * | 2015-09-22 | 2015-12-23 | 中国传媒大学 | Music classification recommending method based on Markov prediction algorithm |
CN105608154A (en) * | 2016-02-14 | 2016-05-25 | 广州网律互联网科技有限公司 | Hidden Markov chain model based intelligent recommendation algorithm |
CN105824912A (en) * | 2016-03-15 | 2016-08-03 | 平安科技(深圳)有限公司 | Personalized recommending method and device based on user portrait |
Non-Patent Citations (4)
Title |
---|
D. SEJAL ET AL: ""Image recommendation based on keyword relevance using absorbing Markov chain and image features"", 《SPRINGER》 * |
SEJAL D ET AL: ""IRAbMC : Image Recommendation with Absorbing Markov Chain"", 《IEEE》 * |
王剑 等: ""个性化e-Learning协作学习推荐系统研究"", 《中国远程教育》 * |
陈涛: ""面向移动终端的商品信息推荐系统架构设计"", 《开发案例》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108280165A (en) * | 2018-01-18 | 2018-07-13 | 四川大学 | Reward value music recommendation algorithm based on state transfer |
Also Published As
Publication number | Publication date |
---|---|
CN106339505B (en) | 2019-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109902171B (en) | Text relation extraction method and system based on hierarchical knowledge graph attention model | |
CN111241294B (en) | Relationship extraction method of graph convolution network based on dependency analysis and keywords | |
CN104035975B (en) | It is a kind of to realize the method that remote supervisory character relation is extracted using Chinese online resource | |
CN104081429B (en) | Video recommendations based on video co-occurrence statistics | |
CN103281581B (en) | By man-machine interactive system and the method for smart mobile phone Voice command IP Set Top Box | |
CN112784130A (en) | Twin network model training and measuring method, device, medium and equipment | |
CN106503106A (en) | A kind of image hash index construction method based on deep learning | |
EP3828719A3 (en) | Method and apparatus for generating model for representing heterogeneous graph node, electronic device, storage medium, and computer program product | |
CN103268339A (en) | Recognition method and system of named entities in microblog messages | |
CN108268441A (en) | Sentence similarity computational methods and apparatus and system | |
CN103778131B (en) | Caption query method and device, video player and caption query server | |
CN109271497B (en) | Event-driven service matching method based on word vector | |
CN102982107A (en) | Recommendation system optimization method with information of user and item and context attribute integrated | |
CN107589828A (en) | The man-machine interaction method and system of knowledge based collection of illustrative plates | |
CN103793501A (en) | Theme community discovery method based on social network | |
CN107230401A (en) | Utilize internet and the Teaching of Writing interactive system and implementation method of voice technology | |
CN104866517A (en) | Method and device for capturing webpage content | |
WO2007098087A3 (en) | Method for history matching a simulation model using self organizing maps to generate regions in the simulation model | |
Yang et al. | Learning to answer visual questions from web videos | |
CN107193882A (en) | Why not query answer methods based on figure matching on RDF data | |
CN104102630A (en) | Method for standardizing Chinese and English hybrid texts in Chinese social networks | |
CN109933809A (en) | A kind of interpretation method and device, the training method of translation model and device | |
CN108461080A (en) | A kind of Acoustic Modeling method and apparatus based on HLSTM models | |
CN102779161B (en) | Semantic labeling method based on resource description framework (RDF) knowledge base | |
CN104572915B (en) | One kind is based on the enhanced customer incident relatedness computation method of content environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190927 Termination date: 20200927 |
|
CF01 | Termination of patent right due to non-payment of annual fee |