User intelligent matching method and system based on user collection information

By clustering and frequent item set analysis on the purchase records of online shopping platform users, each user's recommendation degree and product recommendation index are calculated, which solves the problem of failure to effectively consider the purchase quantity and personalized recommendations in the existing technology, and improves improve the accuracy of recommendations and the likelihood of users purchasing.

CN118350855BActive Publication Date: 2024-09-13BAYSHORE CONSULTING & SERVICES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410782186.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-13
Estimated Expiration
2044-06-18

AI Technical Summary

Technical Problem

When obtaining the products that the user is interested in, the existing correlation analysis algorithm fails to effectively consider the user's purchase quantity each time he purchases the product, resulting in a large difference between the recommendation results and the products that the user is actually interested in, and does not evaluate each user's preferences. Purchase data is analyzed separately, resulting in insufficient personalization of recommended results.

Method used

Adopt an intelligent user matching method based on user collected information, obtain user purchase records from the online shopping platform, use the K-means clustering algorithm to divide users into clusters, and calculate the importance index and frequency of each product in each cluster. The importance of the item set, combined with the difference between the user's purchase frequency vector and the frequent item set, is used to calculate each user's recommendation degree and product recommendation index, and then recommend products.

Benefits of technology

Through cluster analysis and frequent item set importance calculation, the degree of personalization of recommended products is improved, ensuring that users with similar purchasing habits are classified into a cluster, avoiding the problem of insufficient purchase records for a single user, and improving the accuracy of recommendations. and the user’s likelihood of purchasing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118350855B
    Figure CN118350855B
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and specifically to a user intelligent matching method and system based on user collected information, including: obtaining a number of purchase records of users, dividing users into multiple clusters; obtaining frequent item sets of each cluster; obtaining the importance index of each commodity in each cluster and the importance of each frequent item set; obtaining the importance of each frequent item set in each cluster to each user based on the purchase records of each user in each cluster and the commodities contained in each frequent item set; combining the adjacent time series in the time series of the purchase records of each user in each cluster with the importance index of each commodity, obtaining the recommended commodity for each user. The present invention aims to solve the problem that when obtaining the recommended commodity for a user through an association algorithm, the quantity of the commodity purchased by the user each time is not considered, resulting in a large difference between the recommended commodity and the purchase demand of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a user intelligent matching method and system based on user collected information. Background Art

[0002] In today's era of information explosion, users are often faced with a large amount of choices and information, and it is difficult to find products that suit them. Therefore, we analyze the user's historical purchase records and recommend products that suit them to reduce the trouble caused by information overload; at the same time, we enable users to find products that interest them more easily, and improve their experience and satisfaction with the software.

[0003] However, when analyzing the purchase data of all users through the existing association analysis algorithm, when obtaining the products that the user is interested in, only whether the user purchases a certain product each time is considered, but the purchase quantity of each product is ignored each time the user purchases the product, so that the products that the user is interested in are greatly different from the products that the user is actually interested in. In addition, because each person's preferences are different from those of others, when obtaining the products that the user is interested in through the association analysis algorithm, all user data are analyzed as a whole, and the purchase data of each user is not analyzed separately, so that the products that the user is interested in are greatly different from the products that the user is actually interested in. Summary of the invention

[0004] The present invention provides a user intelligent matching method and system based on user collected information to solve the existing problems.

[0005] The user intelligent matching method and system based on user collected information of the present invention adopts the following technical solutions:

[0006] The present invention proposes a user intelligent matching method based on user collected information, the method comprising the following steps:

[0007] Obtaining a time series of purchase records of all users in an online shopping platform within a period of time; the purchase records of the users include the name of the goods, the quantity purchased of the goods, and the payment amount; dividing all users into multiple clusters according to the time series of the purchase records of all users;

[0008] According to the purchase records of all users in each cluster, several frequent item sets of each cluster are obtained; according to the purchase quantity of each commodity in the purchase record of each user in each cluster and the number of times each commodity appears in the purchase record, the importance index of each commodity in each cluster is obtained, and then the importance of each frequent item set in each cluster is obtained;

[0009] According to the purchase records of each user in each cluster and the commodities contained in each frequent itemset, the purchase frequency vector of each user in each cluster and the vector of each frequent itemset are obtained; according to the importance of each frequent itemset in each cluster and the difference between the purchase frequency vector of each user and the vector of each frequent itemset, the importance of each frequent itemset in each cluster to each user is obtained;

