The Data Mining Forum 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!.

Hello, Prof. Philippe Fournier-Viger.
I'm a master's degree student and I'm doing a project, "Inteligent problem assignment to students", that intends to choose an exercise to present to the user based on what he has already done, and based on data from other users, where the order of the elaborated exercises matters. For that, I intend to use TRuleGrowth algorithm, could you please give me your opinion if this is the apropriate algorithm to use or if you would choose another one?
I only have learned python, so, do you know any python library or python implementation for TRuleGrowth?

You can definitely try these algorithms (RuleGrowth / ERMiner) to discover sequential rules, which could be use to suggest activities to learners. You could consider using the TRuleGrowth algorithm for example, which is an improved version of RuleGrowth offering and additional window parameter.

As for using SPMF from Python, a very simple way could be to call the spmf.jar as an external application from your Python program. SPMF is actually designed to be used from the command line, and takes a text file as input and produce a text file as output. So from a Python program you could call SPMF with a text and then generates the patterns and read the output file to get the result back in your Python program. That would be one way to do it.

Otherwise, it is possible to make some wrapper between SPMF and Python. For example, I know one project that have done something like that:
A wrapper for using some SPMF algorithm (VMSP) in Python: https://github.com/fandu/maximal-sequential-patterns-mining
However, that code is only for one algorithm of SPMF called VMSP and is not written by me. But it could be used as an example of how to make some interface between Java and Python for other algorithms in SPMF.