Re: Convert text data to SPMF format via command line
Date: August 14, 2020 02:59AM
Hi,
Welcome to the forum and thanks for using SPMF.
Yes, example #213 explains how to use the text file from the source code.
But if you use the GUI or the command line to call SPMF, then it will all be done automatically. So you can just call the algorithm that you want to use from the command line with a file with .text as extension, and it should work!
For example, if you want to apply the TKS algorithm from the command line you can check the example for TKS (#135), and you will see that the command should be like this:
java -jar spmf.jar run TKS input.text output.txt 5
Here, input.text is my input file in text format.
Best regards,
Philippe