[0010] According to the importance of the adjacent purchase records in the purchase record time series of each user in each cluster and each frequent item set in each cluster to each user, the recommendation degree of each frequent item set in each cluster to each user is obtained;

[0011] According to the purchase records of each user in each cluster and the recommendation degree of each frequent item set in each cluster to each user, the product recommendation index of each product in each cluster to each user is obtained.

[0012] Furthermore, the method of dividing all users into multiple clusters according to the time series of purchase records of all users includes:

[0013] Get a product set based on the products contained in the purchase records of all users;

[0014] The average of the payment amounts in all purchase records of any user is recorded as the first element in the initial vector of the user; the average of the payment amounts in all purchase records of any user that contain the first element in the product set is recorded as the first element in the initial vector of the user. The ratio of the number of purchase records of the product to the number of purchase records of the user is recorded as the first elements;

[0015] The initial vector of each user is obtained according to each element in the initial vector of each user; the modulus of the vector obtained by subtracting the initial vector of each user from the initial vectors of other users is used as the distance metric, and the K-means clustering algorithm is used to cluster all users into multiple clusters.

[0016] Furthermore, the method of obtaining several frequent item sets of each cluster according to the purchase records of all users in each cluster includes the following specific methods:

[0017] Take any cluster as the target cluster; take the commodities contained in a purchase record of any user in the target cluster as the elements contained in a purchase record transaction of the user, and obtain a purchase record transaction of the user;

[0018] The purchase record transactions of all users in the target cluster are used as the input of the FP-growth algorithm, and the frequent item sets output by the FP-growth algorithm are recorded as the frequent item sets of the target cluster.

[0019] Furthermore, the importance index of each commodity in each cluster is obtained according to the purchase quantity of each commodity in the purchase record of each user in each cluster and the number of times each commodity appears in the purchase record, including the specific method of:

[0020] The purchase records of all users in the target cluster are taken as elements in the purchase record set of the target cluster to obtain the purchase record set of the target cluster; the purchase record set of the target cluster is taken as the first purchase record, recorded as the Purchase records;

[0021] The products in the purchase records of all users in the target cluster are taken as elements in the product set of the target cluster to obtain the product set of the target cluster; The product is recorded as the Products;

[0022] According to the purchase records in the target cluster, the importance index of each commodity in the target cluster is obtained. The specific calculation formula is as follows:

[0023]

[0024] In the formula, Indicates the first The importance index of a product. Indicates the number of purchase records in the purchase record set of the target cluster, Indicates the first Items in purchase history The purchase quantity and The ratio of the total number of purchases of all products in a purchase record. Indicates that the target cluster contains products The ratio of the number of purchase records to the number of purchase records in the purchase record set.

[0025] Furthermore, the specific method of obtaining the importance of each frequent item set in each cluster is as follows:

[0026] The target cluster The average of the importance indexes of all commodities in the frequent item set is recorded as the The importance of a frequent itemset.

[0027] Furthermore, the specific method of obtaining the purchase frequency vector of each user in each cluster and the vector of each frequent item set according to the purchase record of each user in each cluster and the commodities contained in each frequent item set includes:

[0028] In the target cluster The purchase record of a user will contain the The number of purchase records of the product in the target cluster is The ratio of the number of purchase records of the target cluster to the number of purchase records of the target cluster is recorded as The first elements; according to the first All elements in the vector of the user are obtained in the target cluster. The vector of the user is recorded as the first user in the target cluster. The purchase frequency vector of each user;

[0029] If the target cluster The product is the target cluster If there are products in the frequent item set, then the first The first frequent item set in the vector element is 1; if the The product is not the target cluster If there are products in the frequent item set, then the first The first frequent item set in the vector The first element of the target cluster is 0; The vector of frequent itemsets.

[0030] Furthermore, the importance of each frequent item set in each cluster to each user is obtained according to the importance of each frequent item set in each cluster and the difference between the purchase frequency vector of each user and the vector of each frequent item set, including the specific method of:

[0031]

