Computer Engineering and Applications ›› 2009, Vol. 45 ›› Issue (8): 161-164.DOI: 10.3778/j.issn.1002-8331.2009.08.049

• 数据库、信号与信息处理 • Previous Articles     Next Articles

Algorithm of constructing FP-growth tree by using vertical data form

LI Hong-bo1,ZHOU Li1,ZHANG Ji-zan2   

  1. 1.School of Management,Ludong University,Yantai,Shandong 264025,China
    2.School of Mathematics and Information,Ludong University,Yantai,Shandong 264025,China
  • Received:2008-01-24 Revised:2008-04-21 Online:2009-03-11 Published:2009-03-11
  • Contact: LI Hong-bo

用垂直数据格式构建FP增长树的算法

李洪波1,周 莉1,张吉赞2   

  1. 1.鲁东大学 管理学院,山东 烟台 264025
    2.鲁东大学 数学与信息学院,山东 烟台 264025
  • 通讯作者: 李洪波

Abstract: At present,construction of a Frequent Pattern Growth(FP-growth) tree adopts transaction-item data form,that is,horizontal data form,this needs to scan database twice.This paper applies item-transaction data form,namely,vertical data form,and a transaction is reconstructed in term of minimum transaction first to build FP-growth tree,it leads to scan database only once.A distinct head list of vertical item is designed to facilitate recoding vertical data,rebuilding transactions,constructing FP-growth tree and updating augment of vertical data.

Key words: horizontal data form, vertical data form, item list of minimum transaction, head list of vertical item, Frequent Pattern Growth(FP-growth) tree

摘要: 目前FP增长树的建立采用的是事务-项目集数据格式,即水平数据格式,扫描数据库需要2次。采用垂直数据格式,即项目-事务集数据格式,按照最小事务项目表优先的原则投影事务-项目以建立FP增长树,扫描数据库仅需1次。设计了独特的垂直项目头表独特的存储结构,便于垂直数据的存储、事务的投影、FP树的建立和垂直数据的增量更新。

关键词: 水平数据格式, 垂直数据格式, 最小事务项目表, 垂直项目头表, FP增长树