Clustering center selection method, device and medium
A clustering algorithm and clustering technology, applied in the field of clustering analysis, can solve problems such as long calculation cycle, high calculation time complexity, and affecting the execution efficiency of clustering algorithms
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 2
[0066] On the basis of the above embodiments, the present invention also provides the following series of preferred implementation manners.
[0067] figure 2 It is a flowchart of another method for selecting a cluster center provided by an embodiment of the present invention. figure 2 In steps S11-S12 and figure 1 Same, no more details here.
[0068] Such as figure 2 As shown, as a preferred implementation manner, step S10 specifically includes:
[0069] Step S20: Calculate the Euclidean distance between each sample point
[0070] Among them, i is the dimension of the sample point, n is an integer constant greater than or equal to 1, and x i is the coordinate of the first sample point in the i dimension, y i is the coordinate of the second sample point in the i dimension.
[0071] It should be noted that since the number of dimensions of the sample points is greater than or equal to 1, when calculating the Euclidean distance of two sample points, it is necessary to...
Embodiment 3
[0085]The embodiment of the method for selecting the cluster center has been described in detail above, and the present invention also provides a device for selecting the cluster center corresponding to the method, because the embodiment of the device part and the embodiment of the method part are mutually Correspondingly, for the embodiment of the device part, please refer to the description of the embodiment of the method part, and details will not be repeated here.
[0086] image 3 A structural diagram of a device for selecting a cluster center provided by an embodiment of the present invention. The selection device of the cluster center provided by the embodiment of the present invention includes:
[0087] The acquiring device 10 is configured to acquire the local density of each sample point in the sample set and the high-density distance between each sample point and a sample point with a higher local density through multithreading set by OpenMp in parallel.
[0088] ...
Embodiment 4
[0103] The present invention also provides a device for selecting a cluster center, which is applied to a density peak clustering algorithm, including:
[0104] memory for storing computer programs;
[0105] A processor, configured to implement the steps of the above-mentioned method for selecting a cluster center when executing a computer program.
[0106] The selection device of the clustering center provided by the present invention obtains the local density of each sample point in the sample set in parallel through the multi-threading set by OpenMp, and the high-density distance between each sample point and a sample point with a higher local density. The local density and the high-density distance are used as operation parameters, and the density threshold and the high-density distance threshold are respectively calculated according to the preset rules, and then the local density and the density threshold are selected in the sample set to satisfy the first preset relation...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com