SPMF documentation > Converting a Transaction Database to SPMF Format

This example explains how to convert a transaction database to SPMF format using the SPMF open-source data mining library.

How to run this example?

The tool for converting a transaction databases to SPMF format. It takes three prameters as input:

The algorithm outputs a transaction database in SPMF format.

The CSV_INTEGER format is defined as follows:

For example, the follwing sequence database is in CSV_INTEGER format and contains four sequences:

1,2,3,4
5,6,7,8
5,6,7
1,2,3

Other formats will be added eventually.

 

<< Return to table of contents of SPMF documentation

Copyright © 2008-2020 Philippe Fournier-Viger. All rights reserved.