Memory-based frequent pattern mining method

A frequent mode and memory technology, applied in the field of memory, can solve the problems of limited number of NVM write operations, reduced NVM service life, time and energy consumption, etc., to achieve rapid construction, reduce a large number of intensive write operations, and prolong life. Effect

Active Publication Date: 2016-12-21
CHONGQING UNIV
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, using NVM as the main memory has the following problems: First, the time difference between reading and writing operations on NVM is relatively large, and reading operations usually consume more time and energy than writing operations; second, the number of NVM writing operations is limited and uneven The write operation usually accelerates the failure of the whole block NVM
[0011] However, there are problems with the FP-tree algorithm: in the process of constructing the frequent pattern tree, every time an item in a transaction is scanned, the FP-tree must be updated, that is, the nodes of the corresponding item in the FP-tree are counted The domain performs write operations, which leads to a large number of repeated write operations, and the memory overhead is huge; and the closer to the root node, the more write operations, and intensive large-scale write operations will reduce the service life of NVM

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
  • Memory-based frequent pattern mining method
  • Memory-based frequent pattern mining method
  • Memory-based frequent pattern mining method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0052] image 3 An example of constructing a frequent pattern tree for the present invention, the present embodiment comprises the following steps:

[0053] Step 1, according to image 3 (a) The database constructs the initial tree of frequent patterns, the specific process is as follows:

[0054] Such as image 3 As shown in (b), create a node with a label of null as the root node of the entire frequent pattern tree; after scanning the first transaction record, create node a, and set the count field value of node a to 1, indicating item a appears 1 time;

[0055] Such as image 3 As shown in (c), after scanning the second transaction record, build nodes b, c, and d, and set the count field value of b and c to 0, and the count field value of d to 1, indicating that item d appears once (this In order to reduce redundant writing when building a frequent pattern tree, the number of occurrences of b and c is not recorded, only the number of occurrences of item d at the end of...

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 memory-based frequent pattern mining method. The method comprises the following steps of 1, creating an initial frequent pattern tree, creating a root node T of the frequent pattern tree, and marking the root node with ''null''; scanning a database again, selecting out frequent items in each read transaction, and sorting the frequent items according to an order in L; creating a path of the frequent pattern tree by taking null as the root node after sorting, adding 1 to a count of only a final node on the path, and keeping counts of other nodes on the path unchanged; scanning all transactions in the whole database in sequence and obtaining the initial frequent pattern tree; and 2, traversing the initial frequent pattern tree in sequence by using a depth-first search algorithm, wherein a counter value of a traversed node is the sum of the value of the node and the values of all child nodes of the node. The method has the technical effects that the write operation of an NVM (Non-Volatile Memory) can be reduced, so that the frequent pattern tree can be quickly established; and a large amount of dense write operations on a node counting domain close to the root node can be reduced, so that the service life of the NVM is prolonged.

Description

technical field [0001] The invention belongs to the technical field of memory, and in particular relates to a memory-based frequent pattern mining method. Background technique [0002] With the increasing maturity of computer technology, data analysis has developed greatly since its establishment in the 20th century. Data analysis can discover and extract items of interest from massive amounts of data, thereby providing guidance to decision-making agencies. Machine learning and data mining can reveal the hidden information behind the data, which has become the key technology of data analysis. [0003] In the field of data mining, finding frequent items or frequent patterns in data sets is an important topic in data mining research, and it is the basis of many important data mining tasks such as correlation analysis, sequential patterns, causal relationships, and revealing patterns. Currently there are techniques such as Apriori and FP-tree to deal with frequent pattern min...

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): G06F17/30
Inventor 刘铎林怡黄柏钧朱潇
Owner CHONGQING UNIV
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