A product recommendation method for providing health solutions based on enterprise data
By conducting volatility analysis and clustering of enterprise data, and combining versatility and specialization, the product recommendation degree is calculated, which solves the problem that the existing system cannot meet the personalized needs and realizes personalized product recommendation.
Patent Information
- Application Number
- CN202311857630.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-12-29
AI Technical Summary
The existing product recommendation system cannot meet the personalized and differentiated needs of corporate customers, mainly because it only considers the overall situation of the enterprise and ignores the differentiated characteristics between enterprises, resulting in the recommended products being the same and unable to meet personalized needs.
By collecting data from the current enterprise and other enterprises, we calculate the degree of fluctuation of the data, perform cluster analysis, obtain the versatility and specialization, and combine the overall degree of fluctuation to calculate the recommendation degree of the product and make personalized product recommendations for the enterprise.
It achieves accurate product recommendations based on fluctuations in corporate data, meets personalized and differentiated needs, and improves the accuracy and personalization of recommendations.
Smart Images

Figure CN117808549B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a product recommendation method for providing health solutions based on enterprise data. Background Art
[0002] In today's business environment, enterprises are facing increasingly fierce competition and rapidly changing market conditions. To survive and thrive in this competitive environment, enterprises need more intelligent and accurate methods to meet their changing needs. In the field of product recommendation, many enterprises rely on traditional recommendation systems, which are mainly based on the company's historical purchase records and behavior data. However, there are relatively few recommendation systems for corporate customers, so most of the product recommendation systems are not reasonable for corporate customers.
[0003] The existing product recommendation system mainly uses data analysis to evaluate the scale of the enterprise, and then recommends products to customers based on the scale of the enterprise. This method only takes into account the overall situation of the enterprise and ignores the differences between enterprises and the characteristic needs of individual enterprises, resulting in the recommended products being the same and unable to meet personalized and differentiated product recommendations. Summary of the invention
[0004] In order to solve the above problems, the present invention provides a product recommendation method for providing health solutions based on enterprise data.
[0005] A product recommendation method for providing a health solution based on enterprise data of the present invention adopts the following technical solution:
[0006] An embodiment of the present invention provides a product recommendation method for providing a health solution based on enterprise data, the method comprising the following steps:
[0007] Collecting current enterprise data, other enterprise data and comparative enterprise data, wherein each of the current enterprise data, other enterprise data and comparative enterprise data includes several items of data;
[0008] According to the value of each item of each data in the current enterprise data, obtain the fluctuation degree of each item of data in the current enterprise data; obtain the fluctuation degree of each item of data in each comparative enterprise data; according to the fluctuation degree of each item of data in each comparative enterprise data and the fluctuation degree of each item of data in the current enterprise data, obtain the final fluctuation degree of each item of data in the current enterprise data; take the average of the final fluctuation degrees of all items of data in the current enterprise data as the overall fluctuation degree of the current enterprise data; obtain the overall fluctuation degree of each other enterprise data;
[0009] The number of seed points and the drift bandwidth radius are preset, and all other enterprise data and the current enterprise data are clustered according to the preset number of seed points and the drift bandwidth radius, the overall fluctuation degree of each other enterprise data and the overall fluctuation degree of the current enterprise data. In the clustering process, the initial mean drift vector of each seed point is obtained, and the data density of each seed point within the drift bandwidth radius and the overall data density are obtained; the initial mean drift vector of each seed point is corrected according to the data density of each seed point within the drift bandwidth radius and the overall data density to obtain the mean drift vector of each seed point; clustering is completed according to the mean drift vector of each seed point to obtain several clustering clusters; according to the number of enterprise data in each clustering cluster and the overall fluctuation degree of enterprise data, the versatility of the current product is obtained; according to the number of enterprise data in each clustering cluster and the overall fluctuation degree of enterprise data, the specialization of the current product is obtained; according to the versatility of the current product, the specialization of the current product and the overall fluctuation degree of the current enterprise data, the recommendation degree of the current product is obtained;
[0010] Recommend products to the current enterprise based on the recommendation degree of the current product.
[0011] Preferably, the collecting of current enterprise data, other enterprise data and comparative enterprise data includes the following specific steps:
[0012] Record any enterprise as the current enterprise, obtain the data of the current enterprise at the current time point and every month before the current time point as the data of the current enterprise;
[0013] The number of enterprises M is preset, and the M enterprises whose market value is closest to the current enterprise are recorded as comparison enterprises. The data of any comparison enterprise at the current time point and each month before the current time point are obtained as each data of the comparison enterprise data, and each data of each comparison enterprise data is obtained; the enterprise market value is one of the data in the current enterprise data;
[0014] Record any product as the current product, record each company in the purchase record of the current product before the current time point as other companies, obtain the data of any other company at the current time point and every month before the current time point as the individual data of the other company data, and obtain the individual data of each other company data.
[0015] Preferably, the step of obtaining the fluctuation degree of each item of data in the current enterprise data according to the value of each item of data in the current enterprise data comprises the following specific steps:
[0016]
[0017] In the formula, F nRepresents the fluctuation degree of the nth item of data in the current enterprise data; a i,n Represents the value of the nth item of data in the i-th data of the current enterprise data; represents the mean value of the nth item of all data in the current enterprise data; U represents the number of data in the current enterprise data; s i represents the collection time of the i-th data in the current enterprise data; s0 represents the current time; || represents the absolute value symbol.
[0018] Preferably, the method of obtaining the final fluctuation degree of each item of data in the current enterprise data according to the fluctuation degree of each item of data in each comparison enterprise data and the fluctuation degree of each item of data in the current enterprise data comprises the following specific steps:
[0019]
[0020] In the formula, F′ n Represents the final fluctuation degree of the nth item of data in the current enterprise data; F n Represents the fluctuation degree of the nth item of data in the current enterprise data; Represents the mean fluctuation of the nth item of data in all compared enterprise data; sigmoid represents the activation function; || represents the absolute value symbol.
[0021] Preferably, the step of obtaining the data density of each seed point within the drift bandwidth radius and the overall data density includes the following specific steps:
[0022]
[0023] Where r represents the preset drift bandwidth radius, NH j represents the number of data within the drift bandwidth radius of the jth seed point; ρ j Represents the data density of the jth seed point within the drift bandwidth radius;
[0024] ρ0=NW
[0025] In the formula, ρ0 represents the overall data density; NW represents the sum of the number of other enterprise data and the current enterprise data.
[0026] Preferably, the initial mean drift vector of each seed point is corrected according to the data density of each seed point within the drift bandwidth radius and the overall data density to obtain the mean drift vector of each seed point, and the specific steps include the following:
[0027]
[0028] In the formula, A′ jrepresents the mean shift vector of the jth seed point; A j represents the initial mean shift vector of the jth seed point; ρ j represents the data density of the jth seed point within the drift bandwidth radius; ρ0 represents the overall data density.
[0029] Preferably, the method of obtaining the versatility of the current product according to the number of enterprise data in each cluster and the overall fluctuation degree of the enterprise data includes the following specific steps:
[0030]
[0031] In the formula, H represents the versatility of the current product; MF represents the number of clusters; N m Represents the number of enterprise data in the mth cluster; MD m Represents the range of the overall volatility of the enterprise data in the mth cluster; ln() represents the logarithmic function with a natural constant as the base; tanh() represents the hyperbolic tangent function; exp() represents the exponential function with a natural constant as the base.
[0032] Preferably, the specific steps of obtaining the specialization of the current product according to the number of enterprise data in each cluster and the overall fluctuation degree of the enterprise data are as follows:
[0033]
[0034] In the formula, E represents the specialization of the current product; MF represents the number of clusters; N m Represents the number of enterprise data in the mth cluster; MD m Represents the range of the overall volatility of the enterprise data in the mth cluster; N max It represents the maximum number of enterprise data in all clusters; tanh() represents the hyperbolic tangent function; exp() represents the exponential function with a natural constant as the base.
[0035] Preferably, the method of obtaining the recommendation degree of the current product according to the versatility of the current product, the specialization of the current product, and the overall fluctuation degree of the current enterprise data includes the following specific steps:
[0036]
[0037] In the formula, S represents the recommendation degree of the current product; Represents the overall volatility of the current enterprise data; E represents the specialization of the current product; H represents the versatility of the current product; HD represents the range of the final volatility of all items of data in the current enterprise data; norm() represents the linear normalization function.
[0038] Preferably, the method of recommending products to the current enterprise according to the recommendation degree of the current products includes the following specific steps:
[0039] According to the method for obtaining the recommendation degree of the current product, the recommendation degree of each product is obtained, all products are sorted in descending order according to the recommendation degree, and products are recommended to the current enterprise according to the sorting of the products.
[0040] The beneficial effects of the technical solution of the present invention are as follows: the present invention first obtains the fluctuation degree of each data item in the current enterprise data and the fluctuation degree of each data item in the comparison enterprise data according to the mutation of the data, and then corrects the fluctuation degree of each data item in the current enterprise data according to the fluctuation degree of each data item in the comparison enterprise data, and obtains the final fluctuation degree of each data item in the current enterprise data, so that the overall fluctuation degree of the current enterprise data obtained according to the final fluctuation degree of each data item is more accurate and can accurately reflect the fluctuation of the current enterprise data; according to the method for obtaining the overall fluctuation degree of the current enterprise data, the overall fluctuation degree of each other enterprise data is obtained; and several types of fluctuations are selected in the enterprise data. The mean shift vector of each seed point is adaptively obtained based on the surrounding density of each seed point to complete clustering, so that the enterprise data in the low-density area are not clustered into one category, which improves the clustering results. The distribution concentration and number of enterprise data in the cluster are combined to obtain the versatility and specialization of the current product. Finally, according to the versatility and specialization of the current product and the overall fluctuation of the current enterprise data, the recommendation degree of the current product is obtained to recommend the current enterprise. When the overall fluctuation of the current enterprise data is large, more attention is paid to the versatility of the current product. When the overall fluctuation of the current enterprise data is small, more attention is paid to the specialization of the current product. This makes the recommendation degree of the current product more accurate and can meet the personalized and differentiated product recommendations. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] 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.
[0042] Figure 1 This is a flowchart of the steps of a product recommendation method for providing health solutions based on enterprise data of the present invention. DETAILED DESCRIPTION
[0043] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, the following is a detailed description of the specific implementation method, structure, characteristics and effects of a product recommendation method for providing a health solution based on enterprise data proposed by the present invention 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.
[0044] 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.
[0045] The following is a detailed description of a specific solution of a product recommendation method for providing a health solution based on enterprise data provided by the present invention in conjunction with the accompanying drawings.
[0046] See also Figure 1 , which shows a flowchart of a product recommendation method for providing a health solution based on enterprise data provided by an embodiment of the present invention, the method comprising the following steps:
[0047] S001. Collect current enterprise data, other enterprise data and comparative enterprise data.
[0048] It should be noted that the purpose of the present invention is to analyze enterprise data, obtain the recommendation degree of each product and make product recommendations to the enterprise. The present invention takes any product and any enterprise as an example, obtains the recommendation degree of the product and makes product recommendations to the enterprise, so it is necessary to obtain enterprise data first.
[0049] In an embodiment of the present invention, any enterprise is recorded as the current enterprise, and the data of the current enterprise at the current time point and each month before the current time point are obtained as the various data of the current enterprise data, wherein each data of the current enterprise data includes: enterprise market value, sales, turnover, profit and enterprise personnel item data.
[0050] The number of enterprises is preset as M, and the M enterprises whose market value is closest to the current enterprise are recorded as comparison enterprises. The data of any comparison enterprise at the current time point and each month before the current time point are obtained as the various data of the comparison enterprise data, wherein each data of the comparison enterprise data includes: enterprise market value, sales, turnover, profit and enterprise personnel item data; various data of each comparison enterprise data are obtained; in an embodiment of the present invention, the number of enterprises is preset as M=100, and in other embodiments, the implementer can set the value of M according to the specific implementation situation.
[0051] Record any commodity as the current commodity, record each enterprise in the purchase record of the current commodity before the current time point as other enterprises, obtain the data of any other enterprise at the current time point and each month before the current time point as each data of the other enterprise data, wherein each data of the other enterprise data includes: enterprise market value, sales, turnover, profit and enterprise personnel item data; obtain each data of each other enterprise data.
[0052] So far, the current enterprise data, other enterprise data and comparative enterprise data have been obtained.
[0053] S002. Obtain the degree of fluctuation of each item of data in the current enterprise data and the degree of fluctuation of each item of data in each comparison enterprise data, and then obtain the final degree of fluctuation of each item of data in the current enterprise data. According to the final degree of fluctuation of each item of data in the current enterprise data, obtain the overall degree of fluctuation of the current enterprise data and obtain the degree of fluctuation of each other enterprise data.
[0054] It should be noted that during the operation of an enterprise, there are various kinds of data. The present invention believes that when an enterprise is operating normally, the enterprise data as a whole is stable. If the value of any item of data in the current enterprise data changes significantly, then the change of any item of data in the current enterprise data is more abnormal. Therefore, according to the change of each item of data in the current enterprise data, the fluctuation degree of each item of data in the current enterprise data is obtained, and the changes in the data of other enterprises in the market can also be referred to, that is, the fluctuation degree of each item of data in the comparative enterprise data is referred to. If the fluctuation degree of any item of data in the current enterprise data is larger than the average fluctuation degree of the data of all comparative enterprise data, then the more abnormal the change of the data in the current enterprise data is, the greater the final fluctuation degree of the data in the current enterprise data is.
[0055] In an embodiment of the present invention, the fluctuation degree of each item of data in the current enterprise data is obtained:
[0056]
[0057] In the formula, F n Represents the fluctuation degree of the nth item of data in the current enterprise data; a i,n Represents the value of the nth item of data in the i-th data of the current enterprise data; represents the mean value of the nth item of all data in the current enterprise data; U represents the number of data in the current enterprise data; s i represents the collection time of the i-th data in the current enterprise data; s0 represents the current time; || represents the absolute value symbol; Represents the reciprocal of the absolute value of the difference between the collection time of the i-th data and the current time in the current enterprise data. The larger its value, the larger the absolute value of the difference between the collection time of the i-th data and the current time, which means that the collection time of the i-th data is closer to the current time, the more important the i-th data is, and the more important the i-th data is. As The weight of Represents the difference between the value of the nth item of data of the i-th data in the current enterprise data and the mean value of the nth item of data of all data. The larger the value, the greater the fluctuation degree of the nth item of data in the current enterprise data. The fluctuation degree of the nth item of data in each compared enterprise data is obtained.
[0058] Get the final fluctuation level of each item of data in the current enterprise data:
[0059]
[0060] In the formula, F′ n Represents the final fluctuation degree of the nth item of data in the current enterprise data; F n Represents the fluctuation degree of the nth item of data in the current enterprise data; Represents the mean value of the fluctuation degree of the nth item of data in all compared enterprise data; It represents the difference between the fluctuation degree of the n-th item of data in the enterprise data and the mean fluctuation degree of the n-th item of data in the comparison enterprise data. The larger the value is, the greater the final fluctuation degree of the n-th item of data in the current enterprise data is. Sigmoid represents the activation function, which is used for normalization processing. || represents the absolute value symbol.
[0061] The average of the final fluctuation degree of each data in the current enterprise data is taken as the overall fluctuation degree of the current enterprise data. Similarly, the overall fluctuation degree of each other enterprise data is obtained according to the method of obtaining the overall fluctuation degree of the current enterprise data.
[0062] S003. Cluster each other enterprise data and the current enterprise data according to the overall volatility of each other enterprise data and the overall volatility of the current enterprise data to obtain several clusters. According to each cluster, obtain the versatility and specialization of the current product.
[0063] It should be noted that any commodity is recorded as the current commodity. For the current commodity, if the overall fluctuation degree of each other enterprise data purchasing the current commodity and the similarity of the overall fluctuation degree of the current enterprise data are smaller, it means that the current commodity is in demand in the enterprises corresponding to the enterprise data with different overall fluctuation degrees, which means that the current commodity is more versatile. If the overall fluctuation degree of each other enterprise data purchasing the current commodity and the similarity of the overall fluctuation degree of the current enterprise data are larger, it means that the current commodity has a stronger demand for a certain data abnormal fluctuation degree problem, and the current commodity is more specialized. Therefore, in an embodiment of the present invention, the mean shift clustering algorithm can be used to cluster each other enterprise data and the current enterprise data according to the overall fluctuation degree of each other enterprise data and the current enterprise data, and the versatility and specialization of the current commodity can be analyzed according to the clustering results.
[0064] It should be further explained that when using mean shift clustering to cluster the current enterprise data with each other enterprise data, the lower density area is very sensitive to changes in density. Therefore, the enterprise data in the low-density area is more likely to form clusters, and too many clusters formed by this part of the enterprise data will affect the accuracy of the overall clustering results. Therefore, in an embodiment of the present invention, the size of the mean shift vector of the low-density area in the mean shift process is increased, so that during the clustering process, the enterprise data in the low-density area will not be clustered into clusters, thereby improving the accuracy of the clustering results.
[0065] In an embodiment of the present invention, the number of seed points K and the drift bandwidth radius r are preset, the current enterprise data and all other enterprise data are input into the mean shift clustering algorithm, K seed points are uniformly sampled to obtain, all other enterprise data and the current enterprise data are clustered according to the preset number of seed points and the drift bandwidth radius, the overall fluctuation degree of each other enterprise data and the overall fluctuation degree of the current enterprise data, and the initial mean shift vector of each seed point is obtained during the clustering process. In an embodiment of the present invention, the number of seed points K=20 is preset, and in other embodiments, the implementer can set the value of K according to the specific implementation method. In an embodiment of the present invention, the drift bandwidth radius r=0.05 is preset, and in other embodiments, the implementer can set the value of r according to the specific implementation method.
[0066] Get the data density of each seed point within the drift bandwidth radius: Where r represents the preset drift bandwidth radius, NH j represents the number of enterprise data within the drift bandwidth radius of the jth seed point; ρ jRepresents the data density of the jth seed point within the drift bandwidth radius; obtain the overall data density: ρ0=NW, where ρ0 represents the overall data density; NW represents the sum of the number of other enterprise data and the current enterprise data.
[0067] In this embodiment of the present invention, the mean shift vector of each seed point is obtained:
[0068]
[0069] In the formula, A′ j represents the mean shift vector of the jth seed point; A j represents the initial mean shift vector of the jth seed point; ρ j represents the data density of the jth seed point within the drift bandwidth radius; ρ0 represents the overall data density; when ρ j <ρ0, it means that the data density of the jth seed point within the drift bandwidth radius is less than the overall data density. It is considered that the area around the jth seed point is a low-density area, and the initial mean drift vector of the jth seed point needs to be increased. The smaller the value of is, the lower the density of the surrounding area of the j-th seed point is. The data here should not form a cluster. The greater the degree of adjustment of the mean shift vector of the j-th seed point is, the more likely it is to be used. Increase the initial mean shift vector of the j-th seed point to obtain the mean shift vector of the j-th seed point. j When ≥ρ0, it means that the data density of the jth seed point within the drift bandwidth radius is greater than or equal to the overall data density. The surrounding area of the jth seed point is considered to be a high-density area, and there is no need to adjust the initial mean drift vector of the jth seed point.
[0070] According to the mean shift vector of each seed point, the mean shift clustering algorithm is used to cluster all other enterprise data and the current enterprise data to obtain several clusters.
[0071] It should be noted that the more concentrated the distribution of enterprise data in the cluster is, the greater the similarity between the overall fluctuation degree of each other enterprise data and the overall fluctuation degree of the current enterprise data is, which means that the versatility of the current product is poor, and the more the number of enterprise data in the cluster is, the stronger the versatility of the current product is. The more concentrated the distribution of enterprise data in the cluster is, the greater the similarity between the overall fluctuation degree of each other enterprise data and the overall fluctuation degree of the current enterprise data is, which means that the current product is more specialized, and the fewer the number of enterprise data in the cluster is, the stronger the specialization of the current product is. Therefore, the versatility and specialization of the current product are obtained by combining the distribution concentration of enterprise data in each cluster and the number of enterprise data in each cluster.
[0072] In this embodiment of the present invention, the versatility of the current product is obtained:
[0073]
[0074] In the formula, H represents the versatility of the current product; MF represents the number of clusters; N m Represents the number of enterprise data in the mth cluster; MD m Represents the range of the overall volatility of the enterprise data in the mth cluster; represents the density of enterprise data in the mth cluster. The more enterprise data in the mth cluster, the narrower the range of enterprise data, which means that the density of enterprise data in the mth cluster is greater, that is, the more concentrated the distribution of enterprise data in the mth cluster, which means that the overall fluctuation degree of enterprise data corresponding to enterprises that purchase the current commodity is smaller, which means that the versatility of the current commodity is worse; MF represents the number of clusters. The more clusters there are, the greater the overall fluctuation degree of enterprise data corresponding to enterprises that purchase the current commodity is, which means that the versatility of the current commodity is stronger; ln() represents a logarithmic function with a natural constant as the base, which is used to adjust the order of magnitude; tanh() represents a hyperbolic tangent function, which is used for normalization; exp() represents an exponential function with a natural constant as the degree. In this embodiment, the exp(-x) model is collected to present an inverse proportional relationship. x is the input of the model. The implementer can set the inverse proportional function according to actual conditions.
[0075] In this embodiment of the present invention, the specialization of the current product is obtained:
[0076]
[0077] In the formula, E represents the specialization of the current product; MF represents the number of clusters; N m Represents the number of enterprise data in the mth cluster; MD m Represents the range of the overall volatility of the enterprise data in the mth cluster; Represents the density of enterprise data in the mth cluster. The more enterprise data there are in the mth cluster, the narrower the range of enterprise data is, indicating that the density of enterprise data in the mth cluster is greater, that is, the more concentrated the distribution of enterprise data in the mth cluster is, indicating that the overall fluctuation degree of enterprise data corresponding to the enterprises that purchase the current product is more concentrated, indicating that the specialization of the current product is stronger; N max Represents the maximum number of enterprise data in all clusters; The reciprocal of the difference between the maximum number of enterprise data in all clusters and the number of enterprise data in the mth cluster is used as the weight to correct The value of excludes the interference of small accidental factors on the specialization of the current product; when the number of clusters is smaller, it means that the difference in the overall volatility of the enterprise data corresponding to the enterprises that purchase the current product is smaller, that is, the problem of abnormal volatility of the enterprise data targeted by the current product is less, which means that the specialization of the current product is stronger.
[0078] At this point, each other enterprise data and the current enterprise data are clustered according to the overall volatility of each other enterprise data and the overall volatility of the current enterprise data to obtain several clusters, and the versatility and specialization of the current product are obtained according to the clusters.
[0079] S004. According to the versatility of the current product, the specialization of the current product and the overall volatility of the current enterprise data, the recommendation degree of the current product is obtained, so as to make product recommendations for the current enterprise based on the recommendation degree of the current product.
[0080] It should be noted that when the overall volatility of the current enterprise data is large, the healthier the current enterprise is, the more likely the current enterprise is to need general-purpose products; when the overall volatility of the current enterprise data is small and the range of the final volatility of all items in the current enterprise data is large, the current customers are more likely to need specialized products. Therefore, the recommendation degree of the current product is obtained based on the overall volatility of the current enterprise data and the versatility and specialization of the current product.
[0081] In this embodiment of the present invention, the recommendation degree of the current product is obtained:
[0082]
[0083] In the formula, S represents the recommendation degree of the current product; represents the overall volatility of the current enterprise data; E represents the specialization of the current product; H represents the versatility of the current product; HD represents the extreme difference in the final volatility of all items of data in the current enterprise data; if the overall volatility of the current enterprise data is large, it means that the current enterprise needs a product with greater versatility, so it pays more attention to the versatility of the current product; if the overall volatility of the current enterprise data is small and the difference in the final volatility of all items of data in the current enterprise data is greater, it is believed that the current enterprise needs a specialized product, so it pays more attention to the specialization of the current product; norm() represents the normalization function, which uses the linear normalization method, and the normalization object is all products. The value of .
[0084] According to the recommendation degree of the current product, the recommendation degree of each product is obtained, all products are sorted in descending order according to the recommendation degree, and products are recommended for the current enterprise according to the sorting of products.
[0085] At this point, the recommendation degree of the current product is obtained based on the versatility of the current product, the specialization of the current product, and the overall volatility of the current enterprise data, so that product recommendations are made to the current enterprise based on the recommendation degree of the current product.
[0086] 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 product recommendation method for providing health solutions based on enterprise data, characterized in that: The method comprises the following steps: Collecting current enterprise data, other enterprise data and comparative enterprise data, wherein each of the current enterprise data, other enterprise data and comparative enterprise data includes several items of data; According to the value of each item of each data in the current enterprise data, obtain the degree of fluctuation of each item of data in the current enterprise data; obtain the degree of fluctuation of each item of data in each comparison enterprise data; according to the degree of fluctuation of each item of data in each comparison enterprise data and the degree of fluctuation of each item of data in the current enterprise data, obtain the final degree of fluctuation of each item of data in the current enterprise data; take the average of the final degree of fluctuation of all items of data in the current enterprise data as the overall degree of fluctuation of the current enterprise data; obtain the overall degree of fluctuation of each other enterprise data, and the overall degree of fluctuation of the other enterprise data is obtained in a similar manner to that of the current enterprise data; The number of seed points and the drift bandwidth radius are preset, and all other enterprise data and the current enterprise data are clustered according to the preset number of seed points and the drift bandwidth radius, the overall fluctuation degree of each other enterprise data and the overall fluctuation degree of the current enterprise data. In the clustering process, the initial mean drift vector of each seed point is obtained, and the data density of each seed point within the drift bandwidth radius and the overall data density are obtained; the initial mean drift vector of each seed point is corrected according to the data density of each seed point within the drift bandwidth radius and the overall data density to obtain the mean drift vector of each seed point; clustering is completed according to the mean drift vector of each seed point to obtain several clustering clusters; according to the number of enterprise data in each clustering cluster and the overall fluctuation degree of enterprise data, the versatility of the current product is obtained; according to the number of enterprise data in each clustering cluster and the overall fluctuation degree of enterprise data, the specialization of the current product is obtained; according to the versatility of the current product, the specialization of the current product and the overall fluctuation degree of the current enterprise data, the recommendation degree of the current product is obtained; Recommend products to the current enterprise based on the recommendation level of the current product; The specific steps of collecting current enterprise data, other enterprise data and comparative enterprise data are as follows: Record any enterprise as the current enterprise, obtain the data of the current enterprise at the current time point and every month before the current time point as the data of the current enterprise; The number of enterprises M is preset, and the M enterprises whose market value is closest to the current enterprise are recorded as comparison enterprises. The data of any comparison enterprise at the current time point and each month before the current time point are obtained as each data of the comparison enterprise data, and each data of each comparison enterprise data is obtained; the enterprise market value is one of the data in the current enterprise data; Record any product as the current product, record each enterprise in the purchase record of the current product before the current time point as other enterprises, obtain the data of any other enterprise at the current time point and each month before the current time point as each data of the other enterprise data, and obtain each data of each other enterprise data; The step of obtaining the fluctuation degree of each item of data in the current enterprise data according to the value of each item of data in the current enterprise data includes the following specific steps: In the formula, F n Represents the fluctuation degree of the nth item of data in the current enterprise data; a i,n Represents the value of the nth item of data in the i-th data of the current enterprise data; represents the mean value of the nth item of all data in the current enterprise data; U represents the number of data in the current enterprise data; s i represents the collection time of the i-th data in the current enterprise data; s0 represents the current time; || represents the absolute value symbol; The step of obtaining the final fluctuation degree of each item of data in the current enterprise data according to the fluctuation degree of each item of data in each comparison enterprise data and the fluctuation degree of each item of data in the current enterprise data includes the following specific steps: In the formula, F′ n Represents the final fluctuation degree of the nth item of data in the current enterprise data; F n Represents the fluctuation degree of the nth item of data in the current enterprise data; Represents the mean value of the fluctuation of the nth item of data in all compared enterprise data; sigmoid represents the activation function; || represents the absolute value symbol; The specific steps of obtaining the data density of each seed point within the drift bandwidth radius and the overall data density are as follows: Where r represents the preset drift bandwidth radius, NH j represents the number of data within the drift bandwidth radius of the jth seed point; ρ j Represents the data density of the jth seed point within the drift bandwidth radius; ρ0=NW In the formula, ρ0 represents the overall data density; NW represents the sum of the number of other enterprise data and the current enterprise data; The initial mean drift vector of each seed point is corrected according to the data density of each seed point within the drift bandwidth radius and the overall data density to obtain the mean drift vector of each seed point, and the specific steps include the following: In the formula, A′ j represents the mean shift vector of the jth seed point; A j represents the initial mean shift vector of the jth seed point; ρ j represents the data density of the jth seed point within the drift bandwidth radius; ρ0 represents the overall data density; The specific steps of obtaining the versatility of the current product according to the number of enterprise data in each cluster and the overall fluctuation degree of the enterprise data are as follows: In the formula, H represents the versatility of the current product; MF represents the number of clusters; N m Represents the number of enterprise data in the mth cluster; MD m Represents the range of the overall volatility of the enterprise data in the mth cluster; ln() represents the logarithmic function with a natural constant as the base; tanh() represents the hyperbolic tangent function; exp() represents the exponential function with a natural constant as the base; The specific steps of obtaining the specialization of the current product according to the number of enterprise data in each cluster and the overall fluctuation degree of the enterprise data are as follows: In the formula, E represents the specialization of the current product; MF represents the number of clusters; N m Represents the number of enterprise data in the mth cluster; MD m Represents the range of the overall volatility of the enterprise data in the mth cluster; N max Represents the maximum number of enterprise data in all clusters; tanh() represents the hyperbolic tangent function; exp() represents the exponential function with a natural constant as the base; The specific steps of obtaining the recommendation degree of the current product according to the versatility of the current product, the specialization of the current product and the overall fluctuation degree of the current enterprise data are as follows: In the formula, S represents the recommendation degree of the current product; Represents the overall volatility of the current enterprise data; E represents the specialization of the current product; H represents the versatility of the current product; HD represents the range of the final volatility of all items of data in the current enterprise data; norm() represents the linear normalization function.
2. A product recommendation method for providing health solutions based on enterprise data according to claim 1, characterized in that: The specific steps of recommending products to the current enterprise according to the recommendation degree of the current product are as follows: According to the method for obtaining the recommendation degree of the current product, the recommendation degree of each product is obtained, all products are sorted in descending order according to the recommendation degree, and products are recommended to the current enterprise according to the sorting of the products.
Citation Information
Patent Citations
Personalized recommendation method and apparatus used for sparse big data
CN106951489A
Virtual object distribution method based on data clustering and related equipment
CN113011787A
