Store grade measuring and calculating method and system

The K-Means++ algorithm is used to classify customers in the wine marketing system, which solves the problems of tedious and high error rates of traditional manual grading, achieves fast and accurate customer classification, and improves the management efficiency of the system.

CN118568536AInactive Publication Date: 2024-08-30SHANDONG INSPUR DIGITAL BUSINESS TECHNOLOGY CO LTD

Patent Information

Application Number
CN202411052713.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traditional manual grading method is cumbersome and error-prone in the wine marketing system. It cannot classify customers quickly and accurately, and cannot meet the management needs of the system.

Method used

The K-Means++ algorithm is used to classify customers, and rapid and accurate customer classification is achieved through configuration parameters, normalized data processing, clustering calculations and weighted score calculations.

Benefits of technology

It realizes the rapid and accurate classification of customer grades in the wine marketing system, reduces the error rate, improves efficiency, and solves the problem that the classification results are not related to the business system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568536A
    Figure CN118568536A
Patent Text Reader

Abstract

The invention discloses a store grade measuring and calculating method and system, and belongs to the technical field of unsupervised machine learning algorithm application, a K-Means + + algorithm is adopted to carry out grade division of different dimensions on clients, and scores of each cluster are respectively corresponding to system grade data from high to low according to a descending order; comprising the steps of configuring and calculating various indexes; organizing actual business data according to the parameters; performing normalization processing on the business data; clustering is carried out through a K-Means + + algorithm; calculating a weighted score according to the clustered clusters; and determining a final grade according to the score of each cluster. According to the method, the purpose of quickly and accurately dividing the customer grades by the wine marketing system can be achieved, and quick and accurate grading of the customers of the wine marketing system is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unsupervised machine learning algorithm application, and in particular to a store grade calculation method and system. Background Art

[0002] In many wine marketing systems, in order to better manage customers, the system often needs to classify customers, and the classification needs to be based on many indicator data in the system. Traditional manual grading requires manual statistical processing of various indicator data, and also needs to calculate the weighted score of each customer. The calculation steps are cumbersome and prone to errors, and the speed is slow and inefficient, which cannot meet the system requirements well. Summary of the invention

[0003] The technical task of the present invention is to address the above deficiencies and provide a store grade calculation method and system, which can achieve the purpose of quickly and accurately dividing customer grades in the wine marketing system and realize fast and accurate grading of customers of the wine marketing system.

[0004] The technical solution adopted by the present invention to solve its technical problem is: A store level measurement method uses the K-Means++ algorithm to classify customers in different dimensions, and the scores of each cluster from high to low correspond to the system level data from high to low; including: Configure and calculate various indicators; Organize actual business data according to parameters; Normalize business data; K-Means++ algorithm clustering; Calculate weighted scores based on clustered clusters; The final rank is determined based on the score of each cluster.

[0005] Furthermore, the specific process of implementing this method is as follows: 1) Parameter and indicator configuration: Configure various parameters and indicators on the configuration page, select one or more dimensions, determine the time window for capturing business indicator data and the number of levels to be divided, and set whether to limit the number of customers at the highest and lowest levels; 2) Query and organize indicator data: After the page clicks are measured, the backend query organizes the customer's indicator data according to the parameters configured on the page; 3) Normalized data processing: The business data of each indicator has different orders of magnitude. In order to improve the accuracy of classification, the linear normalization method is used to normalize the values ​​of all indicators so that data of different orders of magnitude in each dimension are mapped to the [0,1] interval; 4) Clustering algorithm level measurement: The normalized index data is combined with the number of levels to be divided into and input into the K-Means++ algorithm. After multiple rounds of iterative calculations, multiple clusters are obtained. Each cluster consists of multiple customer data, and the clusters represent different levels. 5) Weighted calculation of each cluster score: A cluster can only represent that multiple customers belong to the same level, but it is impossible to determine which level the cluster belongs to. The backend program needs to traverse all clusters and sum the weighted values ​​of all indicator data of all customers in the cluster to obtain the result as the overall score of the cluster; 6) Determine customer level: According to the scores of each cluster from high to low, the corresponding system level data from high to low are respectively stored in the database, and the grading calculation is completed.

