Converting a Transaction Database to SPMF Format (SPMF documentation)

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:


Other formats will be added eventually.