[go: up one dir, main page]

CN111695040A - A fashion product recommendation method, system and device based on emotion tags - Google Patents

A fashion product recommendation method, system and device based on emotion tags Download PDF

Info

Publication number
CN111695040A
CN111695040A CN202010537197.8A CN202010537197A CN111695040A CN 111695040 A CN111695040 A CN 111695040A CN 202010537197 A CN202010537197 A CN 202010537197A CN 111695040 A CN111695040 A CN 111695040A
Authority
CN
China
Prior art keywords
fashion
score
user
emotion
recommendation
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
Application number
CN202010537197.8A
Other languages
Chinese (zh)
Other versions
CN111695040B (en
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.)
Shaanxi Normal University
Original Assignee
Shaanxi Normal University
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 Shaanxi Normal University filed Critical Shaanxi Normal University
Priority to CN202010537197.8A priority Critical patent/CN111695040B/en
Publication of CN111695040A publication Critical patent/CN111695040A/en
Application granted granted Critical
Publication of CN111695040B publication Critical patent/CN111695040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Recommending goods or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种基于情感标签的时尚品推荐方法、系统及装置,该方法主要根据时尚品的流行程度和时尚品的总权重分值,为用户推荐符合当下流行风格,同时又满足自身偏好的时尚品。该方法包括:获取用户的评分信息和情感标签信息;根据用户的情感标签信息,建立用户情感字典;获取时尚品信息,根据时尚品生命周期计算流行得分;根据相似用户的时尚品推荐分数进行推荐时尚品;本发明不仅考虑用户对时尚品的评分的客观反馈,同时通过时尚品的情感标签补充了用户的反馈,能够更加准确的把握用户的偏好,提高推荐的性能;通过预测时尚品的生命周期,根据时尚品随时间流行程度的变化,能够推荐给用户既符合用户自身偏好又符合当下流行风格的时尚品。

Figure 202010537197

The invention discloses a fashion product recommendation method, system and device based on emotional tags. The method mainly recommends to users according to the popularity of fashion products and the total weight score of fashion products that conform to the current fashion style and satisfy their own preferences. of fashion items. The method includes: acquiring user's rating information and emotion tag information; establishing a user emotion dictionary according to the user's emotion tag information; acquiring fashion product information, and calculating a popularity score according to the fashion product life cycle; recommending fashion products based on similar users' fashion product recommendation scores Fashion products; the present invention not only considers the objective feedback of users' ratings on fashion products, but also supplements the user's feedback through emotional tags of fashion products, which can more accurately grasp the user's preference and improve the performance of recommendation; by predicting the life of fashion products Cycle, according to the change of the popularity of fashion products over time, it can recommend to users fashion products that meet both the user's own preference and the current fashion style.

Figure 202010537197

Description

一种基于情感标签的时尚品推荐方法、系统及装置A fashion product recommendation method, system and device based on emotion tags

技术领域technical field

本发明涉及计算机技术中的推荐系统领域,具体涉及一种基于情感标签的时尚品推荐方法、系统及装置。The invention relates to the field of recommendation systems in computer technology, in particular to a method, system and device for recommending fashion products based on emotion tags.

背景技术Background technique

时尚品推荐过程中,最主要考虑的是如何推荐出既符合当下流行风格又符合用户自身偏好的时尚品。时尚品具有不同的生命周期,一旦时尚品推向市场,则流行度会随着时间而变化,并且过了时尚品的生命周期之后,最终会被新的时尚品替代。而对时尚品添加的情感标签,从一定程度上反映了用户对时尚品的情感偏好。因此,基于情感标签的时尚品推荐方法是根据时尚品的流行程度和时尚品的总权重的分值,为用户推荐符合当下流行风格,同时又满足自身偏好的时尚品。In the process of fashion product recommendation, the most important consideration is how to recommend fashion products that meet both the current fashion style and the user's own preferences. Fashion products have different life cycles. Once a fashion product is introduced to the market, its popularity will change over time, and after the life cycle of a fashion product, it will eventually be replaced by a new fashion product. The emotional tags added to fashion products reflect the user's emotional preference for fashion products to a certain extent. Therefore, the fashion product recommendation method based on emotional tags is to recommend fashion products that conform to the current fashion style and satisfy their own preferences according to the popularity of fashion products and the score of the total weight of fashion products.

发明内容SUMMARY OF THE INVENTION

为了解决上述问题,本发明提供一种基于情感标签的时尚品推荐方法、系统及装置,根据时尚品的生命周期和情感标签所反映的用户自身的偏好,推荐相应的时尚品。In order to solve the above problems, the present invention provides a fashion product recommendation method, system and device based on emotion tags, which recommends corresponding fashion items according to the life cycle of the fashion items and the user's own preferences reflected by the emotion tags.

为了达到上述目的,本发明所采用的技术方案为:一种基于情感标签的时尚品推荐方法,其方法包括以下步骤:In order to achieve the above purpose, the technical solution adopted in the present invention is: a method for recommending fashion products based on emotional tags, the method comprising the following steps:

S1,对用户已购买的时尚品,获取用户对该时尚品的评分信息和添加标签的情感分值;对用户已浏览的时尚品,获取所添加标签的情感分值;S1, for the fashion products that the user has purchased, obtain the user's rating information for the fashion products and the emotional score of the added tags; for the fashion products that the user has browsed, obtain the emotional scores of the added tags;