[0006] Furthermore, the parameters and indicators are configured in dimensions including county popularity, abandonment rate, online inventory, and store popularity.

[0007] Furthermore, the initialization of the K-Means++ algorithm, First, a data point is randomly selected as the first cluster center, and then the next center point is selected based on the selected center point, so that the new center point is as far away from the existing center point as possible. This method tends to disperse the center points in the initial step, thereby reducing the risk of falling into a local optimal solution and usually leads to better clustering effects and faster convergence.

[0008] Furthermore, the calculation steps of the K-Means++ algorithm are as follows: Step 1: Randomly select a point from the data set as the first cluster center; Step 2: Calculate the shortest distance between each sample and the current cluster center, that is, the distance to the nearest cluster center; the larger the value, the greater the probability of being selected as the cluster center; and calculate the probability of each sample being selected as the next cluster center, and finally use the roulette method to select the next cluster center; Step 3: Repeat step 2 until all cluster centers are selected; Step 4: Assign each point in the sample set to a cluster: Calculate the distance between each point and the centroid, i.e., the Euclidean distance, and assign it to the cluster corresponding to the nearest centroid; Step 5: Update the centroid of the cluster: The centroid of each cluster is updated to the average value of all points in the cluster; Step 6: Repeat steps 4 and 5. If the distance between the new centroid and the previous centroid is less than the set threshold, it is considered that the clustering algorithm has achieved the desired result and the algorithm terminates. Otherwise, continue to iterate.

[0009] Furthermore, in step 2, the sample with the largest distance is selected as the new cluster center by probability.

[0010] The present invention also claims protection for a store grade calculation system, comprising: The parameter and indicator configuration module is used to configure various parameters and indicators on the configuration page, select one or more dimensions, determine the time window for capturing business indicator data and the number of levels that need to be divided in the end, and set whether to limit the number of customers at the highest level and the lowest level; The organization indicator data module is used to query the indicator data of the organization query customer in the backend according to the parameters configured on the page after the page click measurement; The normalized data processing module uses the linear normalization method to normalize the values ​​of all indicators, so that data of different orders of magnitude in each dimension are mapped to the [0,1] interval; The clustering algorithm level measurement module is used to input the normalized indicator data and the number of levels to be divided into into the K-Means++ algorithm. After multiple rounds of iterative calculations, multiple clusters are obtained. Each cluster consists of multiple customer data, and the clusters represent different levels. The weighted score calculation module traverses all clusters through the backend program, and sums the weighted values ​​of all indicator data of all customers in the cluster to obtain the result as the overall score of the cluster; The level determination module is used to correspond the system level data from high to low according to the scores of each cluster, and finally store the level division results in the database, and the grading measurement is completed.

[0011] Furthermore, the calculation steps of the K-Means++ algorithm are as follows: Step 1: Randomly select a point from the data set as the first cluster center; Step 2: Calculate the shortest distance between each sample and the current cluster center, that is, the distance to the nearest cluster center; the larger the value, the greater the probability of being selected as the cluster center; and calculate the probability of each sample being selected as the next cluster center, and finally use the roulette method to select the next cluster center; Step 3: Repeat step 2 until all cluster centers are selected; Step 4: Assign each point in the sample set to a cluster: Calculate the distance between each point and the centroid, i.e., the Euclidean distance, and assign it to the cluster corresponding to the nearest centroid; Step 5: Update the centroid of the cluster: The centroid of each cluster is updated to the average value of all points in the cluster; Step 6: Repeat steps 4 and 5. If the distance between the new centroid and the previous centroid is less than the set threshold, it is considered that the clustering algorithm has achieved the desired result and the algorithm terminates. Otherwise, continue to iterate.

[0012] The present invention also claims protection for a store level calculation device, comprising: at least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is used to call the machine-readable program to implement the above method.

[0013] The present invention also claims protection for a computer-readable medium having computer instructions stored thereon, which, when executed by a processor, enable the processor to implement the above-mentioned method.

