A data processing method and device
By analyzing product transaction data and user data, generating attribute difference information and evaluating the value of newly launched products, it solves the problem in the existing technology of being unable to quantify the importance of attributes and locate reference product ranges, and achieves more reliable product operation guidance.
Patent Information
- Application Number
- CN201811032322.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-09-05
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2038-09-05
AI Technical Summary
The existing technology cannot quantify the importance of different attributes, is time-consuming and labor-intensive, cannot accurately guide product operations, cannot locate the scope of reference products, and does not consider market and user needs.
By determining the transfer probability between commodities based on commodity transaction data and user data, generating attribute difference information between commodities, using the prediction model to generate predicted value vectors and attribute difference vectors, determining attribute importance, and evaluating the value of newly launched commodities.
It realizes the quantification of the importance of different attributes, improves the reliability of evaluation results, can accurately guide product operations, locate the scope of reference products, considers consumer needs, and saves time and effort.
Smart Images

Figure CN110880119B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a data processing method and device. Background Art
[0002] With the development of e-commerce, more and more goods are traded online, and people's main shopping methods have also changed. For newly developed and newly launched products, how to evaluate their future market is very important for e-commerce companies and brand owners.
[0003] There are two main existing solutions for quantifying the value of a product: one is to investigate whether there is a willingness to purchase the product through questionnaires. This solution is time-consuming and labor-intensive, and the sample size is small, so it is difficult to draw a reliable conclusion. The other is to observe the historical sales volume and sales data of competing products or similar products related to the product, and rely on business knowledge to make judgments. This solution cannot well locate the scope of reference products. Products of different brands and different attributes vary greatly, and it does not take into account the needs of the market and users, and cannot accurately guide business personnel in product operations.
[0004] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:
[0005] Existing solutions cannot quantify the importance of different attributes, are time-consuming and labor-intensive, and have poor reliability. In addition, they cannot well locate the scope of reference products, do not consider the needs of the market and users, and cannot accurately guide business personnel in product operations. Summary of the invention
[0006] In view of this, an embodiment of the present invention provides a data processing method and device, which can quantify the importance of different attributes, and can use the importance of different attributes to evaluate the value of newly launched products, saving time and effort, and can well locate the scope of reference products, and not only consider the sales of similar products, but also consider the needs of consumers, thereby improving the reliability of evaluation results and accurately guiding business personnel to carry out product operations.
[0007] To achieve the above objective, according to one aspect of an embodiment of the present invention, a data processing method is provided.
[0008] A data processing method comprises determining a first transition probability between commodities based on transaction data of each commodity and user data corresponding to each commodity; generating first attribute difference information between commodities based on commodity master data of each commodity; generating a prediction value vector based on the first transition probability and the first attribute difference information, and generating an attribute difference vector corresponding to each attribute of each commodity based on the first attribute difference information; and determining the importance of the attributes of all commodities based on the prediction value vector and the attribute difference vector corresponding to each attribute of each commodity.
[0009] Optionally, the user data includes user consumption behavior trajectory data, and the transaction data of each commodity includes the amount of the order corresponding to each commodity and the amount of the commodity in each order. The step of determining the first transition probability between commodities based on the transaction data of each commodity and the user data corresponding to each commodity includes: determining the transition probability consumption amount between commodities in the continuous orders based on the order amount corresponding to each commodity in two commodities in continuous orders of the same user and the commodity amount of the two commodities in their respective orders, the continuous orders including a first order and a second order, and the two commodities belong to the first order and the second order respectively; summarizing the transition probability consumption amounts between commodities in the continuous orders of each user based on the user consumption behavior trajectory data, and normalizing the summarized transition probability consumption amounts to obtain the first transition probability between the commodities.
[0010] Optionally, the commodity master data includes attribute information of the commodity, and the step of generating first attribute difference information between commodities based on the commodity master data of each commodity includes: taking two commodities of the same category as a commodity combination, and each commodity combination has the same attribute, wherein, for each commodity combination, if the attribute values of two commodities in the commodity combination are non-numeric variables, then comparing whether the attribute values of the two commodities are the same, and generating the first attribute difference information between the commodities based on the comparison result; if the attribute values of the two commodities in the commodity combination are numeric variables, then calculating the distance between the attribute values of the two commodities, and generating the first attribute difference information between the commodities based on the distance between the attribute values of the two commodities.
[0011] Optionally, the distance between the attribute values of two products is calculated by the following method:
[0012]
[0013] According to the distance between the attribute values of the two commodities, the first attribute difference information between the commodities is generated by the following method:
[0014]
[0015] Among them, Dij represents the distance between the jth attribute values of two products in the i-th product combination, represents the jth attribute value of the first item in the i-th item combination. represents the jth attribute value of the second item in the i-th item combination, X ij Indicates the difference between the jth attribute values of two products in the i-th product combination, MAX(D j ) represents the maximum value of the distance between the j-th attribute values of two commodities in each commodity combination, and the first attribute difference information between the commodities is a collection of difference information between the attribute values of two commodities in each commodity combination of the same category.
[0016] Optionally, the step of generating a prediction value vector based on the first transition probability and the first attribute difference information includes: taking the first attribute difference information as an independent variable and the first transition probability as a dependent variable, and using a preset prediction model to predict a second transition probability corresponding to the first transition probability; generating a prediction value vector based on the first transition probability and the second transition probability corresponding to the first transition probability.
[0017] Optionally, the step of generating an attribute difference vector corresponding to each attribute of each commodity based on the first attribute difference information includes: transforming the first attribute difference information into second attribute difference information corresponding to the first attribute difference information according to a preset transformation rule; and generating an attribute difference vector corresponding to each attribute of each commodity based on the first attribute difference information and the second attribute difference information corresponding to the first attribute difference information.
[0018] Optionally, the first attribute difference information is a binary value or a decimal between 0 and 1, and the first attribute difference information is transformed into second attribute difference information corresponding to the first attribute difference information according to the following preset transformation rule: if the first attribute difference information is a binary value, the second attribute difference information corresponding to the first attribute difference information is obtained by inverting the first attribute difference information; if the first attribute difference information is a decimal between 0 and 1, the second attribute difference information corresponding to the first attribute difference information is obtained according to the difference between 1 and the first attribute difference information.
[0019] Optionally, the importance of a certain attribute of the product is determined by the following method: performing an inner product operation on the predicted value vector and the attribute difference vector corresponding to the attribute of the product to obtain a first inner product operation result; performing an inner product operation on the predicted value vector and the predicted value vector itself to obtain a second inner product operation result; and determining the importance of the attribute of the product based on the ratio of the first inner product operation result to the second inner product operation result.
[0020] Optionally, after the step of determining the importance of the attributes of all commodities based on the predicted value vector and the attribute difference vector corresponding to each attribute of each commodity, the step includes: evaluating the value of the commodity to be evaluated based on the importance of each attribute of the commodity to be evaluated, the sales volume corresponding to each attribute value of the commodity to be evaluated, and the total sales volume of commodities in the category to which the commodity to be evaluated belongs.
[0021] According to another aspect of an embodiment of the present invention, a data processing device is provided.
[0022] A data processing device includes: a transition probability determination module, used to determine a first transition probability between commodities based on transaction data of each commodity and user data corresponding to each commodity; an attribute difference information generation module, used to generate first attribute difference information between commodities based on commodity master data of each commodity; a vector generation module, used to generate a prediction value vector based on the first transition probability and the first attribute difference information, and to generate an attribute difference vector corresponding to each attribute of each commodity based on the first attribute difference information; an attribute importance determination module, used to determine the importance of the attributes of all commodities based on the prediction value vector and the attribute difference vector corresponding to each attribute of each commodity.
[0023] Optionally, the user data includes user consumption behavior trajectory data, and the transaction data of each commodity includes the amount of the order corresponding to each commodity and the commodity amount in each order. The transition probability determination module is also used to: determine the transition probability consumption amount between commodities in the continuous orders according to the order amount corresponding to each commodity in two commodities in the same user's continuous orders, and the commodity amount of the two commodities in their respective orders, the continuous orders including a first order and a second order, and the two commodities belong to the first order and the second order respectively; according to the user consumption behavior trajectory data, the transition probability consumption amounts between commodities in the continuous orders of each user are summarized, and the summarized transition probability consumption amounts are normalized to obtain the first transition probability between the commodities.
[0024] Optionally, the commodity master data includes attribute information of the commodity, and the attribute difference information generation module is further used to: take two commodities of the same category as a commodity combination, and each commodity combination has the same attributes, wherein, for each commodity combination, if the attribute values of the two commodities in the commodity combination are non-numeric variables, then compare whether the attribute values of the two commodities are the same, and generate the first attribute difference information between the commodities according to the comparison result; if the attribute values of the two commodities in the commodity combination are numeric variables, then calculate the distance between the attribute values of the two commodities, and generate the first attribute difference information between the commodities according to the distance between the attribute values of the two commodities.
[0025] Optionally, the attribute difference information generating module calculates the distance between the attribute values of two commodities by the following method:
[0026]
[0027] The attribute difference information generating module generates the first attribute difference information between the commodities according to the distance between the attribute values of the two commodities by the following method:
[0028]
[0029] Among them, D ij represents the distance between the jth attribute values of two products in the i-th product combination, represents the jth attribute value of the first item in the i-th item combination. represents the jth attribute value of the second item in the i-th item combination, X ij Indicates the difference between the jth attribute values of two products in the i-th product combination, MAX(D j ) represents the maximum value of the distance between the j-th attribute values of two commodities in each commodity combination, and the first attribute difference information between the commodities is a collection of difference information between the attribute values of two commodities in each commodity combination of the same category.
[0030] Optionally, the vector generation module includes a prediction value vector generation submodule, which is used to: use the first attribute difference information as an independent variable, the first transition probability as a dependent variable, and use a preset prediction model to predict a second transition probability corresponding to the first transition probability; and generate a prediction value vector based on the first transition probability and the second transition probability corresponding to the first transition probability.
[0031] Optionally, the vector generation module includes an attribute difference vector generation submodule, which is used to: transform the first attribute difference information into second attribute difference information corresponding to the first attribute difference information according to a preset transformation rule; and generate an attribute difference vector corresponding to each attribute of each commodity according to the first attribute difference information and the second attribute difference information corresponding to the first attribute difference information.
[0032] Optionally, the first attribute difference information is a binary value or a decimal between 0 and 1, and the attribute difference vector generation submodule transforms the first attribute difference information into second attribute difference information corresponding to the first attribute difference information according to the following preset transformation rule: if the first attribute difference information is a binary value, the second attribute difference information corresponding to the first attribute difference information is obtained by inverting the first attribute difference information; if the first attribute difference information is a decimal between 0 and 1, the second attribute difference information corresponding to the first attribute difference information is obtained according to the difference between 1 and the first attribute difference information.
[0033] Optionally, the attribute importance determination module determines the importance of a certain attribute of the product by the following method: performing an inner product operation on the predicted value vector and the attribute difference vector corresponding to the attribute of the product to obtain a first inner product operation result; performing an inner product operation on the predicted value vector and the predicted value vector itself to obtain a second inner product operation result; and determining the importance of the attribute of the product based on the ratio of the first inner product operation result to the second inner product operation result.
[0034] Optionally, it also includes a value assessment module, which is used to assess the value of the commodity to be assessed based on the importance of each attribute of the commodity to be assessed, the sales volume corresponding to each attribute value of the commodity to be assessed, and the total sales volume of commodities in the category to which the commodity to be assessed belongs.
[0035] According to yet another aspect of the embodiments of the present invention, an electronic device is provided.
[0036] An electronic device comprises: one or more processors; a memory for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method provided by the present invention.
[0037] According to yet another aspect of an embodiment of the present invention, a computer readable medium is provided.
[0038] A computer readable medium stores a computer program, which implements the data processing method provided by the present invention when executed by a processor.
[0039] One embodiment of the above invention has the following advantages or beneficial effects: determining the first transition probability between commodities according to the transaction data of each commodity and the user data corresponding to each commodity; generating the first attribute difference information between commodities according to the commodity master data of each commodity; generating the prediction value vector according to the first transition probability and the first attribute difference information, and generating the attribute difference vector corresponding to each attribute of each commodity according to the first attribute difference information; determining the importance of the attributes of all commodities according to the prediction value vector and the attribute difference vector corresponding to each attribute of each commodity. It is possible to quantify the importance of different attributes and use the importance of different attributes to evaluate the value of newly listed commodities, saving time and effort, and well locating the scope of reference commodities, and considering not only the sales of similar commodities but also the needs of consumers, improving the reliability of the evaluation results, and accurately guiding business personnel to carry out commodity operations.
[0040] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0042] Figure 1 is a schematic diagram of main steps of a data processing method according to an embodiment of the present invention;
[0043] Figure 2 is a schematic diagram of attribute importance sorting according to an embodiment of the present invention;
[0044] Figure 3 is a schematic diagram of a commodity value assessment system according to an embodiment of the present invention;
[0045] Figure 4 is a schematic diagram of main modules of a data processing device according to an embodiment of the present invention;
[0046] Figure 5 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0047] Figure 6 It is a schematic diagram of the structure of a computer system suitable for implementing a server of an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0049] For e-commerce business personnel, what will be the future sales market of a certain product? How much stock should be prepared so that it will not be unsalable? For brand owners, in order to produce new products to complete product upgrades, which attribute characteristics of the products consumers have greater demand for, all require accurate and reliable evaluation of the value of the products. Therefore, when evaluating the value of new products, it is necessary not only to consider the current sales of similar products, but also to consider the needs of consumers. The embodiment of the present invention provides a commodity value evaluation system based on attribute importance, which can quantify the importance of different attributes and use the importance of different attributes to evaluate the value of a certain commodity. Through the system, users can understand the transfer probability between each commodity, the importance of different attributes, and the sales volume that the commodity to be evaluated may reach in the future. When conducting sales operations and inventory management to be evaluated, relevant strategies can be adjusted based on this. The commodity to be evaluated in the embodiment of the present invention may be a newly listed commodity (i.e., a new product). However, the data processing method of the embodiment of the present invention is not limited to evaluating the value of new products, but can also be used to evaluate the value of non-new products.
[0050] Figure 1 It is a schematic diagram of main steps of a data processing method according to an embodiment of the present invention.
[0051] like Figure 1 As shown, a data processing method according to an embodiment of the present invention mainly includes the following steps S101 to S105.
[0052] Step S101: determining a first transition probability between commodities according to transaction data of each commodity and user data corresponding to each commodity.
[0053] The transaction data of a certain commodity mainly includes the order data of the commodity, which may specifically include the amount of the order corresponding to the commodity, and the amount of the commodity in the corresponding order. For example, if a user purchases commodity A in order 1, the transaction data of the commodity may specifically include the amount of order 1 and the amount of commodity A in order 1.
[0054] The above-mentioned user data refers to the consumption behavior trajectory data and user information of the user during the purchase process. The consumption behavior trajectory data reflects the consumption behavior trajectory of the user on which products he / she will purchase next time after purchasing a certain product.
[0055] Step S101 specifically includes: determining the transition probability consumption amount between commodities in the continuous orders according to the order amount corresponding to each commodity in two commodities in the continuous orders of the same user and the commodity amounts of the two commodities in their respective orders, wherein the continuous orders include a first order and a second order, and the two commodities belong to the first order and the second order respectively; summarizing the transition probability consumption amount between commodities in the continuous orders of each user according to the user consumption behavior trajectory data, and normalizing the summarized transition probability consumption amount to obtain the first transition probability between commodities.
[0056] Continuous orders are two consecutive shopping orders of the same user. For example, the consecutive orders of the same user are order 1 and order 2. Order 1 includes product A, and order 2 includes product B. The transition probability consumption amount Ri(A,B) between products in the consecutive orders can be determined by the following formula:
[0057]
[0058] Among them, Sale1 represents the total amount of order 1, Sale2 represents the total amount of order 2, and Sale 1A Indicates the amount of item A in order 1, Sale 2B Represents the amount of product B in order 2. The transition probability consumption amount Ri(A,B) between products in consecutive orders reflects the consumption transfer of the user to purchase product B in the next order after purchasing product A.
[0059] Statistics are collected for all users’ consumption behavior trajectory data, and the transition probability consumption amounts between products in all users’ consecutive orders are summarized. The summarized transition probability consumption amounts are normalized to obtain the first transition probability between products. The first transition probability between products quantifies the probability that a user will buy another product after purchasing a certain product. Through the first transition probability between products, business personnel can understand the consumption flow of users between different products, as well as the probability that a user can buy the same product again or transfer to a different product.
[0060] Step S102: Generate first attribute difference information between commodities according to the commodity master data of each commodity.
[0061] Product master data refers to the main information of a product, including the product's attribute information.
[0062] Step S102 specifically includes: taking two commodities of the same category as a commodity combination, and each commodity combination has the same attribute, wherein, for each commodity combination, if the attribute values of the two commodities in the commodity combination are non-numeric variables, comparing whether the attribute values of the two commodities are the same, and generating first attribute difference information between the commodities according to the comparison result; if the attribute values of the two commodities in the commodity combination are numeric variables, calculating the distance between the attribute values of the two commodities, and generating first attribute difference information between the commodities according to the distance between the attribute values of the two commodities.
[0063] The category of a commodity may specifically be the category to which the commodity belongs. The first attribute difference information between commodities reflects the difference between the attribute values of two commodities of the same category. For the attribute values of non-numeric variables, such as brand, color, etc., the difference is expressed by comparing whether the attribute values are the same or different. For the attribute values of numerical variables, such as price, capacity, etc., the difference is expressed by calculating the distance between the attribute values.
[0064] Specifically, for product combination C i (i∈[1,n]), first confirm whether the products have the same attributes. If the attributes are the same, create an attribute similarity table. Among them:
[0065] For the attribute values of non-numeric variables, the attribute values of the two products are compared in turn. If they are the same, it is recorded as 1, and if they are not the same, it is recorded as 0. ij Represents the difference between the jth attribute values of two products in the i-th product combination, that is:
[0066]
[0067]
[0068] in, represents the jth attribute value of the first item in the i-th item combination. Represents the j-th attribute value of the second item in the i-th item combination.
[0069] For the attribute value of a numeric variable,
[0070] The distance between the attribute values of two products is calculated as follows:
[0071]
[0072] According to the distance between the attribute values of two commodities, the difference information between the jth attribute values of two commodities in the commodity combination is generated by the following method:
[0073]
[0074] Among them, D ij represents the distance between the jth attribute values of two products in the i-th product combination, represents the jth attribute value of the first item in the i-th item combination. represents the jth attribute value of the second item in the i-th item combination, X ij Indicates the difference between the jth attribute values of two products in the i-th product combination, MAX(D j ) represents the maximum value of the distance between the j-th attribute values of two products in each product combination.
[0075] The first attribute difference information between commodities is a collection of the difference information between the attribute values of two commodities in each commodity combination of the same category. It can be seen from the above formulas (or expressions) that for the attribute values of non-numeric variables, the first attribute difference information between commodities consists of binary values 0 or 1; for the attribute values of numeric variables, the first attribute difference information between commodities consists of decimals between 0 and 1.
[0076] For the attribute value of a non-numeric variable, the attribute similarity table prepared according to the first attribute difference information can be shown in Table 1. Table 1 shows 7 product combinations C i The difference information of the three attributes (brand, color, size) of (i∈[1,7]).
[0077] Table 1
[0078] brand color size <![CDATA[C1]]> 0 1 0 <![CDATA[C2]]> 1 0 0 <![CDATA[C3]]> 0 1 1 <![CDATA[C4]]> 1 1 1 <![CDATA[C5]]> 0 1 0 <![CDATA[C6]]> 0 0 1 <![CDATA[C7]]> 0 1 1
[0079] It should be noted that the execution order of the above-mentioned step S101 and step S102 can be interchanged, that is, step S102 is executed first, and then step S101 is executed.
[0080] Step S103: generating a prediction value vector according to the first transition probability between commodities and the first attribute difference information between commodities, and generating an attribute difference vector corresponding to each attribute of each commodity according to the first attribute difference information.
[0081] Among them, the step of generating a prediction value vector based on the first transition probability and the first attribute difference information may specifically include: taking the first attribute difference information between commodities as an independent variable, taking the first transition probability between the commodities as a dependent variable, and using a preset prediction model to predict a second transition probability corresponding to the first transition probability; generating a prediction value vector based on the first transition probability and the second transition probability corresponding to the first transition probability.
[0082] The preset prediction model can be a random forest algorithm fitting model. Taking the data in Table 1 as an example, the process of generating the prediction value vector is: i There is a first transition probability between two commodities in each commodity combination in (i∈[1,7]). These first transition probabilities are used as dependent variables, and a column of data corresponding to each attribute in Table 1 is used as an independent variable. They are input into the random forest algorithm fitting model to predict the second transition probabilities. The vector composed of the first transition probabilities is concatenated with the vector composed of the predicted second transition probabilities to obtain the predicted value vector.
[0083] The step of generating an attribute difference vector corresponding to each attribute of each commodity according to the first attribute difference information specifically includes: according to a preset transformation rule, transforming the first attribute difference information into second attribute difference information corresponding to the first attribute difference information; generating an attribute difference vector corresponding to each attribute of each commodity according to the first attribute difference information and the second attribute difference information corresponding to the first attribute difference information.
[0084] Among them, the first attribute difference information can be transformed into second attribute difference information corresponding to the first attribute difference information according to the following preset transformation rules: if the first attribute difference information is a binary value, the second attribute difference information corresponding to the first attribute difference information is obtained by inverting the first attribute difference information; if the first attribute difference information is a decimal between 0 and 1, the second attribute difference information corresponding to the first attribute difference information is obtained according to the difference between 1 and the first attribute difference information.
[0085] Taking the data in Table 1 as an example, the first attribute difference information of a column corresponding to the brand is (0,1,0,1,0,0,0). According to the above transformation rule, the inversion is performed, and the second attribute difference information obtained is (1,0,1,0,1,1,1). The vector of the first attribute difference information and the vector of the second attribute difference information are concatenated to generate the attribute difference vector corresponding to the brand attribute of each product, that is: (0,1,0,1,0,0,0,1,0,1,0,1,1,1).
[0086] Step S104: Determine the importance of the attributes of all commodities according to the predicted value vector and the attribute difference vector corresponding to each attribute of each commodity.
[0087] Use decision trees to determine the importance of the attributes of goods. The importance of a certain attribute of a product can be determined by the following method: perform an inner product operation on the predicted value vector and the attribute difference vector corresponding to the attribute of the product to obtain a first inner product operation result; perform an inner product operation on the predicted value vector and the predicted value vector itself to obtain a second inner product operation result; determine the importance of the attribute of the product based on the ratio of the first inner product operation result to the second inner product operation result. The corresponding formula is:
[0088]
[0089] Among them, E j is the importance of the jth attribute, X j is the attribute difference vector corresponding to the jth attribute, and R is the predicted value vector. j The larger it is, the greater the role attribute j plays in the user's purchase decision and the higher its importance.
[0090] According to the calculated attribute importance, the attributes of products in the same category can be ranked. Figure 2 Based on the importance of attributes, it can better help brands identify user needs, discover gaps in market segments, understand which attribute segments have large user demand and fast growth, and guide the research and development of new products.
[0091] Step S105: Evaluate the value of the commodity to be evaluated according to the importance of each attribute of the commodity to be evaluated, the sales amount corresponding to each attribute value of the commodity to be evaluated, and the total sales amount of commodities in the category to which the commodity to be evaluated belongs.
[0092] Step S105 may specifically include: multiplying the importance of each attribute of the commodity to be evaluated by the sales volume corresponding to the attribute value of the commodity to be evaluated, and adding up the multiplication results; and obtaining a numerical value corresponding to the value of the commodity to be evaluated by calculating the ratio of the summed result to the total sales volume of the commodity category to which the commodity to be evaluated belongs.
[0093] The sales amount corresponding to a certain attribute value of the commodity to be evaluated refers to the sales amount corresponding to the attribute value of commodities having the attribute value in the category (such as product category) to which the commodity to be evaluated belongs.
[0094] Since each product is composed of different attribute values, the value of a new product can be calculated based on the attribute values of the new product itself and combined with user needs. For example, for a certain product to be evaluated, a newly launched tomato-flavored X-type beverage (assuming that X-type beverage is a common beverage), although the tomato-flavored X-type beverage is a new product, it still has some known attribute values, such as brand (a certain brand), packaging volume (250 mL), packaging type (bottled), etc. According to these attribute values, the sales corresponding to these attribute values of the product to be evaluated can be obtained, that is, the sales of products of a certain brand under this category, the sales of products with a packaging volume of 250 mL, the sales of products with a packaging type of bottled, etc.
[0095] The specific calculation formula for evaluating the value M of a commodity to be evaluated is as follows:
[0096]
[0097] Among them, P M represents the value of the new product M, E j represents the importance of the jth attribute of the new product M, Sale Mj represents the sales volume of the new product M corresponding to the jth attribute value, Sale M_total Indicates the total sales of the category to which the new product M belongs. Mj and Sale M_total You can select data from a fixed time period recently after the new product M was launched, such as data from the most recent month.
[0098] The numerical value corresponding to the value of the commodity to be evaluated obtained in the embodiment of the present invention can also be used to predict the sales of the commodity to be evaluated. For example, for a new product that is not available in the market or a newly launched commodity, there is no historical data to rely on. After obtaining the value of the new product, the corresponding relationship between the value and sales of existing commodities can be referred to. According to the sales corresponding to the value of existing commodities with the same or similar value as the new product, the predicted value of the sales of the new product can be obtained. For example, if the value of an existing commodity is the same as (the same numerical value) or similar to (the numerical value belongs to the same preset range) as the value of a new product, the sales of the new product can be predicted based on the sales of the existing commodity.
[0099] Figure 3 Schematic diagram of a commodity value assessment system according to an embodiment of the present invention.
[0100] like Figure 3 As shown, the commodity value evaluation system of the embodiment of the present invention mainly includes three parts: a data part, an algorithm part, and a user interface part.
[0101] The data part includes product master data, transaction data and user data.
[0102] The algorithm includes a commodity transfer probability model, an attribute importance model, and a commodity value assessment model. The commodity transfer probability model uses the user's purchase behavior between different commodities to measure the transfer probability between commodities (i.e., the first transfer probability). The attribute importance model uses the similarity between attributes and the user transfer probability (including the first transfer probability and the second transfer probability) to quantify the importance of different attributes. The commodity value assessment model assesses the value of commodities based on the attribute importance model.
[0103] To provide users with suitable products, it is first necessary to understand the user's purchasing behavior and the user's most important needs. Through the attribute importance model of the embodiment of the present invention, the attributes that are most important to the user when purchasing can be quantified. For consumers, the more important the attribute is, the greater the possibility of purchasing this product. Each product can be decomposed into several product attributes, which ultimately drive the customer's purchase decision. For example, a Y brand mobile phone can be decomposed into attributes such as brand, screen size, and color. For each product, each attribute of each product is listed to obtain an attribute matrix V. Based on the transition probability between products (the first transition probability and the second transition probability corresponding to the first transition probability), the impact of different attributes on the difference between products is calculated. The attribute with the largest difference drives the most user decisions, that is, the highest importance. For example, when buying a mobile phone, a white Y brand mobile phone XI model and a white Y brand mobile phone XII model, when other attributes are the same, the user finally buys the XII model with a larger screen size, which means that the screen size has a great influence on the user's decision and is of high importance.
[0104] Through the commodity value assessment model of the embodiment of the present invention, the future sales market of the commodity can be predicted, thereby guiding business personnel to better carry out commodity sales operations and stocking strategies. For example, for a commodity that is not available on the market or a newly launched commodity, there is no historical data to rely on. We can use this model to predict the sales of the new product. For the newly introduced products, we can also give priority to the introduction of high-value commodities based on the value ranking of the new products.
[0105] The user interface allows users to view the transition probability between each product (i.e., the first transition probability), attribute importance ranking, product value, etc., to guide business personnel to implement different operation strategies.
[0106] Through the commodity value assessment system of the embodiment of the present invention, it is possible to understand how consumers make decisions during the shopping process and which attributes are more important or in greater demand for consumers, thereby quantifying the value of commodities (such as new products), understanding the market potential of commodities, and providing strategic support for commodity sales operations and inventory preparation.
[0107] Figure 4 4 is a schematic diagram of main modules of a data processing device according to an embodiment of the present invention.
[0108] like Figure 4 As shown, the data processing device 400 of the embodiment of the present invention mainly includes: a transition probability determination module 401, an attribute difference information generation module 402, a vector generation module 403, an attribute importance determination module 404, and a value evaluation module 405.
[0109] The transition probability determination module 401 is used to determine the first transition probability between commodities according to the transaction data of each commodity and the user data corresponding to each commodity.
[0110] The transaction data of each commodity includes the amount of the order corresponding to each commodity and the amount of the commodities in each order, and the user data includes the user consumption behavior trajectory data.
[0111] The transition probability determination module 401 can be specifically used to: determine the transition probability consumption amount between commodities in the continuous orders according to the order amount corresponding to each commodity in the two commodities of the same user's continuous orders, and the commodity amounts of the two commodities in their respective orders, the continuous orders include the first order and the second order, and the two commodities belong to the first order and the second order respectively; according to the user consumption behavior trajectory data, the transition probability consumption amount between commodities in the continuous orders of each user is summarized, and the summarized transition probability consumption amount is normalized to obtain the first transition probability between commodities.
[0112] The attribute difference information generating module 402 is used to generate first attribute difference information between commodities according to the commodity master data of each commodity.
[0113] Product master data includes product attribute information.
[0114] The attribute difference information generating module 402 can be specifically used to: take two commodities of the same category as a commodity combination, and each commodity combination has the same attribute, wherein, for each commodity combination, if the attribute values of the two commodities in the commodity combination are non-numeric variables, then compare whether the attribute values of the two commodities are the same, and generate the first attribute difference information between the commodities according to the comparison result; if the attribute values of the two commodities in the commodity combination are numeric variables, then calculate the distance between the attribute values of the two commodities, and generate the first attribute difference information between the commodities according to the distance between the attribute values of the two commodities.
[0115] The attribute difference information generating module 402 may specifically calculate the distance between the attribute values of two commodities by the following method:
[0116]
[0117] Furthermore, the attribute difference information generating module 402 can generate the first attribute difference information between the commodities according to the distance between the attribute values of the two commodities by the following method:
[0118]
[0119] Among them, D ij represents the distance between the jth attribute values of two products in the i-th product combination, represents the jth attribute value of the first item in the i-th item combination. represents the jth attribute value of the second item in the i-th item combination, X ij Indicates the difference between the jth attribute values of two products in the i-th product combination, MAX(D j ) represents the maximum value of the distance between the jth attribute values of two commodities in each commodity combination, and the first attribute difference information between commodities is the set of difference information between the attribute values of two commodities in each commodity combination of the same category.
[0120] The vector generation module 403 is used to generate a prediction value vector according to the first transition probability between commodities and the first attribute difference information between commodities, and to generate an attribute difference vector corresponding to each attribute of each commodity according to the first attribute difference information.
[0121] The vector generation module 403 may include a prediction value vector generation submodule, which is used to: use the first attribute difference information between commodities as an independent variable, use the first transition probability between commodities as a dependent variable, and use a preset prediction model to predict the second transition probability corresponding to the first transition probability; and generate a prediction value vector based on the first transition probability and the second transition probability corresponding to the first transition probability.
[0122] The vector generation module 403 may also include an attribute difference vector generation submodule, which is used to: transform the first attribute difference information into second attribute difference information corresponding to the first attribute difference information according to a preset transformation rule; and generate an attribute difference vector corresponding to each attribute of each commodity according to the first attribute difference information and the second attribute difference information corresponding to the first attribute difference information.
[0123] The first attribute difference information may be a binary value or a decimal between 0 and 1.
[0124] The attribute difference vector generation submodule can transform the first attribute difference information into the second attribute difference information corresponding to the first attribute difference information according to the following preset transformation rules: if the first attribute difference information is a binary value, the second attribute difference information corresponding to the first attribute difference information is obtained by inverting the first attribute difference information; if the first attribute difference information is a decimal between 0 and 1, the second attribute difference information corresponding to the first attribute difference information is obtained according to the difference between 1 and the first attribute difference information.
[0125] The attribute importance determination module 404 is used to determine the importance of the attributes of all commodities according to the predicted value vector and the attribute difference vector corresponding to each attribute of each commodity.
[0126] The attribute importance determination module 404 can determine the importance of a certain attribute of the product by the following method: performing an inner product operation on the predicted value vector and the attribute difference vector corresponding to the attribute of the product to obtain a first inner product operation result; performing an inner product operation on the predicted value vector and the predicted value vector itself to obtain a second inner product operation result; and determining the importance of the attribute of the product based on the ratio of the first inner product operation result to the second inner product operation result.
[0127] The value assessment module 405 is used to assess the value of the commodity to be assessed based on the importance of each attribute of the commodity to be assessed, the sales volume corresponding to each attribute value of the commodity to be assessed, and the total sales volume of commodities in the category to which the commodity to be assessed belongs.
[0128] The sales amount corresponding to a certain attribute value of the commodity to be evaluated refers to the sales amount corresponding to the attribute value of commodities having the attribute value in the category (eg, category) to which the commodity to be evaluated belongs.
[0129] The value assessment module 405 is specifically used to: multiply the importance of each attribute of the commodity to be assessed by the sales volume corresponding to the attribute value of the commodity to be assessed, and add up the multiplication results; and obtain a numerical value corresponding to the value of the commodity to be assessed by calculating the ratio of the summed result to the total sales volume of the commodity category to which the commodity to be assessed belongs.
[0130] The data processing device of the embodiment of the present invention can quantify the importance of different attributes, and use the importance of different attributes to evaluate the value of newly launched products, which overcomes the defect of the prior art of investigating whether there is a willingness to purchase the product through questionnaire surveys, saves time and effort, and improves the reliability of the evaluation results. In addition, by selecting two products with the same attributes of the same category as the product combination, the difference information of the product attributes is obtained, which can well locate the scope of the reference product, and not only consider the sales of similar products (for example, the same category and the same attributes), but also consider the needs of consumers. When determining the first transfer probability between products, the user consumption behavior trajectory data is used, so that the consumption flow between different products can be reflected through the transfer probability between products. Finally, the importance of product attributes is quantified by using the transfer probability and attribute difference information between products, and then the value of the product is evaluated, which can accurately guide business personnel to carry out product operations.
[0131] The specific implementation content of the data processing device in the embodiment of the present invention has been described in detail in the above-mentioned data processing method, so the repeated content will not be described again here.
[0132] Figure 5 An exemplary system architecture 500 is shown to which the data processing method or data processing device according to the embodiment of the present invention can be applied.
[0133] like Figure 5As shown, system architecture 500 may include terminal devices 501, 502, 503, a network 504 and a server 505. Network 504 is used to provide a medium for communication links between terminal devices 501, 502, 503 and server 505. Network 504 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0134] Users can use terminal devices 501, 502, 503 to interact with server 505 through network 504 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 501, 502, 503, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0135] The terminal devices 501 , 502 , and 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0136] The server 505 may be a server that provides various services, such as a backend management server that provides support for shopping websites browsed by users using the terminal devices 501, 502, and 503. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as evaluation results) to the terminal device.
[0137] It should be noted that the data processing method provided in the embodiment of the present invention is generally executed by the server 505 , and accordingly, the data processing device is generally disposed in the server 505 .
[0138] It should be understood that Figure 5 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0139] Reference below Figure 6 , which shows a schematic diagram of the structure of a computer system 600 suitable for implementing a server of an embodiment of the present application. Figure 6 The server shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0140] like Figure 6As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0141] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0142] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the main step schematic diagram can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the main step schematic diagram. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present application are executed.
[0143] It should be noted that the computer-readable medium shown in the present invention can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0144] The main step schematic diagram and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the main step schematic diagram or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or the main step schematic diagram, and the combination of the boxes in the block diagram or the main step schematic diagram can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0145] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes a transition probability determination module 401, an attribute difference information generation module 402, a vector generation module 403, and an attribute importance determination module 404. The names of these modules do not constitute a limitation on the modules themselves in some cases. For example, the transition probability determination module 401 may also be described as "a module for determining the first transition probability between commodities based on the transaction data of each commodity and the user data corresponding to each commodity".
[0146] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: determining the first transition probability between commodities according to the transaction data of each commodity and the user data corresponding to the commodities; generating the first attribute difference information between commodities according to the commodity master data of the commodities; generating a prediction value vector according to the first transition probability and the first attribute difference information, and generating an attribute difference vector corresponding to each attribute of each commodity according to the first attribute difference information; determining the importance of the attributes of all commodities according to the prediction value vector and the attribute difference vector corresponding to each attribute of each commodity.
[0147] According to the technical solution of the embodiment of the present invention, based on the transaction data, user data, and product master data of the products, the transfer probability and attribute differences between the products are quantified, and then the importance of the product attributes is quantified, and then the value of the product to be evaluated is evaluated according to the importance of each attribute of the product to be evaluated, the sales corresponding to each attribute value of the product to be evaluated, and the total sales of the products in the category to which the product to be evaluated belongs. It is possible to quantify the importance of different attributes, and use the importance of different attributes to evaluate the value of newly listed products, saving time and effort, and can well locate the scope of reference products, and not only consider the sales of similar products, but also consider the needs of consumers, improve the reliability of the evaluation results, and accurately guide business personnel to carry out product operations.
[0148] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A data processing method, characterized in that: include: Determine a first transfer probability between commodities according to transaction data of each commodity and user data corresponding to each commodity; generating first attribute difference information between the commodities according to the commodity master data of the commodities; generating a prediction value vector according to the first transition probability and the first attribute difference information, and generating an attribute difference vector corresponding to each attribute of each commodity according to the first attribute difference information; Determining the importance of the attributes of all commodities according to the predicted value vector and the attribute difference vector corresponding to each attribute of each commodity; The step of generating a prediction value vector according to the first transition probability and the first attribute difference information includes: Taking the first attribute difference information as an independent variable and the first transition probability as a dependent variable, using a preset prediction model, predicting a second transition probability corresponding to the first transition probability; generating a prediction value vector according to the first transition probability and a second transition probability corresponding to the first transition probability; The user data includes user consumption behavior trajectory data, and the transaction data of each commodity includes the amount of each commodity corresponding to the order and the amount of the commodity in each order. The step of determining a first transition probability between commodities according to transaction data of each commodity and user data corresponding to each commodity includes: Determine the transition probability consumption amount between commodities in the continuous orders according to the order amount corresponding to each commodity in two commodities in the continuous orders of the same user and the commodity amounts of the two commodities in their respective orders, wherein the continuous orders include a first order and a second order, and the two commodities belong to the first order and the second order respectively; According to the user consumption behavior trajectory data, the transition probability consumption amounts between commodities in the consecutive orders of each user are summarized, and the summarized transition probability consumption amounts are normalized to obtain the first transition probability between the commodities; After the step of determining the importance of the attributes of all commodities according to the predicted value vector and the attribute difference vector corresponding to each attribute of each commodity, the method further comprises: The value of the commodity to be evaluated is evaluated according to the importance of each attribute of the commodity to be evaluated, the sales volume corresponding to each attribute value of the commodity to be evaluated, and the total sales volume of commodities in the category to which the commodity to be evaluated belongs.
2. The method according to claim 1, characterized in that The commodity master data includes commodity attribute information. The step of generating first attribute difference information between commodities according to the commodity master data of each commodity includes: Two products of the same category are considered as a product combination, and each product combination has the same attributes. For each product combination, If the attribute values of two commodities in the commodity combination are non-numeric variables, comparing the attribute values of the two commodities to see whether they are the same, and generating first attribute difference information between the commodities according to the comparison result; If the attribute values of two commodities in the commodity combination are numerical variables, the distance between the attribute values of the two commodities is calculated, and first attribute difference information between the commodities is generated according to the distance between the attribute values of the two commodities.
3. The method according to claim 2, characterized in that The distance between the attribute values of two products is calculated as follows: According to the distance between the attribute values of the two commodities, the first attribute difference information between the commodities is generated by the following method: Among them, D ij represents the distance between the jth attribute values of two products in the i-th product combination, represents the jth attribute value of the first item in the i-th item combination. represents the jth attribute value of the second item in the i-th item combination, X ij Indicates the difference between the jth attribute values of two products in the i-th product combination, MAX(D j ) represents the maximum value of the distance between the j-th attribute values of two commodities in each commodity combination, and the first attribute difference information between the commodities is a collection of difference information between the attribute values of two commodities in each commodity combination of the same category.
4. The method according to claim 1, characterized in that The step of generating an attribute difference vector corresponding to each attribute of each commodity according to the first attribute difference information includes: According to a preset transformation rule, transforming the first attribute difference information into second attribute difference information corresponding to the first attribute difference information; An attribute difference vector corresponding to each attribute of each commodity is generated according to the first attribute difference information and second attribute difference information corresponding to the first attribute difference information.
5. The method according to claim 4, characterized in that The first attribute difference information is a binary value or a decimal between 0 and 1. According to the following preset transformation rule, the first attribute difference information is transformed into second attribute difference information corresponding to the first attribute difference information: If the first attribute difference information is a binary value, the second attribute difference information corresponding to the first attribute difference information is obtained by inverting the first attribute difference information; If the first attribute difference information is a decimal between 0 and 1, the second attribute difference information corresponding to the first attribute difference information is obtained according to the difference between 1 and the first attribute difference information.
6. The method according to claim 1, characterized in that The importance of a certain attribute of a product is determined by the following method: Performing an inner product operation on the predicted value vector and the attribute difference vector corresponding to the attribute of the product to obtain a first inner product operation result; Obtaining a second inner product operation result according to an inner product operation of the predicted value vector and the predicted value vector itself; The importance of the attribute of the commodity is determined according to a ratio of the first inner product calculation result to the second inner product calculation result.
7. A data processing device, characterized in that: include: A transition probability determination module, used to determine a first transition probability between commodities according to transaction data of each commodity and user data corresponding to each commodity; An attribute difference information generating module, used for generating first attribute difference information between commodities according to the commodity master data of each commodity; a vector generation module, configured to generate a prediction value vector according to the first transition probability and the first attribute difference information, and to generate an attribute difference vector corresponding to each attribute of each commodity according to the first attribute difference information; An attribute importance determination module, used to determine the importance of the attributes of all commodities according to the predicted value vector and the attribute difference vector corresponding to each attribute of each commodity; The vector generation module includes a prediction value vector generation submodule, which is used to: Taking the first attribute difference information as an independent variable and the first transition probability as a dependent variable, using a preset prediction model, predicting a second transition probability corresponding to the first transition probability; generating a prediction value vector according to the first transition probability and a second transition probability corresponding to the first transition probability; The user data includes user consumption behavior trajectory data, and the transaction data of each commodity includes the amount of each commodity corresponding to the order and the amount of the commodity in each order. The transition probability determination module is also used for: Determine the transition probability consumption amount between commodities in the continuous orders according to the order amount corresponding to each commodity in two commodities in the continuous orders of the same user and the commodity amounts of the two commodities in their respective orders, wherein the continuous orders include a first order and a second order, and the two commodities belong to the first order and the second order respectively; According to the user consumption behavior trajectory data, the transition probability consumption amounts between commodities in the consecutive orders of each user are summarized, and the summarized transition probability consumption amounts are normalized to obtain the first transition probability between the commodities; Value Assessment Module for: The value of the commodity to be evaluated is evaluated according to the importance of each attribute of the commodity to be evaluated, the sales volume corresponding to each attribute value of the commodity to be evaluated, and the total sales volume of commodities in the category to which the commodity to be evaluated belongs.
8. The device according to claim 7, characterized in that The commodity master data includes commodity attribute information. The attribute difference information generating module is also used for: Two products of the same category are considered as a product combination, and each product combination has the same attributes. For each product combination, If the attribute values of two commodities in the commodity combination are non-numeric variables, comparing the attribute values of the two commodities to see whether they are the same, and generating first attribute difference information between the commodities according to the comparison result; If the attribute values of two commodities in the commodity combination are numerical variables, the distance between the attribute values of the two commodities is calculated, and first attribute difference information between the commodities is generated according to the distance between the attribute values of the two commodities.
9. The device according to claim 8, characterized in that The attribute difference information generation module calculates the distance between the attribute values of two commodities by the following method: The attribute difference information generating module generates the first attribute difference information between the commodities according to the distance between the attribute values of the two commodities by the following method: Among them, D ij represents the distance between the jth attribute values of two products in the i-th product combination, represents the jth attribute value of the first item in the i-th item combination. represents the jth attribute value of the second item in the i-th item combination, X ij Indicates the difference between the jth attribute values of two products in the i-th product combination, MAX(D j ) represents the maximum value of the distance between the j-th attribute values of two commodities in each commodity combination, and the first attribute difference information between the commodities is a collection of difference information between the attribute values of two commodities in each commodity combination of the same category.
10. The device according to claim 7, characterized in that The vector generation module includes an attribute difference vector generation submodule, which is used to: According to a preset transformation rule, transforming the first attribute difference information into second attribute difference information corresponding to the first attribute difference information; An attribute difference vector corresponding to each attribute of each commodity is generated according to the first attribute difference information and second attribute difference information corresponding to the first attribute difference information.
11. The device according to claim 10, characterized in that The first attribute difference information is a binary value or a decimal between 0 and 1. The attribute difference vector generation submodule transforms the first attribute difference information into second attribute difference information corresponding to the first attribute difference information according to the following preset transformation rule: If the first attribute difference information is a binary value, the second attribute difference information corresponding to the first attribute difference information is obtained by inverting the first attribute difference information; If the first attribute difference information is a decimal between 0 and 1, the second attribute difference information corresponding to the first attribute difference information is obtained according to the difference between 1 and the first attribute difference information.
12. The device according to claim 7, characterized in that The attribute importance determination module determines the importance of a certain attribute of a product by the following method: Performing an inner product operation on the predicted value vector and the attribute difference vector corresponding to the attribute of the product to obtain a first inner product operation result; Obtaining a second inner product operation result according to an inner product operation of the predicted value vector and the predicted value vector itself; The importance of the attribute of the commodity is determined according to a ratio of the first inner product calculation result to the second inner product calculation result.
13. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 6.
14. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