S2,建立用户的情感词典;S2, establish the user's emotional dictionary;

S3,获取时尚品的信息,时尚品信息至少包括预测的时尚品生命周期,根据所述时尚品生命周期计算得到时尚品的流行分数;S3, obtain the information of the fashion product, the fashion product information at least includes the predicted life cycle of the fashion product, and calculate the popularity score of the fashion product according to the life cycle of the fashion product;

S4,根据S1用户对时尚品的评分信息和标签的情感分值,计算出时尚品总权重分数并排序,得到时尚品总权重分数排序列表;时尚品总权重分数计算过程如下:S4, according to the S1 user's rating information for fashion products and the emotional score of the label, calculate the total weight score of fashion products and sort them, and obtain a ranking list of the total weight score of fashion products; the calculation process of the total weight score of fashion products is as follows:

计算基于评分信息的时尚品权重分数;Calculate the weighted score of fashion products based on the scoring information;

计算基于情感的时尚品权重分数;Calculate sentiment-based fashion weighting scores;

时尚品总权重分数=(1-α)*基于评分信息的时尚品总权重分数+α*基于情感的时尚品权重分数;The total weighted score of fashion products=(1-α)*the total weighted score of fashion products based on rating information+α*the weighted score of fashion products based on emotion;

S5,基于S4所得每个用户的时尚品总权重分数,利用每位用户u的标签总权重分值,计算每位用户的平均总权重分值μu,再利用相似度原理计算Pearson相关系数,得到用户u的相似用户v的排序列表;S5, based on the total weight score of each user's fashion products obtained in S4, using the total weight score of each user u to calculate the average total weight score μ u of each user, and then using the similarity principle to calculate the Pearson correlation coefficient, Get a sorted list of similar users v of user u;

S6,根据S4所得用户的时尚品权重分数结果和S3所得时尚品的流行分数,计算得到时尚品推荐分数并排序,得到推荐分数排序列表;S6, according to the user's fashion product weight score result obtained in S4 and the fashion product popularity score obtained in S3, calculate the fashion product recommendation score and sort it, and obtain a recommendation score ranking list;

时尚品推荐分数=流行分数*时尚品总权重分数Fashion product recommendation score = popular score * total weight score of fashion products

按照步骤5所得到的相似用户排序列表,从时尚品推荐分数列表中推荐时尚品给相似用户。According to the sorted list of similar users obtained in step 5, fashion items are recommended to similar users from the list of fashion item recommendation scores.

S2中,所述用户的情感词典,是记录用户添加过的情感标签以及情感分值,由用户随时增加和删除情感标签,以及修改情感分值。In S2, the user's emotional dictionary records the emotional tags and emotional scores added by the user, and the user can add and delete emotional tags at any time, and modify the emotional scores.

S3中,所述时尚品的信息还包括发行日期、品牌和价格。In S3, the information of the fashion item further includes release date, brand and price.

S3中,时尚品的流行分数:In S3, the popularity score of fashion items:

Figure BDA0002537414530000021
Figure BDA0002537414530000021

其中:T为预测的时尚品生命周期,t为时尚品发行后的天数,随着发行天数的增加,时尚品的流行分数越来越低,FScore最小值为0,对于经典款的时尚品,其流行分数恒为1。Among them: T is the predicted life cycle of fashion products, t is the number of days after the release of fashion products, as the number of days of release increases, the popularity score of fashion products is getting lower and lower, and the minimum value of F Score is 0. For classic fashion products , and its popularity score is always 1.

S4中,基于评分信息的时尚品权重分数计算:In S4, the weighted score calculation of fashion products based on the scoring information:

Figure BDA0002537414530000031
Figure BDA0002537414530000031

其中ru,i是用户为时尚品的评分值,ru,i(h)用户为时尚品i添加的标签h的标准化评分值,将每个用户的评分矢量化,然后将其归一化为单位矢量:where r u,i is the user's rating value for fashion items, r u,i (h) the normalized rating value of the label h added by the user for fashion item i, vectorize each user's rating, and then normalize it is a unit vector:

Figure BDA0002537414530000032
Figure BDA0002537414530000032

I是用户评分过的所有时尚品的总数量。I is the total number of all fashion items rated by users.

S4中,基于情感的时尚品权重分数计算如下:In S4, the sentiment-based fashion weight score is calculated as follows:

(1)删除标签中包含的特殊字符;(1) Delete the special characters contained in the label;

(2)移除标签中的专有名词;(2) Remove proper nouns in labels;

(3)计算标签的情感分值,使用用户的情感词典来计算标签的情感分值,如果标签存在于用户的情感词典中,则使用情感词典中的分值作为标签的情感分值:(3) Calculate the sentiment score of the label, use the user's sentiment dictionary to calculate the sentiment score of the label, if the label exists in the user's sentiment dictionary, use the score in the sentiment dictionary as the label's sentiment score:

we(hu,i)=EmotionScore(hu,i)w e (hu ,i )=EmotionScore(hu ,i )

其中EmotionScore(hu,i)是情感词典中标签hu,i的情感值,如果情感字典中包含该标签,则该标签的情感分值为情感字典中的情感分值;Where EmotionScore(h u,i ) is the sentiment value of the label hu, i in the sentiment dictionary, if the sentiment dictionary contains the label, the sentiment score of the label is the sentiment score in the sentiment dictionary;