[0032] In the formula, The first The frequent itemsets in the target cluster The importance of a user The first The importance of frequent itemsets, Indicates the first The purchase frequency vector of a user, The first The vector of frequent itemsets, Indicates the first The purchase frequency vector of the user is the same as the purchase frequency vector of the target cluster. The modulus of the vector obtained by subtracting the vectors of the frequent itemsets, represents the sigmoid function, is an exponential function with a natural constant as its base.

[0033] Furthermore, the recommendation degree of each frequent item set in each cluster to each user is obtained according to the importance of each frequent item set in each cluster to each user in the purchase record time series of each user in each cluster, including the specific method of:

[0034] The purchase record set of the target cluster contains the first The purchase record of the goods in the frequent item set is recorded as The initial corresponding purchase record of the frequent item set; The user corresponding to the initial purchase record of the frequent item set is recorded as The corresponding user of the frequent item set; The frequent item set corresponds to the purchase record of the user in the time series sequence The next purchase record of the initial corresponding purchase record of the frequent item set is recorded as The final corresponding purchase record of the frequent item set is obtained The final corresponding purchase record set of frequent item sets;

[0035] The first All the final corresponding purchase records of the frequent itemsets are regarded as All purchase records of frequent users; according to the target cluster All purchase records of frequent users, and the frequent item sets, and get the The frequent itemsets in the target cluster The importance of a frequent user is recorded as Frequent item sets The importance of each frequent item set in the target cluster; the specific calculation formula for the importance of each frequent item set in the target cluster to each user in the target cluster is as follows:

[0036]

[0037] In the formula, The first The frequent itemsets in the target cluster The importance of each user, represents the number of frequent itemsets in the target cluster, The first The frequent itemsets in the target cluster The importance of a user Indicated in Frequent item sets The importance of a frequent itemset;

[0038] According to the target cluster The frequent itemsets in the target cluster The importance of each user is related to the importance of the target cluster The frequent itemsets in the target cluster The importance of each user in the target cluster is obtained. The frequent itemsets in the target cluster The specific calculation formula for the recommendation degree of a user is as follows:

[0039]

[0040] In the formula, The first The frequent itemsets in the target cluster The recommendation level of each user, The first The frequent itemsets in the target cluster The importance of each user, The first The frequent itemsets in the target cluster The importance of a user.

[0041] Furthermore, the method of obtaining the commodity recommendation index of each commodity in each cluster for each user according to the purchase record of each user in each cluster and the recommendation degree of each frequent item set in each cluster for each user includes the following specific methods:

[0042] According to the target cluster The purchase records of users in the target cluster are obtained. Products in The importance of the user in the target cluster is The product pairs in the target cluster The specific calculation formula for a user's product recommendation index is as follows:

[0043]

[0044] In the formula, Indicates the first The product pairs in the target cluster The product recommendation index of each user, Indicates that the target cluster contains The number of frequent itemsets of products, Indicates that the target cluster contains The first The frequent itemsets in the target cluster The recommendation level of each user, Indicates the first Products in The importance of each user.

[0045] The present invention also proposes a user intelligent matching system based on user collected information, including a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor executes the computer program to implement the steps of the above method.

[0046] The beneficial effects of the technical solution of the present invention are as follows: when obtaining the recommended products of the user according to the user's purchase data, the users with similar purchase habits are clustered into a cluster according to all the purchase records of each user, thereby avoiding the problem that the recommended products of each user cannot be obtained due to insufficient purchase records of a single user; when obtaining the importance of each product in each cluster, the purchase quantity of each product in each purchase record is used, so that the importance index of the product with a larger purchase frequency is greater than the importance index of the product with a smaller purchase frequency; the importance of each frequent item set is obtained according to the importance index of each product in each frequent item set, which can better reflect the purchase frequency of the products in each frequent item set; the importance of each frequent item set to each user is obtained according to the purchase record of each user, so that the importance of the frequent item set containing the products that the user wants to buy to the user is positively correlated; according to the correlation between the products, the importance of each frequent item set to the user is obtained, and the recommendation degree of each frequent item set to the user is considered from multiple dimensions, so that the recommendation degree of the products containing the products that the user wants to buy is greater than the recommendation degree of the products that do not contain the products that the user wants to buy; when obtaining the purchased products of each user, the purchase habits of each user are considered, so that the possibility of the user purchasing the recommended products is higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 This is a flow chart of the steps of the user intelligent matching method based on user collection information of the present invention. DETAILED DESCRIPTION