[0014] Compared with the prior art, the store level calculation method and system of the present invention have the following beneficial effects: In order to achieve the purpose of quickly and accurately dividing the customer levels of the wine marketing system, the present invention selects the optimized K-means++ as the algorithm for hierarchical clustering according to actual needs and data characteristics, collects business indicator data and uses the Linear normalization method to normalize the indicator data, and calculates the score of each cluster after clustering by weighted summation of the selected indicator data. The clustered clusters and the level association and correspondence of the business system are achieved through score sorting, which solves the problem that the division results are not associated with the business system level.

[0015] The K-means++ algorithm optimizes the logic of selecting the initial center point, and the algorithm calculation part of the program is also optimized and accelerated, so that the grading function can respond quickly and obtain grading results, and finally achieve the purpose of the wine marketing system to quickly and accurately grade customers according to the multi-dimensional business indicator data within the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a diagram of a grading process based on a K-Means++ algorithm provided by an embodiment of the present invention; Figure 2 is a flow chart of a K-Means++ algorithm provided by an embodiment of the present invention; Figure 3 This is an example diagram of configuring various parameters and indicators in a configuration page provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] The present invention will be further described below in conjunction with specific embodiments.

[0018] The embodiment of the present invention provides a store level calculation method, which uses the K-Means++ algorithm to classify customers in different dimensions, and corresponds to each system level data from high to low according to the score of each cluster from high to low; Figure 1 As shown, including: Configure and calculate various indicators; Organize actual business data according to parameters; Normalize business data; K-Means++ algorithm clustering; Calculate weighted scores based on clustered clusters; The final rank is determined based on the score of each cluster.

[0019] The specific process of implementing the level division in this method includes the following steps: 1. Parameter and indicator configuration: Configure various parameters and indicators on the configuration page, select one or more dimensions such as county popularity, abandoned purchase rate, online inventory, and store popularity, determine the time window for capturing business indicator data and the number of levels to be divided, and set whether to limit the number of customers at the highest and lowest levels, etc.; 2. Query and organize indicator data: After the page clicks are measured, the backend query organizes the query of the customer's indicator data according to the parameters configured on the page; 3. Normalized data processing: The business data of each indicator has different orders of magnitude. In order to improve the accuracy of classification, the linear normalization method is used to normalize the values ​​of all indicators so that data of different orders of magnitude in each dimension are mapped to the [0,1] interval; 4. Clustering algorithm level calculation: The normalized index data is combined with the number of levels to be divided into and input into the K-Means++ algorithm. After multiple rounds of iterative calculations, multiple clusters are obtained. Each cluster consists of multiple customer data, and the clusters represent different levels. 5. Weighted calculation of each cluster score: A cluster can only represent that multiple customers belong to the same level, but it is impossible to determine which level the cluster belongs to. The backend program needs to traverse all clusters and sum the weighted values ​​of all indicator data of all customers in the cluster to obtain the result as the overall score of the cluster; 6. Determine the customer level: According to the scores of each cluster from high to low, correspond to the system level data from high to low, and finally store the level classification results in the database, and the classification calculation is completed.

[0020] The K-Means++ algorithm selected in this method optimizes the initialization step of the K-Means algorithm, changing from randomly selecting K cluster centers to: first randomly selecting a data point as the first cluster center, and then selecting the next center point based on the selected center point, so that the new center point is as far away from the existing center point as possible. This method tends to disperse the center points in the initial step, thereby reducing the risk of falling into a local optimal solution, and usually leads to better clustering effects and faster convergence.

[0021] The flowchart of K-Means++ algorithm is as follows Figure 2 shown.

[0022] The calculation steps of the K-Means++ algorithm are as follows: Step 1: Randomly select a point from the data set as the first cluster center; Step 2: Calculate the shortest distance D(x) between each sample and the current cluster center, that is, the distance to the nearest cluster center, and select the sample with the largest distance as the new cluster center by probability; the larger the value, the greater the probability of being selected as the cluster center; and calculate the probability of each sample being selected as the next cluster center, and finally use the roulette method to select the next cluster center; Step 3: Repeat step 2 until K cluster centers are selected; Step 4: Assign each point in the sample set to a cluster: Calculate the distance between each point and the centroid, i.e., the Euclidean distance, and assign it to the cluster corresponding to the nearest centroid; Step 5: Update the centroid of the cluster: The centroid of each cluster is updated to the average value of all points in the cluster; Step 6: Repeat steps 4 and 5. If the distance between the new centroid and the previous centroid is less than a certain threshold, it is considered that the clustering algorithm has achieved the desired result and the algorithm terminates. Otherwise, continue to iterate.