如果同时有多个标签存在于用户的情感词典中,则根据多个标签的情感值来计算情感分值:If multiple tags exist in the user's sentiment dictionary at the same time, the sentiment score is calculated according to the sentiment values of multiple tags:

Figure BDA0002537414530000033
Figure BDA0002537414530000033

其中set是由多个标签组成的集合,|set|是集合中所有标签的个数,|setemotion|是集合中情感标签的个数。where set is a set consisting of multiple tags, |set| is the number of all tags in the set, and |set emotion | is the number of emotion tags in the set.

S5中,利用每位用户u的标签总权重分值,计算每位用户的平均总权重分值μuIn S5, use the total weight score of each user u to calculate the average total weight score μ u of each user:

Figure BDA0002537414530000041
Figure BDA0002537414530000041

Iu表示已被用户u评价的时尚品的序号集合;Pearson相关系数可以用来衡量用户u和用户v之间的评分向量的相似度Sim(u,v),用户(行)u和v之间的Pearson相关系数定义如下:I u represents a set of serial numbers of fashion items that have been evaluated by user u; the Pearson correlation coefficient can be used to measure the similarity of the rating vector between user u and user v Sim(u, v), the difference between user (row) u and v The Pearson correlation coefficient between is defined as follows:

Figure BDA0002537414530000042
Figure BDA0002537414530000042

其中Iu∩Iv是用户u和用户v均已知的标签总权重分值集合。where I u ∩ I v is the set of total tag weight scores known to both user u and user v.

一种时尚品推荐系统,包括:信息获取模块,用于获取用户对该时尚品的评分信息和添加标签的情感分值、获取用户的情感词典以及获取时尚品的信息;A fashion product recommendation system, comprising: an information acquisition module, used for obtaining the user's rating information for the fashion product and the emotional score value of the added tag, obtaining the user's emotional dictionary and obtaining the information of the fashion product;

数据处理模块,基于用户对该时尚品的评分信息和添加标签的情感分值、获取用户的情感词典以及时尚品的信息计算得到:基于评分信息的时尚品权重分数、基于情感的时尚品权重分数、时尚品总权重分数、时尚品的流行分数、时尚品推荐分数以及时尚品推荐分数列表;基于用户对时尚品的总权重分数,利用相似度原理计算得到相似用户;The data processing module is calculated based on the user's rating information for the fashion item and the sentiment score added to the tag, and obtains the user's sentiment dictionary and information about the fashion item: the fashion item weight score based on the rating information, and the emotion-based fashion item weight score , the total weight score of fashion products, the popularity score of fashion products, the fashion product recommendation score and the list of fashion product recommendation scores; based on the user's total weight score of fashion products, similar users are calculated using the similarity principle;

推荐模块,基于时尚品推荐分数、时尚品推荐分数列表和相似用户,向相似用户进行时尚品推荐。The recommendation module recommends fashion items to similar users based on the fashion item recommendation score, the fashion item recommendation score list and similar users.

一种时尚品推荐装置,包括处理器、存储器、信息获取装置以及推荐结果输出装置,处理器与存储器通过I/O接口连接,信息获取装置连接处理器输入端,推荐结果输出装置连接处理器的输出端;存储器存储可执行计算机程序,处理器在执行所述可执行计算机程序够执行本发明所述的时尚品推荐方法,并将推荐结果通过推荐结果输出装置展示。A fashion product recommendation device, comprising a processor, a memory, an information acquisition device and a recommendation result output device, the processor and the memory are connected through an I/O interface, the information acquisition device is connected to the input end of the processor, and the recommendation result output device is connected to the processor. The output end; the memory stores an executable computer program, and the processor can execute the fashion product recommendation method of the present invention when the executable computer program is executed, and display the recommendation result through the recommendation result output device.

与现有技术相比,本发明至少具有以下有益效果:本发明不仅考虑用户对时尚品的评分的客观反馈,同时通过时尚品的情感标签补充了用户的反馈,能够更加准确的把握用户的偏好,提高推荐的性能;通过预测时尚品的生命周期,根据时尚品随时间流行程度的变化,能够推荐给用户既符合用户自身偏好又符合当下流行风格的时尚品;利用情感词典可以十分方便的管理和维护用户添加的情感标签,能够根据用户的情感偏好变化,快速的调整要推荐的时尚品。Compared with the prior art, the present invention has at least the following beneficial effects: the present invention not only considers the objective feedback of the user's rating on the fashion product, but also supplements the user's feedback through the emotional label of the fashion product, and can more accurately grasp the user's preference. , to improve the performance of recommendation; by predicting the life cycle of fashion products, according to the changes in the popularity of fashion products over time, it can recommend to users fashion products that meet both the user's own preference and the current popular style; the use of emotion dictionary can be very convenient to manage And maintain the emotional tag added by the user, which can quickly adjust the recommended fashion products according to the user's emotional preference changes.

附图说明Description of drawings

图1为基于情感标签的时尚品推荐流程图。Figure 1 is a flow chart of fashion product recommendation based on emotion tags.

具体实施方式Detailed ways

结合图1对本发明的实施方式进行如下说明。Embodiments of the present invention will be described below with reference to FIG. 1 .

基于情感标签的时尚品推荐方法,有以下具体步骤:The fashion product recommendation method based on emotion tags has the following specific steps:

步骤1,对用户已购买的时尚品,获取用户对该时尚品的评分信息和添加标签的情感分值;对用户已浏览的时尚品,获取所添加标签的情感分值;情感分值的范围为-1到1,情感分值为负数则代表用户是消极的情感,越接近-1,则消极的情感程度越深;情感值为正数则代表用户是积极的情感,越接近1,则积极的情感程度越深。Step 1: For the fashion items that the user has purchased, obtain the user's rating information for the fashion item and the sentiment score of the added tag; for the fashion item that the user has browsed, obtain the sentiment score of the added tag; the range of the sentiment score From -1 to 1, a negative sentiment score indicates that the user has a negative sentiment. The closer it is to -1, the deeper the negative sentiment; a positive sentiment value indicates that the user has a positive sentiment, and the closer it is to 1, the The higher the level of positive emotion.

步骤2,建立用户的情感词典;记录用户添加过的情感标签以及情感分值,可以随时增加和删除情感标签,以及修改情感分值。Step 2, establishing an emotion dictionary of the user; recording the emotion tags and emotion scores added by the user, and adding and deleting emotion tags and modifying emotion scores at any time.

步骤3,获取时尚品的信息,时尚品信息包括预测的时尚品生命周期、品牌和价格;如果发行的是月度时尚品,则时尚品的生命周期预测为30天;如果发行的是季度时尚新品,则时尚品的生命周期预测为90天;如果发行的是年度时尚新品,则时尚品的生命周期预测为365天。Step 3: Obtain the information of the fashion product, the fashion product information includes the predicted life cycle, brand and price of the fashion product; if the monthly fashion product is issued, the life cycle of the fashion product is predicted to be 30 days; if the quarterly fashion product is released , the life cycle of the fashion product is predicted to be 90 days; if the annual fashion product is released, the life cycle of the fashion product is predicted to be 365 days.

根据时尚品的生命周期,计算得到时尚品的流行分数:According to the life cycle of fashion products, the popularity score of fashion products is calculated:

Figure BDA0002537414530000061
Figure BDA0002537414530000061

其中:T为预测的时尚品生命周期,t为时尚品发行后的天数。随着发行天数的增加,时尚品的流行分数越来越低,FScore最小值为0;对于经典款的时尚品,其流行分数恒为1。Among them: T is the predicted life cycle of fashion products, and t is the number of days after the fashion products are released. With the increase of release days, the popularity score of fashion products is getting lower and lower, and the minimum value of F Score is 0; for classic fashion products, its popularity score is always 1.

步骤4,根据步骤1用户对时尚品的评分信息和添加标签的情感分值,计算出时尚品总权重分数并排序;Step 4, according to the user's rating information of the fashion product in step 1 and the emotional score of the added tag, calculate the total weight score of the fashion product and sort it;

时尚品总权重分数计算步骤及方法为:The calculation steps and methods of the total weight score of fashion products are as follows:

1、基于评分信息的时尚品权重分数计算:1. Calculation of fashion product weight score based on scoring information:

Figure BDA0002537414530000062
Figure BDA0002537414530000062

其中ru,i是用户为时尚品的评分值。ru,i(h)用户为时尚品i添加的标签h的标准化评分值。如果使用原始评分作为标签权重,则可能会出现偏差,因为给时尚品的评分范围,随不同的用户而不同。所以将每个用户的评分矢量化,然后将其归一化为单位矢量:where r u,i is the user's rating value for fashion items. r u,i (h) The normalized rating value of the label h added by the user for fashion item i. If raw ratings are used as label weights, there may be a bias, as the range of ratings given to fashion items varies from user to user. So vectorize each user's rating, then normalize it to a unit vector:

Figure BDA0002537414530000063
Figure BDA0002537414530000063

2、基于情感的时尚品权重分数计算:2. Emotion-based fashion weight score calculation:

基于情感的时尚品权重分数,通过标签的情感值来体现,为了获得情感分值,对每个标签执行以下步骤:Sentiment-based weighted scores for fashion items, represented by the sentiment value of the tag, to obtain the sentiment score, perform the following steps for each tag:

(1)删除标签中包含的特殊字符;(1) Delete the special characters contained in the label;

(2)移除标签中的专有名词。专有名词并不能准确的反映出情绪,所以在计算情感分值时将专有名词移除;(2) Remove proper nouns in labels. Proper nouns do not accurately reflect sentiment, so the proper nouns are removed when calculating sentiment scores;

(3)计算标签的情感分值。使用用户的情感词典来计算标签的情感分值,如果标签存在于用户的情感词典中,则使用情感词典中的分值作为标签的情感分值:(3) Calculate the sentiment score of the tag. Use the user's sentiment dictionary to calculate the sentiment score of the label, if the label exists in the user's sentiment dictionary, use the score in the sentiment dictionary as the label's sentiment score:

we(hu,i)=EmotionScore(hu,i)w e (hu ,i )=EmotionScore(hu ,i )

其中EmotionScore(hu,i)是情感词典中标签hu,i的情感值,如果情感字典中包含该标签,则该标签的情感分值为情感字典中的情感分值。Where EmotionScore(hu ,i ) is the sentiment value of the label hu, i in the sentiment dictionary, if the sentiment dictionary contains this label, the sentiment score of the label is the sentiment score in the sentiment dictionary.