[0049] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the user intelligent matching method and system based on user collection information proposed by the present invention, its specific implementation method, structure, features and effects are described in detail as follows in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0050] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0051] The specific scheme of the user intelligent matching method and system based on user collected information provided by the present invention is described in detail below with reference to the accompanying drawings.

[0052] See also Figure 1 , which shows a flowchart of a method for intelligent user matching based on user collection information provided by an embodiment of the present invention, the method comprising the following steps:

[0053] Step S001: Obtain the time series of purchase records of all users in the online shopping platform within a period of time; and divide all users into multiple clusters according to the time series of purchase records of all users.

[0054] The purpose of this embodiment is to analyze the purchase records of users, obtain the commodities that each user is interested in, and thus recommend commodities to each user. Therefore, the purchase records of users are obtained from the online shopping platform.

[0055] It should be further explained that when analyzing the purchase records of users to obtain the products that each user is interested in, since each user has a small number of purchase records in a period of time, it is impossible to obtain the products that each user is interested in based on the purchase records of each user in a period of time. Therefore, users with similar purchase habits should be clustered into a cluster. The purchase records of all users in each cluster are analyzed to obtain the products that each user in each cluster is interested in, and then the products recommended to the user are obtained.

[0056] Specifically, obtain from the database of the online shopping platform The time series of all users' purchase records in a day. Each user's purchase record includes the name of the product, the quantity purchased, and the payment amount. The collection time preset in this embodiment is , this is used as an example for description, and other values ​​may be set in other implementation modes.

[0057] Furthermore, a product set is obtained based on the products contained in the purchase records of all users, where the product set does not contain products with the same name. The average of the payment amounts in all purchase records of any user is recorded as the first element in the initial vector of the user. The ratio of the number of purchase records of the product to the number of purchase records of the user is recorded as the first elements. According to each element in the initial vector of each user, the initial vector of each user is obtained. The modulus of the vector obtained by subtracting the initial vector of each user from the initial vectors of other users is used as the distance metric, and the K-means clustering algorithm is used to cluster all users into multiple clusters.

[0058] Step S002: According to the purchase records of all users in each cluster, several frequent item sets of each cluster are obtained; according to the purchase quantity of each commodity in the purchase record of each user in each cluster and the number of times each commodity appears in the purchase record, the importance index of each commodity in each cluster is obtained, and then the importance of each frequent item set in each cluster is obtained.

[0059] It should be noted that, when obtaining recommended products for each user, the existing method first obtains frequent itemsets based on the association algorithm, obtains the most suitable frequent itemsets for the user based on the number of purchase records of each product in each frequent itemset in the user's purchase records, and uses the products in the most suitable frequent itemsets for the user as the recommended products for the user. Since the ratio of the purchase quantity of each product to the purchase quantity of all products in the purchase process reflects the user's demand for the product, the existing algorithm does not consider the quantity relationship of each product at each purchase, and when the existing algorithm obtains the recommended products for the user, it uses the frequent itemsets as an analysis object. Therefore, the importance of each frequent itemset is obtained based on the purchase quantity of each product in each frequent itemset at each purchase.

[0060] It should be further explained that the importance of each frequent item set reflects the overall importance of all items in each frequent item set. Therefore, the importance index of each item in each frequent item set is calculated. According to the importance index of each item in each frequent item set, the importance of each frequent item set is obtained.

[0061] It should be further explained that the ratio of the purchase quantity of each product to the purchase quantity of all products in the purchase process reflects the user's demand for the product. Therefore, the importance index of each product in each cluster is obtained based on the purchase quantity of each product in each purchase record of each user in each cluster. The importance of each frequent item set in each cluster is obtained based on the importance index of each product in each frequent item set in each cluster.

[0062] Specifically, any cluster is taken as the target cluster. The purchase records of all users in the target cluster are taken as elements in the purchase record set of the target cluster to obtain the purchase record set of the target cluster. purchase record, recorded as the purchase records. The products in the purchase records of all users in the target cluster are taken as elements in the product set of the target cluster to obtain the product set of the target cluster. The product set of the target cluster does not contain products with the same name. The product is recorded as the Products.