[0023] The following is a specific implementation case to further illustrate the implementation method of this method: Suppose you need to classify customers of a wine marketing system. First, configure various parameters and indicators on the configuration page. For example, select one or more dimensions such as county popularity, abandonment rate, online inventory, and store popularity, determine the time window for capturing business indicator data and the number of levels to be divided, and set whether to limit the number of customers at the highest and lowest levels. Figure 3 As shown; Then, click the Calculate button, and the backend will query the customer's indicator data based on the configuration parameters. Next, the magnitude of the business data of each indicator is normalized, and the Linear normalization method is used to map data of different magnitudes in each dimension to the [0,1] interval. Then, we input the normalized indicator data into the K-Means++ algorithm in combination with the number of levels to be divided. After multiple rounds of iterative calculations, the algorithm obtains multiple clusters. Each cluster consists of several customer data, and clusters represent different levels. Next, the clusters are weighted to calculate the score of each cluster, that is, all clusters are traversed, and the weighted values ​​of all indicator data of all customers in the cluster are summed up to obtain the result as the overall score of the cluster; Finally, according to the scores of each cluster from high to low, corresponding to the system level data from high to low, we store the level classification results in the database, and the classification measurement is completed.

[0024] There are many clustering algorithms in the field of unsupervised learning clustering, such as the partition-based K-Means clustering algorithm, density-based DBSCAN, Mean Shift and other algorithms, hierarchical clustering-based AGNES, DIANA and other algorithms, and graph-based spectral clustering algorithms. Each type of clustering algorithm has its own advantages and disadvantages. For example, the density-based clustering algorithm has the advantage that it can handle clusters of different sizes and densities, and has strong robustness to noise points, but the disadvantage is that it requires a reasonable selection of distance thresholds and density thresholds, and the results obtained if the selection is not good are not ideal; the algorithm based on hierarchical clustering has the advantage that it does not need to determine the number of clusters in advance, and can handle clusters of different densities and sizes, but its performance is poor and it is not suitable for large-scale data sets. The K-Means++ partition clustering algorithm selected in this method has the advantages of being simple and stable, and fast iterative calculation speed. In the process of customer level division in the wine marketing system, it can quickly and accurately generate hierarchical clustering results, and present the level division results in a reasonable way combined with the page display. The K-Means++ algorithm classifies the customers of the wine marketing system into different levels according to different dimensions, and successfully solves the problem that the algorithm can only cluster but cannot associate the clusters with the actual levels (that is, which cluster is the highest level and which cluster is the lowest level).

[0025] The embodiment of the present invention further provides a store level calculation system, including: The parameter and indicator configuration module is used to configure various parameters and indicators on the configuration page, select one or more dimensions such as district and county popularity, abandoned purchase rate, online inventory, and store popularity, determine the time window for capturing business indicator data and the number of levels that need to be divided in the end, and set whether to limit the number of customers at the highest and lowest levels; The organization indicator data module is used to query the indicator data of the organization query customer in the backend according to the parameters configured on the page after the page click measurement; The normalized data processing module uses the linear normalization method to normalize the values ​​of all indicators, so that data of different orders of magnitude in each dimension are mapped to the [0,1] interval; The clustering algorithm level measurement module is used to input the normalized indicator data and the number of levels to be divided into into the K-Means++ algorithm. After multiple rounds of iterative calculations, multiple clusters are obtained. Each cluster consists of multiple customer data, and the clusters represent different levels. The weighted score calculation module traverses all clusters through the backend program, and sums the weighted values ​​of all indicator data of all customers in the cluster to obtain the result as the overall score of the cluster; The level determination module is used to correspond the system level data from high to low according to the scores of each cluster, and finally store the level division results in the database, and the grading measurement is completed.