如果同时有多个标签存在于用户的情感词典中,则根据多个标签的情感值来计算情感分值:If multiple tags exist in the user's sentiment dictionary at the same time, the sentiment score is calculated according to the sentiment values of multiple tags:

Figure BDA0002537414530000071
Figure BDA0002537414530000071

其中set是由多个标签组成的集合,|set|是集合中所有标签的个数,|setemotion|是集合中情感标签的个数。where set is a set consisting of multiple tags, |set| is the number of all tags in the set, and |set emotion | is the number of emotion tags in the set.

如果标签不存在于情感词典中,则该标签此次情感值为0,用户可以将标签加入情感词典并设置情感分数,用于之后的标签的情感值计算。If the label does not exist in the sentiment dictionary, the sentiment value of the label is 0 this time, and the user can add the label to the sentiment dictionary and set the sentiment score for the subsequent sentiment value calculation of the label.

时尚品总权重分数计算:Calculation of the total weight score of fashion products:

weight(hu,i)=(1-α)*w(hu,i)+α*we(hu,i)weight(h u,i )=(1-α)*w(h u,i )+α*w e (h u,i )

其中α是控制情感标签影响的参数,如果标签没有情感值,则仅使用基于评分的时尚品权重来计算总权重,如果时尚品没有评分值,则仅使用基于情感的时尚品权重来计算总权重。where α is a parameter that controls the influence of sentiment labels, if the label has no sentiment value, only the rating-based fashion item weight is used to calculate the total weight, and if the fashion item has no rating value, only the sentiment-based fashion item weight is used to calculate the total weight .

步骤5,基于步骤4所得时尚品总权重分值构建用户与时尚品的m×n的标签总权重分值矩阵R=[wuj],wuj是步骤4中所计算出的用户u对时尚品j的时尚品总权重分值;Step 5, based on the total weight score of fashion products obtained in step 4, construct an m×n label total weight score matrix R=[w uj ] of users and fashion products, where w uj is the user u calculated in step 4 to fashion. The total weight score of fashion products of product j;

利用每位用户u的标签总权重分值,计算每位用户的平均总权重分值μuUsing the total weight score of each user u, calculate the average total weight score μ u of each user:

Figure BDA0002537414530000081
Figure BDA0002537414530000081

Iu表示已被用户(行)u评价的时尚品的序号集合;Pearson相关系数可以用来衡量用户u和用户v之间的评分向量的相似度Sim(u,v),用户(行)u和v之间的Pearson相关系数定义如下:I u represents the serial number set of fashion items that have been evaluated by user (row) u; Pearson correlation coefficient can be used to measure the similarity of rating vectors between user u and user v Sim(u, v), user (row) u The Pearson correlation coefficient between v and v is defined as follows:

Figure BDA0002537414530000082
Figure BDA0002537414530000082

其中Iu∩Iv是用户u和用户v均已知的标签总权重分值集合;where I u ∩ I v is the set of total tag weight scores known to both user u and user v;

步骤6,计算当天所对应的时尚品的流行分数,再计算得到时尚品推荐分数,并按照时尚品推荐分数大小进行排序,得到最终的时尚品推荐分数列表,根据步骤5所得到的相似用户,相似用户的时尚品总权重分值排序列表,从时尚品推荐分数列表中推荐时尚品给其他相似用户;Step 6: Calculate the popularity scores of the corresponding fashion items on that day, and then calculate and obtain the fashion item recommendation scores, and sort them according to the size of the fashion item recommendation scores to obtain the final fashion item recommendation score list. According to the similar users obtained in step 5, A sorted list of the total weights of fashion items of similar users, and recommend fashion items to other similar users from the list of fashion item recommendation scores;

时尚品推荐分数计算方法:Fashion recommendation score calculation method:

RecScore=FScore*weight(hu,i)Rec Score =F Score *weight( hu,i )

本发明还提供一种时尚品推荐系统,包括:信息获取模块,用于获取用户对该时尚品的评分信息和添加标签的情感分值、获取用户的情感词典以及获取时尚品的信息;The present invention also provides a fashion product recommendation system, comprising: an information acquisition module for obtaining the user's rating information for the fashion product and the emotional score added to the tag, obtaining the user's emotional dictionary and obtaining the information of the fashion product;

数据处理模块,基于用户对该时尚品的评分信息和添加标签的情感分值、获取用户的情感词典以及时尚品的信息计算得到:基于评分信息的时尚品权重分数、基于情感的时尚品权重分数、时尚品总权重分数、时尚品的流行分数、时尚品推荐分数以及时尚品推荐分数列表;基于用户对时尚品的总权重分数,利用相似度原理计算得到相似用户;The data processing module is calculated based on the user's rating information for the fashion item and the sentiment score added to the tag, and obtains the user's sentiment dictionary and information about the fashion item: the fashion item weight score based on the rating information, and the emotion-based fashion item weight score , the total weight score of fashion products, the popularity score of fashion products, the fashion product recommendation score and the list of fashion product recommendation scores; based on the user's total weight score of fashion products, similar users are calculated using the similarity principle;

推荐模块,基于时尚品推荐分数、时尚品推荐分数列表和相似用户,向相似用户进行时尚品推荐。The recommendation module recommends fashion items to similar users based on the fashion item recommendation score, the fashion item recommendation score list and similar users.

