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

Implementation method of self-reconfiguration k-means clustering technology based on soc-fpga

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: 2018-05-01
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF4 Cites 0 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
  • Implementation method of self-reconfiguration k-means clustering technology based on soc-fpga
  • Implementation method of self-reconfiguration k-means clustering technology based on soc-fpga
  • Implementation method of self-reconfiguration k-means clustering technology based on soc-fpga

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Further describe the technical scheme of the present invention in 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 global m...

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 present invention discloses a SoC-FPGA-based self-reconfiguration K-means clustering technology implementation method, which includes the following steps: S1: constructing a SoC-FPGA heterogeneous platform model that cooperates between an ARM host end and an FPGA device end; S2: The ARM host side builds the OpenCL host program, creates the kernel, and completes memory allocation and mapping; S3: the host program calls the kernel program on the FPGA device side, and transmits data to the FPGA device side; S4: The first OpenCL kernel program calculates the Euclidean distance in parallel and pipelined, Generate a distance matrix; S5: self-reconfiguration of the second OpenCL kernel program, filter out the smallest element in each row and record its corresponding centroid; S6: self-reconfiguration of the third OpenCL kernel program, realize the distance of all sample points in each centroid cluster Accumulation and quantity statistics work; S7: The host program calculates new centroid data; S8: The host program performs iterative judgment. The invention not only improves the execution speed of the K-means clustering algorithm and obtains higher energy efficiency, but also solves the problem of insufficient FPGA hardware resources through self-reconfiguration of the kernel.

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 Patents(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