[0026] The K-Means++ algorithm optimizes the initialization step of the K-Means algorithm by changing the random selection of K cluster centers to: first randomly select a data point as the first cluster center, and then select the next center point based on the selected center point, so that the new center point is as far away from the existing center point as possible. This method tends to disperse the center points in the initial step, thereby reducing the risk of falling into a local optimal solution and generally leading to better clustering effects and faster convergence.

[0027] The calculation steps of the K-Means++ algorithm are as follows: Step 1: Randomly select a point from the data set as the first cluster center; Step 2: Calculate the shortest distance D(x) between each sample and the current cluster center, that is, the distance to the nearest cluster center, and select the sample with the largest distance as the new cluster center by probability; the larger the value, the greater the probability of being selected as the cluster center; and calculate the probability of each sample being selected as the next cluster center, and finally use the roulette method to select the next cluster center; Step 3: Repeat step 2 until all cluster centers are selected; Step 4: Assign each point in the sample set to a cluster: Calculate the distance between each point and the centroid, i.e., the Euclidean distance, and assign it to the cluster corresponding to the nearest centroid; Step 5: Update the centroid of the cluster: The centroid of each cluster is updated to the average value of all points in the cluster; Step 6: Repeat steps 4 and 5. If the distance between the new centroid and the previous centroid is less than the set threshold, it is considered that the clustering algorithm has achieved the desired result and the algorithm terminates. Otherwise, continue to iterate.

[0028] An embodiment of the present invention further provides a store level calculation device, comprising: at least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is used to call the machine-readable program to implement the store level calculation method described in the above embodiment.

[0029] The embodiment of the present invention further provides a computer-readable medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the processor executes the store level calculation method described in the above embodiment. Specifically, a system or device equipped with a storage medium can be provided, on which software program codes for implementing the functions of any of the above embodiments are stored, and a computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium.

[0030] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0031] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer via a communication network.

[0032] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0033] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or written to a memory provided in an expansion unit connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or the expansion unit is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0034] The present invention is shown and described in detail above through the accompanying drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art can know that the code review methods in the above different embodiments can be combined to obtain more embodiments of the present invention, and these embodiments are also within the protection scope of the present invention.

Claims

1. A store level calculation method, characterized in that: The K-Means++ algorithm is used to classify customers in different dimensions. The scores of each cluster are ranked from high to low, corresponding to the system level data from high to low; including: Configure and calculate various indicators; Organize actual business data according to parameters; Normalize business data; K-Means++ algorithm clustering; Calculate weighted scores based on clustered clusters; The final rank is determined based on the score of each cluster.

2. A store level calculation method according to claim 1, characterized in that: The specific process of implementing this method is as follows: 1) Parameter and indicator configuration: Configure various parameters and indicators on the configuration page, select one or more dimensions, determine the time window for capturing business indicator data and the number of levels to be divided, and set whether to limit the number of customers at the highest and lowest levels; 2) Query and organize indicator data: After the page clicks are measured, the backend query organizes the customer's indicator data according to the parameters configured on the page; 3) Normalized data processing: Linear normalization is used to normalize the values ​​of all indicators so that data of different orders of magnitude in each dimension are mapped to the interval [0,1]; 4) Clustering algorithm level measurement: The normalized index data is combined with the number of levels to be divided into and input into the K-Means++ algorithm. After multiple rounds of iterative calculations, multiple clusters are obtained. Each cluster consists of multiple customer data, and the clusters represent different levels. 5) Weighted calculation of each cluster score: The backend program traverses all clusters, sums the weighted values ​​of all indicator data of all customers in the cluster, and obtains the result as the overall score of the cluster; 6) Determine customer level: According to the scores of each cluster from high to low, the corresponding system level data from high to low are respectively stored in the database, and the grading calculation is completed.

3. A store level calculation method according to claim 2, characterized in that: The parameters and indicator configurations include dimensions such as county popularity, abandonment rate, online inventory, and store popularity.

4. A store level calculation method according to claim 1, characterized in that: Initialization of the K-Means++ algorithm, First, randomly select a data point as the first cluster center, and then select the next center point based on the selected center point so that the new center point is as far away from the existing center point as possible.