一种时尚品推荐装置,其包括处理器、存储器、信息获取装置以及推荐结果输出装置,处理器与存储器通过I/O接口连接,信息获取装置连接处理器输入端,推荐结果输出装置连接处理器的输出端;存储器存储可执行计算机程序,处理器在执行所述可执行计算机程序够执行权利要求1-7中任意一项所述的时尚品推荐方法,并将推荐结果通过推荐结果输出装置展示。A fashion product recommendation device, comprising a processor, a memory, an information acquisition device and a recommendation result output device, the processor and the memory are connected through an I/O interface, the information acquisition device is connected to the input end of the processor, and the recommendation result output device is connected to the processor The output end; the memory stores an executable computer program, and the processor can execute the fashion product recommendation method described in any one of claims 1-7 when the processor executes the executable computer program, and the recommendation result is displayed through the recommendation result output device. .

作为优选的实施例,所述信息获取装置和推荐结果输出装置均采用触摸显示器,触摸显示器与处理器通过I/O接口连接。As a preferred embodiment, the information acquisition device and the recommendation result output device both use a touch display, and the touch display is connected to the processor through an I/O interface.

所述时尚品推荐装置通过执行计算机程序执行步骤1时,通过信息获取装置获取用户已购买的时尚品,并获取用户对该时尚品的评分信息和添加标签的情感分值;对用户已浏览的时尚品,获取所添加标签的情感分值;情感分值的范围为-1到1,情感分值为负数则代表用户是消极的情感,越接近-1,则消极的情感程度越深;情感值为正数则代表用户是积极的情感,越接近1,则积极的情感程度越深;并存储至存储器中,When the fashion product recommendation device executes step 1 by executing the computer program, the information acquisition device obtains the fashion products that the user has purchased, and obtains the user's rating information for the fashion product and the emotional score added to the tag; For fashion products, obtain the sentiment score of the added tag; the sentiment score ranges from -1 to 1, and a negative sentiment score indicates that the user has negative emotions. The closer to -1, the deeper the negative emotion; A positive value means that the user has a positive emotion, the closer it is to 1, the deeper the positive emotion; and stored in the memory,

所述时尚品推荐装置通过执行计算机程序执行步骤2时,通过信息获取装置记录用户添加过的情感标签以及情感分值,可以随时增加和删除情感标签,以及修改情感分值,并通过处理器将所述信息存储至存储器;When the fashion product recommendation device performs step 2 by executing the computer program, the information acquisition device records the emotional tags and emotional scores added by the user, and can add and delete emotional tags at any time. the information is stored in memory;

存储器上还存储有自动获取信息的指令集,处理器连接网络传输器,处理器能执行所述自动获取信息的指令集从网络上获取本发明所述步骤1和步骤2的信息,所述时尚品推荐装置通过执行计算机程序执行步骤1和步骤2时,可以是通过处理器执行获取信息指令集来获取,也可以是用户手动输入信息。The memory also stores an instruction set for automatically acquiring information, the processor is connected to the network transmitter, and the processor can execute the instruction set for automatically acquiring information to acquire the information of steps 1 and 2 of the present invention from the network, and the fashion When the product recommendation device executes steps 1 and 2 by executing a computer program, the information may be obtained by the processor executing an instruction set for obtaining information, or the information may be manually input by the user.

所述时尚品推荐装置通过执行计算机程序执行步骤3时,获取时尚品的信息,并通过处理器将所述信息存储至存储器;同时处理器依据时尚拼的生命周期计算得到时尚品的流行分数,同时将流行分数发送至存储器;When the fashion product recommendation device executes step 3 by executing the computer program, the information of the fashion product is obtained, and the information is stored in the memory by the processor; at the same time, the processor calculates the popularity score of the fashion product according to the life cycle of fashion spelling, Simultaneously send popular scores to memory;

所述时尚品推荐装置通过执行计算机程序执行步骤4时,通过处理器计算基于评分信息的时尚品权重分数、基于情感的时尚品权重分数以及时尚品总权重分数,并将时尚品权重分数、基于情感的时尚品权重分数以及时尚品总权重分数发送至存储器;When the fashion product recommendation device performs step 4 by executing the computer program, the processor calculates the fashion product weight score based on the scoring information, the emotion-based fashion product weight score and the total fashion product weight score, and calculates the fashion product weight score, based on The emotional fashion item weighting score and the fashion item total weighting score are sent to the memory;

所述时尚品推荐装置通过执行计算机程序执行步骤5时,基于步骤4所得每个用户的时尚品总权重分数,利用每位用户的标签总权重分值,计算每位用户的平均总权重分值,再利用相似度原理计算相关系数,得到相似用户清单,将所得结果发送至存储器存储;When the fashion product recommendation device executes step 5 by executing the computer program, based on the fashion product total weight score of each user obtained in step 4, the average total weight score of each user is calculated by using the label total weight score of each user. , and then use the similarity principle to calculate the correlation coefficient to obtain a list of similar users, and send the obtained results to the memory for storage;

