



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Journal of Machine Learning Research 1 (2014) 1-5 Submitted 4/12; Published 10/
Philippe Fournier-Viger†^ [email protected] Department of Computer Science University of Moncton, Moncton, NB E1A 3E9, Canada Antonio Gomariz [email protected] Department of Information and Communication Engineering University of Murcia, Murcia 30100, Spain Ted Gueniche [email protected] Azadeh Soltani [email protected] Department of Computer Engineering Ferdowsi University of Mashhad, Iran Cheng-Wei Wu [email protected], Vincent S. Tseng [email protected], Department of Computer Science and Information Engineering National Cheng Kung University, Taiwan
Editor: Bal´azs K´egl
We present SPMF, an open-source data mining library offering implementations of more than 55 data mining algorithms. SPMF is a cross-platform library implemented in Java, specialized for discovering patterns in transaction and sequence databases such as frequent itemsets, association rules and sequential patterns. The source code can be integrated in other Java programs. Moreover, SPMF offers a command line interface and a simple graphical interface for quick testing. The source code is available under the GNU General Public License, version 3. The website of the project offers several resources such as docu- mentation with examples of how to run each algorithm, a developer’s guide, performance comparisons of algorithms, data sets, an active forum, a FAQ and a mailing list. Keywords: data mining, library, frequent pattern mining, sequence database, transaction database, open-source
In this paper, we present SPMF (Sequential Pattern Mining Framework), a data mining library that is specialized in frequent pattern mining, an important subfield of data mining that aims at discovering interesting patterns and associations in databases. SPMF is an open-source project, started in 2009 to address the lack of large open-source data mining library specialized in frequent pattern mining. There exist several general purpose open- source data mining libraries such as Weka (Witten et al., 2005), Mahout (Mahout, 2013) and Knime (Knime, 2013), which provide a wide range of data mining techniques. However, they offer a very limited set of algorithms for frequent pattern mining. Weka, Knime and Mahout
© c2014 Philippe Fournier-Viger, Antonio Gomariz, Ted Gueniche, Azadeh Soltani, Cheng-Wei Wu, Vincent S. Tseng.
Fournier-Viger et al.
offer only a few popular pattern mining algorithms such as Apriori (Agrawal and Srikant, 1994), GSP (Srikant et al., 1996) and FPGrowth (Han et al., 2004). Some specialized platforms like Coron (Coron, 2013), LUCS-KDD (LUCS-KDD, 2013) and Illimine (Illimine,
Three main data mining tasks can be performed with SPMF.
Fournier-Viger et al.
Figure 1: SPMF graphical user interface
The runnable JAR file can also be used to run algorithms from the command line. For example, to run Apriori, the following command can be used:
j a v a −j a r spmf. j a r run A p r i o r i i n p u t. t x t output. t x t 0. 4
Input files for the algorithms are text files. The format that is used is the one from frequent pattern mining competitions such as FIMI (Boyardo et al., 2004) and used by researchers in this domain (files where items are represented by integers). But, to allow greater interoperability, the GUI and command line version of SPMF can also read the popular ARFF file format for itemset and association rule mining (used by Weka and Knime), and tools are provided to convert some selected formats to the SPMF format.
We have presented SPMF, a data mining library specialized in frequent pattern mining. The project is active and latest releases can be found on its website. SPMF has been applied in more than 70 research projects. Code submissions are reviewed by the project founder and contributors to see if they meet the requirements before being integrated in SPMF.
The authors thank the Natural Sciences and Engineering Research Council for its financial support and users who provided feedback and applied SPMF in their research projects.
R. Agrawal and R. Srikant. Fast algorithms for mining association rules in large databases. In Proceedings of the Twentieth International Conference on Very Large Data Bases, pages 487-499, Santiago, Chile, 1994.
SPMF: A Java Open-Source Data Mining Library
R. Agrawal and R. Srikant. Mining sequential patterns. In Proceedings of the Eleventh International Conference on Data Engineering, pages 3-14, Taipei, Taiwan, 1995.
J. Ayres, J. Gehrke, T, Yiu, J. Flannick. Sequential pattern mining using bitmaps. In Pro- ceedings of the Eighth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 429-435, Edmonton, Alberta, Canada, July 2002.
R. Bayardo, B. Goethals, M. J. Zaki, Proceedings of the IEEE Internation Conference on Data Mining Workshop on Frequent Itemset Mining Implementations Brighton, UK,
Coron. Software available at: http://coron.loria.fr/site/index.php
P. Fournier-Viger, R. Nkambou and V.S. Tseng. RuleGrowth: mining sequential rules com- mon to several sequences by pattern-growth. In Proceedings of the 26th Symposium on Applied Computing., ACM Press, pages 954-959, Taitung, Taiwan, 2011.
J. Han, J. Pei, Y. Yin, R. Mao. Mining frequent patterns without candidate generation: a frequent-pattern tree approach. Data Mining and Know. Discovery, 8(1):53-87 (2004)
Galicia. Software available at: http://www.iro.umontreal.ca/~galicia/
A. Gomariz, M. Campos, R. Marin, B. Goethals. ClaSP: An efficient algorithm for mining frequent closed sequences. Proceedings of the 17th Pacific-Asia Conference on Knowledge Discovery and Data Mining, pages 50-61, Gold Coast, Australia, 2013.
Illimine. Software available at: http://illimine.cs.uiuc.edu/
Knime. Software available at: http://www.knime.org/
M. Liu, J.-F. Qu. Mining high utility itemsets without candidate generation. In Proceedings of the 21st ACM International Conference on Information and Knowledge Management, pages 55-64, Maui, HI, USA, 2012
LUCS-KDD. Software available at: http://cgi.csc.liv.ac.uk/~frans/KDD/Software/
Mahout. Software available at: http://mahout.apache.org/
J. Pei, J. Han et al. Mining sequential patterns by pattern-growth: the prefixspan approach. IEEE Transactions on Knowledge and Data Engineering, 16(10):117, 2004.
R. Srikant, R. Agrawal. Mining sequential patterns: generalizations and performance im- provements. Proceedings of the 5th International Conference on Extending Database Tech- nology, pages 3-17, Avignon, France, 1996.
J. Wang, J. Han, C. Li. Frequent closed sequence mining without candidate maintenance. IEEE Transactions on Knowledge and Data Engineering, 19(8):1042–1056, 2007.
I. H. Witten and E. Frank. Data mining: practical machine learning tools and techniques. Morgan Kaufmann, 2005.
M. J. Zaki. Scalable algorithms for association mining. IEEE Transactions on Knowledge and Data Engineering, 12(3):372390.