The Data Mining Forum                             open-source data mining software data science journal data mining conferences machine learning in software engineering MLISE 2021 utility mining workshop at ICDM 2021
This forum is about data mining, data science and big data: algorithms, source code, datasets, implementations, optimizations, etc. You are welcome to post call for papers, data mining job ads, link to source code of data mining algorithms or anything else related to data mining. The forum is hosted by P. Fournier-Viger. No registration is required to use this forum!.  
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!

Options: ReplyQuote
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!

Options: ReplyQuote
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

Options: ReplyQuote


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