Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

SoC-FPGA-based self-reconstruction K-means cluster technology realization method

A technology of k-means clustering and implementation method, which is applied in the fields of instruments, character and pattern recognition, computer parts, etc. consumption, optimize utilization efficiency, and achieve the effect of data fetching

Inactive Publication Date: 2015-08-19
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to overcome the deficiencies in the prior art, provide a kind of execution speed that has promoted K-means clustering algorithm, obtain the self-reconfiguration K-means clustering technology realization based on SoC-FPGA of higher energy efficiency The method solves the problems of the existing K-means clustering algorithm in the prior art, such as large amount of computation, large hardware resource occupation, large power consumption, and large system delay.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • SoC-FPGA-based self-reconstruction K-means cluster technology realization method
  • SoC-FPGA-based self-reconstruction K-means cluster technology realization method
  • SoC-FPGA-based self-reconstruction K-means cluster technology realization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The technical scheme of the present invention is described in further detail below in conjunction with accompanying drawing:

[0035] The system architecture of the present invention is as Figure 4 As shown, the ARM is the host side, which is connected to the FPGA device side through the AXI bus. The high-bandwidth feature of the AXI on-chip bus will greatly shorten the communication delay between the host and the device and improve the system throughput. According to the characteristics of the K-means clustering algorithm, the calculation-intensive and suitable for parallel distance matrix calculation, sample classification, distance accumulation and sample number statistics and other modules are executed on the FPGA side in the form of kernel programs, while centroid update and iteration control, etc. Modules that are light in computation and difficult to parallelize are executed on the ARM side.

[0036]The memory model provided by the OpenCL standard includes glob...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an SoC-FPGA-based self-reconstruction K-means cluster technology realization method. The method comprises the following steps: S1, reconstructing an SoC-FPGA heterogeneous platform model through which an ARM host end cooperates with an FPGA equipment end; S2, the ARM end constructing an OpenCL host program, creating a core and finishing memory distribution and mapping; S3, the host program scheduling a core program of the FPGA equipment end to transmit data to the FPGA equipment end; S4, a first OpenCL core program calculating an Euclidean distance in a parallel pipelined mode, and generating a distance matrix; S5, self-reconstructing a second OpenCL core program, and screening a minimum element of each row and recording a corresponding mass center; S6, self-reconstructing a third OpenCL core program to realize distance accumulation and quantity statistics work of all sample points in each mass center cluster; S7, the host program calculating new mass center data; and S8, the host program performing iteration judgment. The method provided by the invention improves the execution speed of a K-means cluster algorithm, obtains higher energy efficiency, and solves the problem of insufficient FPGA hardware resources through self-reconstruction of the core.

Description

technical field [0001] The invention relates to the technical field of data mining, in particular to a method for realizing a SoC-FPGA-based self-reconfiguration K-means clustering technology. Background technique [0002] As the most commonly used clustering algorithm, the K-means algorithm has been widely used in the fields of pattern recognition, machine learning and data mining due to its simplicity and effectiveness, such as automatic document classification, neural network basis function center determination, nuclear magnetic Resonance image segmentation processing, etc. K-means clustering belongs to unsupervised learning, and its process is as follows figure 1 As shown, the basic idea is based on the K centroids in the space, and the samples are classified according to the distance between the sample point and each centroid, and the new centroids of the current categories are calculated. The cluster centroids are updated multiple times until the centroids converge. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/62
CPCG06F18/23213
Inventor 蒲宇亮黄乐天彭军贺江
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products