[0063] Furthermore, the commodities contained in a purchase record of any user in the target cluster are taken as elements contained in a purchase record transaction of the user, and a purchase record transaction of the user is obtained, wherein the purchase record transaction of the user does not contain commodities with the same name. The purchase record transactions of all users in the target cluster are taken as the input of the FP-growth algorithm, and the frequent item sets output by the FP-growth algorithm are recorded as the frequent item sets of the target cluster. Among them, each frequent item set of the target cluster contains several commodities, and there are no commodities with the same name in each frequent item set of the target cluster, and the commodities in each frequent item set of the target cluster must be in the commodity set of the target cluster. Among them, the FP-growth algorithm is a well-known technology and will not be described in detail in this embodiment.

[0064] Furthermore, according to the number of occurrences of each commodity in the target cluster in the purchase records of the target cluster and the purchase quantity in each purchase record of the target cluster, the importance index of each commodity in the target cluster is obtained. The specific calculation formula is as follows:

[0065]

[0066] In the formula, Indicates the first The importance index of a product. Indicates the number of purchase records in the purchase record set of the target cluster, Indicates the first Items in purchase history The purchase quantity and The ratio of the total number of purchases of all products in a purchase record. Indicates that the target cluster contains products The ratio of the number of purchase records to the number of purchase records in the purchase record set.

[0067] It should be noted that The larger the value of is, the more likely it is that users in the target cluster purchase the first item in the target cluster each time they purchase a product. The greater the probability of the product, the greater the probability of the product in the target cluster. The greater the importance index of a product, The larger the value of, the more likely the user in the target cluster is to purchase the first When buying products in the target cluster, The greater the number of commodities, the greater the probability that the The greater the importance index of a product.

[0068] Furthermore, according to the importance index of each commodity in the target cluster, the importance of each frequent item set in the target cluster is obtained. The specific calculation formula is as follows:

[0069]

[0070] In the formula, The first The importance of frequent itemsets, The first The number of items contained in the frequent item set, The first Frequent item set Importance index of a product.

[0071] It should be noted that The larger the value of The larger the overall importance index of the items in the frequent item set, the larger the overall importance index of the items in the target cluster. The greater the importance of a frequent itemset.

[0072] At this point, the importance of each frequent item set in each cluster is obtained.

[0073] Step S003: According to the purchase records of each user in each cluster and the commodities contained in each frequent item set, the purchase frequency vector of each user in each cluster and the vector of each frequent item set are obtained; according to the importance of each frequent item set in each cluster and the difference between the purchase frequency vector of each user and the vector of each frequent item set, the importance of each frequent item set in each cluster to each user is obtained.

[0074] It should be noted that the importance of each frequent item set in each cluster reflects the overall importance of each frequent item set in each cluster to all users in the cluster, which is the common feature of all users in the cluster. When obtaining recommended products for each user, it is necessary not only to base on the common features of all users in each cluster, but also on the unique features of each user in each cluster. Therefore, according to the purchase records of each user in each cluster, the importance of each frequent item set in each cluster to each user is obtained.

[0075] Specifically, in the target cluster The purchase record of a user will contain the The number of purchase records of the product in the target cluster is The ratio of the number of purchase records of the target cluster to the number of purchase records of the target cluster is recorded as The first elements in the target cluster. All elements in the vector of the user are obtained in the target cluster. The vector of the user is recorded as the first user in the target cluster. The purchase frequency vector of the user. The product is the target cluster If there are products in the frequent item set, 1 is recorded as the first item in the target cluster. The first frequent item set in the vector elements in the target cluster. The product is not the target cluster frequent itemsets, then 0 is recorded as the first The first frequent item set in the vector elements of the target cluster. For each element in the vector of the frequent itemsets, we get the first The vector of frequent itemsets.

[0076] Further, according to the The purchase frequency vector of the user is the same as the purchase frequency vector of the target cluster. The vector of the frequent itemsets is obtained The frequent itemsets in the target cluster The importance of a user is calculated as follows:

[0077]

[0078] In the formula, The first The frequent itemsets in the target cluster The importance of a user The first The importance of frequent itemsets, Indicates the first The purchase frequency vector of a user, The first The vector of frequent itemsets, Indicates the first The purchase frequency vector of the user is the same as the purchase frequency vector of the target cluster. The modulus of the vector obtained by subtracting the vectors of the frequent itemsets, Represents the sigmoid function, which is used for normalization processing in this embodiment. is an exponential function with a natural constant as the base. Model to present inverse proportional relationship and normalization processing, As the input of the model, the implementer can set the inverse proportional function and normalization function according to the actual situation.

[0079] It should be noted that The first The frequent itemsets and the target cluster The difference in the purchase records of each user. The smaller the value, the higher the probability of the target cluster The frequent itemsets and the target cluster The higher the matching degree of the purchase records of each user, the more it indicates that the first The more frequent itemsets can reflect the The purchase records of a user.

[0080] Step S004: Obtain the recommendation degree of each frequent item set in each cluster for each user according to the importance of adjacent purchase records in the purchase record time series of each user in each cluster and each frequent item set in each cluster to each user.

[0081] It should be noted that when users purchase goods, there is a certain correlation between the goods. That is, after users purchase a certain product, they are more likely to purchase other goods. For example, after users purchase a memory stick, the possibility of purchasing memory stick related goods such as hard disks, power supplies, and radiators next time will increase. However, the importance of each frequent item set in the target cluster to each user in the target cluster does not reflect the correlation between the goods. Therefore, according to the correlation between the goods, the importance of each frequent item set in the target cluster to each user in the target cluster should be calculated.

[0082] Specifically, the purchase record set of the target cluster contains the first The purchase record of the goods in the frequent item set is recorded as The initial corresponding purchase record of the frequent item set. The user corresponding to the initial purchase record of the frequent item set is recorded as The corresponding user of the frequent item set is The frequent item set corresponds to the purchase record of the user in the time series sequence The next purchase record of the initial corresponding purchase record of the frequent item set is recorded as The final corresponding purchase record of the frequent item set is obtained The final corresponding purchase record set of the frequent item set. All the final corresponding purchase records of the frequent itemsets are regarded as All purchase records of frequent users. All purchase records of frequent users, and the frequent itemsets, using The frequent itemsets in the target cluster The method for obtaining the importance of each user is to obtain the The frequent itemsets in the target cluster The importance of a frequent user is recorded as Frequent item sets The importance of a frequent itemset.

[0083] Further, according to the first The importance of a frequent item set is related to the importance of each frequent item set of the target cluster to the The importance of each user in the target cluster is obtained. The frequent itemsets in the target cluster The importance of a user. The specific calculation formula is as follows:

[0084]

[0085] In the formula, The first The frequent itemsets in the target cluster The importance of each user, represents the number of frequent itemsets in the target cluster, The first The frequent itemsets in the target cluster The importance of a user Indicated in Frequent item sets The importance of a frequent itemset.

[0086] It should be noted that The larger the value of After buying the products in the frequent item set, The greater the probability of the product in the frequent item set, the greater the probability of the product in the target cluster. The frequent itemsets in the target cluster The more important a user is.

[0087] Furthermore, according to the target cluster The frequent itemsets in the target cluster The importance of each user is related to the importance of the target cluster The frequent itemsets in the target cluster The importance of each user in the target cluster is obtained. The frequent itemsets in the target cluster The recommendation degree of each user. The specific calculation formula is as follows:

[0088]

[0089] In the formula, The first The frequent itemsets in the target cluster The recommendation level of each user, The first The frequent itemsets in the target cluster The importance of each user, The first The frequent itemsets in the target cluster The importance of a user.

[0090] It should be noted that The larger the value of The frequent itemsets and the target cluster The higher the matching degree of the purchase records of each user, the higher the matching degree of the target cluster. The frequent itemsets in the target cluster The greater the recommendation level of a user; The larger the value of The user purchases the first The greater the probability of the product in the frequent item set, the greater the probability of the product in the target cluster. The frequent itemsets in the target cluster The greater the recommendation level of a user.

[0091] Step S005: According to the purchase records of each user in each cluster and the recommendation degree of each frequent item set in each cluster to each user, obtain the commodity recommendation index of each commodity in each cluster to each user, and obtain the recommended commodity for each user.

[0092] It should be noted that the frequent itemsets are obtained based on the purchase records of all users in each cluster, rather than all the purchase records of a user. Therefore, a frequent itemset may contain both items that a user wants to buy and items that the user does not want to buy. Therefore, the recommended items for each user are obtained based on the recommendation degree of each frequent itemset in each cluster and the purchase records of each user in each cluster.

[0093] Specifically, according to the Products in The corresponding purchase record in the purchase record of the user is used in the target cluster. The method for obtaining the importance index of each commodity in the target cluster is Products in The importance of each user.

[0094] Furthermore, the target cluster The product pairs in the target cluster The specific calculation formula for a user's product recommendation index is as follows:

[0095]

[0096] In the formula, Indicates the first The product pairs in the target cluster The product recommendation index of each user, Indicates that the target cluster contains The number of frequent itemsets of products, Indicates that the target cluster contains The first The frequent itemsets in the target cluster The recommendation level of each user, Indicates the first Products in The importance of each user.

[0097] Furthermore, Maximum number of users The product corresponding to the product recommendation index is recorded as the product in the target cluster. The number of recommended products for each user is preset in this embodiment. , this is used as an example for description, and other values ​​may be set in other implementation modes.

[0098] At this point, this embodiment is completed.

[0099] Another embodiment of the present invention provides a user intelligent matching system based on user collected information, the system includes a memory, a processor, and a computer program stored in the memory and running on the processor, when the processor executes the computer program, the above method steps S001 to S005 are implemented.

[0100] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A user intelligent matching method based on user collected information, characterized in that: The method comprises the following steps: Obtaining a time series of purchase records of all users in an online shopping platform within a period of time; the purchase records of the users include the name of the goods, the quantity purchased of the goods, and the payment amount; dividing all users into multiple clusters according to the time series of the purchase records of all users; According to the purchase records of all users in each cluster, several frequent item sets of each cluster are obtained; according to the purchase quantity of each commodity in the purchase record of each user in each cluster and the number of times each commodity appears in the purchase record, the importance index of each commodity in each cluster is obtained, and then the importance of each frequent item set in each cluster is obtained; According to the purchase records of each user in each cluster and the commodities contained in each frequent itemset, the purchase frequency vector of each user in each cluster and the vector of each frequent itemset are obtained; according to the importance of each frequent itemset in each cluster and the difference between the purchase frequency vector of each user and the vector of each frequent itemset, the importance of each frequent itemset in each cluster to each user is obtained; According to the importance of the adjacent purchase records in the purchase record time series of each user in each cluster and each frequent item set in each cluster to each user, the recommendation degree of each frequent item set in each cluster to each user is obtained; According to the purchase records of each user in each cluster and the recommendation degree of each frequent item set in each cluster to each user, the product recommendation index of each product in each cluster to each user is obtained; The specific method of dividing all users into multiple clusters according to the time series of purchase records of all users is as follows: Get a product set based on the products contained in the purchase records of all users; The average of the payment amounts in all purchase records of any user is recorded as the first element in the initial vector of the user; the average of the payment amounts in all purchase records of any user that contain the first element in the product set is recorded as the first element in the initial vector of the user. The ratio of the number of purchase records of the product to the number of purchase records of the user is recorded as the first elements; According to each element in the initial vector of each user, the initial vector of each user is obtained; the modulus of the vector obtained by subtracting the initial vector of each user from the initial vectors of other users is used as the distance metric, and the K-means clustering algorithm is used to cluster all users into multiple clusters; The specific method of obtaining several frequent item sets of each cluster according to the purchase records of all users in each cluster is as follows: Take any cluster as the target cluster; take the commodities contained in a purchase record of any user in the target cluster as the elements contained in a purchase record transaction of the user, and obtain a purchase record transaction of the user; The purchase record transactions of all users in the target cluster are used as the input of the FP-growth algorithm, and the frequent itemsets output by the FP-growth algorithm are recorded as the frequent itemsets of the target cluster; The method of obtaining the importance index of each commodity in each cluster according to the purchase quantity of each commodity in the purchase record of each user in each cluster and the number of times each commodity appears in the purchase record includes: The purchase records of all users in the target cluster are taken as elements in the purchase record set of the target cluster to obtain the purchase record set of the target cluster; the purchase record set of the target cluster is taken as the first purchase record, recorded as the Purchase records; The products in the purchase records of all users in the target cluster are taken as elements in the product set of the target cluster to obtain the product set of the target cluster; The product is recorded as the Products; According to the purchase records in the target cluster, the importance index of each commodity in the target cluster is obtained. The specific calculation formula is as follows: In the formula, Indicates the first The importance index of a product. Indicates the number of purchase records in the purchase record set of the target cluster, Indicates the first Items in purchase history The purchase quantity and The ratio of the total number of purchases of all products in a purchase record. Indicates that the target cluster contains products The ratio of the number of purchase records to the number of purchase records in the purchase record set; The specific method of obtaining the importance of each frequent item set in each cluster is as follows: The target cluster The average of the importance indexes of all commodities in the frequent item set is recorded as the The importance of frequent itemsets; The specific method of obtaining the purchase frequency vector of each user in each cluster and the vector of each frequent item set according to the purchase record of each user in each cluster and the commodities contained in each frequent item set includes: In the target cluster The purchase record of a user will contain the The number of purchase records of the product in the target cluster is The ratio of the number of purchase records of the target cluster to the number of purchase records of the target cluster is recorded as The first elements; according to the first All elements in the vector of the user are obtained in the target cluster. The vector of the user is recorded as the first user in the target cluster. The purchase frequency vector of each user; If the target cluster The product is the target cluster If there are products in the frequent item set, then the first The first frequent item set in the vector element is 1; if the The product is not the target cluster If there are products in the frequent item set, then the first The first frequent item set in the vector The first element of the target cluster is 0; The vector of frequent itemsets; The importance of each frequent item set in each cluster to each user is obtained according to the importance of each frequent item set in each cluster and the difference between the purchase frequency vector of each user and the vector of each frequent item set, including the specific method of: In the formula, The first The frequent itemsets in the target cluster The importance of a user The first The importance of frequent itemsets, Indicates the first The purchase frequency vector of a user, The first The vector of frequent itemsets, Indicates the first The purchase frequency vector of the user is the same as the purchase frequency vector of the target cluster. The modulus of the vector obtained by subtracting the vectors of the frequent itemsets, represents the sigmoid function, is an exponential function with a natural constant as base; The method of obtaining the recommendation degree of each frequent item set in each cluster to each user according to the importance of each frequent item set in each cluster to each user in the adjacent purchase records in the purchase record time series of each user in each cluster includes the following specific methods: The purchase record set of the target cluster contains the first The purchase record of the goods in the frequent item set is recorded as The initial corresponding purchase record of the frequent item set; The user corresponding to the initial purchase record of the frequent item set is recorded as The corresponding user of the frequent item set; The frequent item set corresponds to the purchase record of the user in the time series sequence The next purchase record of the initial corresponding purchase record of the frequent item set is recorded as The final corresponding purchase record of the frequent item set is obtained The final corresponding purchase record set of frequent item sets; The first All the final corresponding purchase records of the frequent itemsets are regarded as All purchase records of frequent users; according to the target cluster All purchase records of frequent users, and the frequent item sets, and get the The frequent itemsets in the target cluster The importance of a frequent user is recorded as Frequent item sets The importance of each frequent item set in the target cluster; the specific calculation formula for the importance of each frequent item set in the target cluster to each user in the target cluster is as follows: In the formula, The first The frequent itemsets in the target cluster The importance of each user, represents the number of frequent itemsets in the target cluster, The first The frequent itemsets in the target cluster The importance of a user Indicated in Frequent item sets The importance of a frequent itemset; According to the target cluster The frequent itemsets in the target cluster The importance of each user is related to the importance of the target cluster The frequent itemsets in the target cluster The importance of each user in the target cluster is obtained. The frequent itemsets in the target cluster The specific calculation formula for the recommendation degree of a user is as follows: In the formula, The first The frequent itemsets in the target cluster The recommendation level of each user, The first The frequent itemsets in the target cluster The importance of each user, The first The frequent itemsets in the target cluster The importance of individual users; The method of obtaining the commodity recommendation index of each commodity in each cluster for each user according to the purchase record of each user in each cluster and the recommendation degree of each frequent item set in each cluster for each user includes the following specific methods: According to the target cluster Products in The corresponding purchase record in the purchase record of the user is obtained Products in The importance of the user in the target cluster is The product pairs in the target cluster The specific calculation formula for a user's product recommendation index is as follows: In the formula, Indicates the first The product pairs in the target cluster The product recommendation index of each user, Indicates that the target cluster contains The number of frequent itemsets of products, Indicates that the target cluster contains The first The frequent itemsets in the target cluster The recommendation level of each user, Indicates the first Products in The importance of each user.

2. A user intelligent matching system based on user collected information, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the user intelligent matching method based on user collected information as claimed in claim 1 are implemented.