所述时尚品推荐装置通过执行计算机程序执行步骤6时,处理器从存储器中读取执行步骤3所得时尚品的流行分数和步骤4所得用户的时尚品权重分数结果,并根据时尚品推荐分数=流行分数*时尚品总权重分数计算得到时尚品推荐分数并排序;同时读取步骤5所得相似用户数据,从时尚品推荐分数列表中推荐时尚品给相似用户;还将推荐结果通过推荐结果输出装置展示。When the device for recommending fashion items executes step 6 by executing the computer program, the processor reads from the memory the popularity score of the fashion items obtained in step 3 and the fashion item weight score result of the user obtained in step 4, and recommends the scores according to the fashion items = Popularity score*total weight score of fashion products is calculated to obtain fashion product recommendation scores and sorted; at the same time, read the similar user data obtained in step 5, and recommend fashion products to similar users from the fashion product recommendation score list; also recommend the results through the recommendation result output device exhibit.

Claims (9)

1. A fashion recommendation method based on emotion labels is characterized by comprising the following steps:
s1, acquiring the grading information of the fashion and the emotion score of the added label for the fashion purchased by the user; acquiring the emotion score of the added label for the fashion browsed by the user;
s2, establishing an emotion dictionary of the user;
s3, obtaining information of the fashion, wherein the information of the fashion at least comprises a predicted life cycle of the fashion, and calculating the popularity score of the fashion according to the life cycle of the fashion;
s4, calculating and sequencing the total weight scores of the fashion according to the grading information of the user to the fashion and the emotion scores of the labels at S1 to obtain a sequence list of the total weight scores of the fashion; the fashion total weight score calculation process is as follows:
calculating a fashion weight score based on the scoring information;
calculating a fashion weight score based on emotion;
a total fashion weight score ═ (1- α) — total fashion weight score based on the scoring information + α — + an emotional fashion weight score;
s5, based on the fashion total weight score of each user obtained in S4, the average total weight score mu of each user is calculated by using the label total weight score of each user uuThen, calculating a Pearson correlation coefficient by utilizing a similarity principle to obtain a ranking list of similar users v of the user u;
s6, calculating and sequencing the recommendation scores of the fashion according to the weight score result of the fashion of the user obtained in the S4 and the popularity score of the fashion obtained in the S3 to obtain a recommendation score sequencing list;
fashion recommendation score (popularity score) fashion total weight score
And recommending the fashion to the similar users from the fashion recommendation score list according to the similar user ranking list obtained in the step 5.
2. The method for recommending fashion goods based on emotion label as recited in claim 1, wherein in S2, the emotion dictionary of the user records emotion labels added by the user and emotion scores, and the emotion labels are added and deleted by the user at any time, and the emotion scores are modified.
3. The emotion tag-based fashion recommendation method of claim 1, wherein in S3, the fashion information further includes a release date, a brand and a price.
4. The emotion tag-based fashion recommendation method of claim 1, wherein in S3, the fashion popularity score:
Figure FDA0002537414520000021
wherein: t is the predicted life cycle of the fashion product, T is the number of days after the fashion product is issued, the fashion product popularity score is lower along with the increase of the number of issued days, and FScoreThe minimum value is 0, and the popularity score of the fashion product of the classic style is always 1.
5. The emotion tag-based fashion recommendation method of claim 1, wherein in S4, the fashion weight score based on the scoring information is calculated by:
Figure FDA0002537414520000022
wherein r isu,iIs the value of the user's score for fashion, ru,i(h) Vectorizing the score of each user for the normalized score value of the label h added by the user for the fashion item i, and then normalizing the score to be a unit vector:
Figure FDA0002537414520000023
i is the total number of all fashion items scored by the user.
6. The emotion tag-based fashion recommendation method of claim 1, wherein the emotion-based fashion weight score is calculated as follows in S4:
(1) deleting the special characters contained in the label;
(2) removing proper nouns in the tag;
(3) calculating the emotion scores of the tags, calculating the emotion scores of the tags by using an emotion dictionary of the user, and if the tags exist in the emotion dictionary of the user, using the scores in the emotion dictionary as the emotion scores of the tags:
we(hu,i)=EmotionScore(hu,i)
wherein EmotionScore (h)u,i) Is label h in emotion dictionaryu,iIf the label is contained in the emotion dictionary, the emotion score of the label is the emotion score in the emotion dictionary;
if a plurality of tags exist in the emotion dictionary of the user at the same time, calculating emotion scores according to the emotion values of the tags:
Figure FDA0002537414520000031
where set is a set composed of multiple tags, | set | is the number of all tags in the set, | set |, which is a set composed of multiple tagsemotionAnd | is the number of emotion labels in the set.
7. The method of claim 1, wherein in step S5, the average total weight score μ for each user is calculated using the total weight score of the tags for each user uu
Figure FDA0002537414520000032
IuA set of numbers representing fashion items that have been evaluated by user u; pearson correlation coefficients may be used to measure the similarity Sim (u, v) of the scoring vector between user u and user v, and are defined as follows:
Figure FDA0002537414520000033
wherein Iu∩IvIs a set of label total weight scores known to both user u and user v.
8. A fashion recommendation system, comprising: the information acquisition module is used for acquiring the grading information of the fashion product and the emotion score of the added label from the user, acquiring an emotion dictionary of the user and acquiring the information of the fashion product;
the data processing module is used for calculating and obtaining the following information based on the grading information of the fashion product and the emotion score of the added label of the user, the emotion dictionary of the user and the information of the fashion product: the method comprises the following steps of (1) obtaining a fashion weight score based on scoring information, a fashion weight score based on emotion, a total fashion weight score, a fashion popularity score, a fashion recommendation score and a fashion recommendation score list; calculating to obtain similar users by utilizing a similarity principle based on the total weight score of the fashion products by the users;
and the recommending module is used for recommending the fashion products to the similar users based on the fashion product recommending scores, the fashion product recommending score list and the similar users.
9. The fashion recommendation device is characterized by comprising a processor, a memory, an information acquisition device and a recommendation result output device, wherein the processor is connected with the memory through an I/O interface; the memory stores an executable computer program that, when executed, enables the processor to perform the fashion recommendation method of any one of claims 1-7 and present the recommendation via a recommendation output device.
CN202010537197.8A 2020-06-12 2020-06-12 Fashion product recommendation method, system and device based on emotion label Active CN111695040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010537197.8A CN111695040B (en) 2020-06-12 2020-06-12 Fashion product recommendation method, system and device based on emotion label

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010537197.8A CN111695040B (en) 2020-06-12 2020-06-12 Fashion product recommendation method, system and device based on emotion label

