A decision forest system and decision forest reasoning method based on fpga

A decision-making and forest technology, applied in the field of machine learning, can solve problems such as immature implementation methods, and achieve the effect of improving inference speed, less hardware resources, and wide application

Active Publication Date: 2022-05-31
HUAZHONG UNIV OF SCI & TECH +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, a variety of algorithms used in the decision forest training process are disclosed, but the implementation method of reasoning in FPGA is still immature and needs to be further improved

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
  • A decision forest system and decision forest reasoning method based on fpga
  • A decision forest system and decision forest reasoning method based on fpga
  • A decision forest system and decision forest reasoning method based on fpga

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The decision tree subsystem includes: a first clock controller, a path backtracking module, and a classification module.

[0056] Majority voting method, if a certain classification category has the largest number of statistics (that is, the number of votes), then the classification category is

[0057] The majority voting system includes: a second clock controller, a counting module, and a class quantity comparator.

[0058] Specifically, the clock frequency of the second clock controller is not necessarily the same as that in the decision tree system.

[0065] Further illustrate by the following examples: Suppose the decision tree input attribute is expressed as {x

[0072] Step S3. Use the classification category corresponding to the maximum number as the inference result of the entire decision forest system.

[0073] The results of the following examples are further illustrated.

[0075] Further, there are 10 decision trees and 3 classification categories in this embodim...

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 a decision forest system and a decision forest reasoning method based on FPGA, belonging to the field of machine learning. The present invention realizes the decision tree on the FPGA based on the architecture of the path backtracking module and the classification module, which is conducive to automatically converting the trained decision tree MATLAB code into Verilog code without manually implementing a large number of decision trees in the EDA tool. Using a top-down design structure, each decision tree is run in parallel as a sub-module, which ensures accuracy while rapidly deploying, and consumes fewer hardware resources. Based on the pipeline technology, the majority voting method is implemented on the FPGA, and the decision tree sub-module is called in the top-level module and the results of the sub-modules are processed uniformly, so as to improve the reasoning speed. The asynchronous FIFO module transmits data across clock domains, making it more widely used. The reasoning realization method provided by the present invention is applicable to the decision tree generated by any training algorithm in principle.

Description

A Decision Forest System and Decision Forest Reasoning Method Based on FPGA technical field The invention belongs to the technical field of machine learning, more specifically, relate to a kind of decision forest system based on FPGA realization System and decision forest reasoning methods. Background technique [0002] Ensemble learning is an important method in machine learning. Ensemble learning combines multiple learners combined, often achieve significantly better generalization performance than a single learner. The whole ensemble learning does not depend on any single model, but Make predictions collectively. Decision forest is one of the most famous representatives of parallel ensemble learning methods, and its diversity is achieved by using obtained from different training data subsets. Decision forest is a decision tree based learner and a majority voting method as an ensemble method. An ensemble learning method composed of the formula can also further ...

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/62G06N5/00G06N5/04
CPCG06N5/04G06V10/955G06N5/01G06F18/24323G06F18/259G06F18/254Y02D10/00
Inventor 王虹飞李建文何琨
Owner HUAZHONG UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products