5. A store level calculation method according to claim 4, characterized in that: The calculation steps of the K-Means++ algorithm are as follows: Step 1: Randomly select a point from the data set as the first cluster center; Step 2: Calculate the shortest distance between each sample and the current cluster center, that is, the distance to the nearest cluster center; The larger the value, the greater the probability of being selected as the cluster center. The probability of each sample being selected as the next cluster center is calculated, and the next cluster center is finally selected using the roulette method. Step 3: Repeat step 2 until all cluster centers are selected; Step 4: Assign each point in the sample set to a cluster: Calculate the distance between each point and the centroid, i.e., the Euclidean distance, and assign it to the cluster corresponding to the nearest centroid; Step 5: Update the centroid of the cluster: The centroid of each cluster is updated to the average value of all points in the cluster; Step 6: Repeat steps 4 and 5. If the distance between the new centroid and the previous centroid is less than the set threshold, it is considered that the clustering algorithm has achieved the desired result and the algorithm terminates. Otherwise, continue to iterate.

6. A store level calculation method according to claim 5, characterized in that: In step 2, the sample with the largest distance is selected as the new cluster center by probability.

7. A store level calculation system, characterized in that: include: The parameter and indicator configuration module is used to configure various parameters and indicators on the configuration page, select one or more dimensions, determine the time window for capturing business indicator data and the number of levels that need to be divided in the end, and set whether to limit the number of customers at the highest level and the lowest level; The organization indicator data module is used to query the indicator data of the organization query customer in the backend according to the parameters configured on the page after the page click measurement; The normalized data processing module uses the linear normalization method to normalize the values ​​of all indicators, so that data of different orders of magnitude in each dimension are mapped to the [0,1] interval; The clustering algorithm level measurement module is used to input the normalized indicator data and the number of levels to be divided into into the K-Means++ algorithm. After multiple rounds of iterative calculations, multiple clusters are obtained. Each cluster consists of multiple customer data, and the clusters represent different levels. The weighted score calculation module traverses all clusters through the backend program, and sums the weighted values ​​of all indicator data of all customers in the cluster to obtain the result as the overall score of the cluster; The level determination module is used to correspond the system level data from high to low according to the scores of each cluster, and finally store the level division results in the database.

8. A store level calculation system according to claim 7, characterized in that: The calculation steps of the K-Means++ algorithm are as follows: Step 1: Randomly select a point from the data set as the first cluster center; Step 2: Calculate the shortest distance between each sample and the current cluster center, that is, the distance to the nearest cluster center; The larger the value, the greater the probability of being selected as the cluster center. The probability of each sample being selected as the next cluster center is calculated, and the next cluster center is finally selected using the roulette method. Step 3: Repeat step 2 until all cluster centers are selected; Step 4: Assign each point in the sample set to a cluster: Calculate the distance between each point and the centroid, i.e., the Euclidean distance, and assign it to the cluster corresponding to the nearest centroid; Step 5: Update the centroid of the cluster: The centroid of each cluster is updated to the average value of all points in the cluster; Step 6: Repeat steps 4 and 5. If the distance between the new centroid and the previous centroid is less than the set threshold, it is considered that the clustering algorithm has achieved the desired result and the algorithm terminates. Otherwise, continue to iterate.

9. A store level calculation device, characterized in that: include: at least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is used to call the machine-readable program to implement the method described in any one of claims 1 to 6.

10. A computer readable medium, characterized in that The computer readable medium stores computer instructions, which, when executed by a processor, enable the processor to implement any one of the methods of claims 1 to 6.

Citation Information

Patent Citations

  • K-Means-algorithm-based direct broadcast platform user subdivision method and system

    CN106127519A

  • Method and system for automatically dividing user levels

    CN106202388A

  • Marketing method and system based on customer clustering

    CN109615426A

  • Store inventory optimization method

    CN110163427A

  • Consumer evaluation method and device based on RFM model, and medium

    CN115115265A

Cited By

  • Office terminal asset vulnerability analysis method and system based on clustering algorithm

    CN122548755A