Publications (2)

Publication Number Publication Date
CN111695040A true CN111695040A (en) 2020-09-22
CN111695040B CN111695040B (en) 2023-03-24

Family

ID=72480787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010537197.8A Active CN111695040B (en) 2020-06-12 2020-06-12 Fashion product recommendation method, system and device based on emotion label

Country Status (1)

Country Link
CN (1) CN111695040B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090006398A1 (en) * 2007-06-29 2009-01-01 Shing Yan Lam Recommendation system with multiple integrated recommenders
KR20140140309A (en) * 2013-05-29 2014-12-09 (주) 다이퀘스트 Method for calculating simularity between users and item recommendation method using the same
CN109598586A (en) * 2018-11-30 2019-04-09 哈尔滨工程大学 A kind of recommended method based on attention model
CN109658210A (en) * 2019-02-18 2019-04-19 苏州大学 A kind of Method of Commodity Recommendation, device, equipment and storage medium
CN110427567A (en) * 2019-07-24 2019-11-08 东北大学 A kind of collaborative filtering recommending method based on user preference Similarity-Weighted

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090006398A1 (en) * 2007-06-29 2009-01-01 Shing Yan Lam Recommendation system with multiple integrated recommenders
KR20140140309A (en) * 2013-05-29 2014-12-09 (주) 다이퀘스트 Method for calculating simularity between users and item recommendation method using the same
CN109598586A (en) * 2018-11-30 2019-04-09 哈尔滨工程大学 A kind of recommended method based on attention model
CN109658210A (en) * 2019-02-18 2019-04-19 苏州大学 A kind of Method of Commodity Recommendation, device, equipment and storage medium
CN110427567A (en) * 2019-07-24 2019-11-08 东北大学 A kind of collaborative filtering recommending method based on user preference Similarity-Weighted

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
AMEL ZIANI ETC.: "Recommender System Through Sentiment Analysis", 《2ND INTERNATIONAL CONFERENCE ON AUTOMATIC CONTROL,TELECOMMUNICATIONS AND SIGNALS》 *
VIBHU JAWA ETC.: "A Sentiment and Interest Based Approach for Product Recommendation", 《2015 17TH UKSIM-AMSS INTERNATIONAL CONFERENCE ON MODELLING AND SIMULATION (UKSIM)》 *
刘冠君: "基于流行性预测的推荐算法研究", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *
吕苗: "《基于情境的商品个性化推荐方法研究》", 30 June 2018, 东北大学出版社 *
许瑞瑞: "融合标签和评分的茶产品个性化推荐研究", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *

Also Published As

Publication number Publication date
CN111695040B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN113761347B (en) Commodity recommendation method, device, storage medium and system
CN109118336B (en) Information recommendation method and device, computer equipment and storage medium
CN109064285B (en) Commodity recommendation sequence and commodity recommendation method
CN110427560B (en) Model training method applied to recommendation system and related device
CN119398864B (en) E-commerce platform commodity recommendation method and system based on user preference analysis
CN110647696B (en) Method and device for sorting business objects
CN111177538B (en) User interest label construction method based on unsupervised weight calculation
CN109189904A (en) Individuation search method and system
CN107944911B (en) Recommendation method of recommendation system based on text analysis
CA2655196A1 (en) System and method for generating a display of tags
CN113946754A (en) User portrait-based rights recommendation method, device, equipment and storage medium
CN111260437A (en) A product recommendation method based on commodity aspect-level sentiment mining and fuzzy decision-making
CN112417294A (en) Intelligent business recommendation method based on neural network mining model
CN116050516B (en) Text processing methods, apparatus, devices, and media based on knowledge distillation
CN111666757A (en) Product review sentiment analysis method, apparatus, device and readable storage medium
CN112862567A (en) Exhibit recommendation method and system for online exhibition
CN118350894A (en) Commodity recommendation method and device and electronic equipment
KR102538774B1 (en) Method and apparatus for using review analysis based on artificial intelligence model
Hoiriyah et al. Lexicon-based and naive bayes sentiment analysis for recommending the best marketplace selection as a marketing strategy for msmes
CN114997967A (en) Intelligent recommendation system and method
CN112328918B (en) Commodity sorting method, computing device and computer-readable storage medium
CN113722487A (en) User emotion analysis method, device and equipment and storage medium
CN109146606A (en) A kind of brand recommended method, electronic equipment, storage medium and system
CN120106939A (en) Commodity search method and its device, equipment and medium
CN113222694A (en) Content recommendation method, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant