Show sequence ids
Posted by: Suhrid
Date: February 11, 2021 11:07AM

Hi and thank you for this package - excellent work!

A quick question re: sequential patterns. Looking at the documentation, in order to run the OCCUR algorithm the documentation says: the optional parameter: "Show sequence ids?" set to "true".

Is there a way to do this via the command line?

E.g. Is it possible to modify this command to include "Show sequence ids?":
java -jar spmf.jar run PrefixSpan contextPrefixSpan.txt output.txt 50%

Thank you!

Re: Show sequence ids
Posted by: Suhrid
Date: February 11, 2021 11:35AM

Hi,

I looked a little more at the documentation and found that this could be achieved by trailing arguments in the command line script.

Eg:
java -jar spmf.jar run PrefixSpan contextPrefixSpan.txt output.txt 50% 5 true

The last 'true' is for exactly what I was asking for.

Thank you again for the software!

Re: Show sequence ids
Date: February 12, 2021 12:03AM

Hi,

Glad you have found the solution and that the software is useful.

Yes, indeed there is an optional parameter. You have found it.

Maybe it is not in the documentation? I will check it and update the documentation if needed. I realize that some parameters are maybe not explained.

Best regards,

Philippe

This forum is powered by Phorum and provided by P. Fournier-Viger (© 2012).
Terms of use.