Can someone tell me if there is already a MLbackends plugins that I don't know about?
There are a couple of examples in moodle core https://github.com/moodle/moodle/tree/master/lib/mlbackend
Is there a recommendation to use this plugin?
mlbackend plugins are good for supervised learning problems. You can find the documentation here: https://docs.moodle.org/dev/Machine_learning_backends
Can I use the MLbackends moodle's core to create mine?
You can base your plugin in a core one, yes. Just extend the mlbackend processor class or require moodlemlbackend python package in case you want to reuse some parts of mlbackend python package.
How can I visualize results?
Visualization depends on the machine learning backend. Core's PHP backend does not include any special visualization. Core's mlbackend_python plugin outputs learning process data to a tensorflow summaries file
Is it possible to add a predictor other than classifier and regressor according to my aims?
Just supervised learning is supported by Machine Learning backends core APIs. The API is not ready for unsupervised learning, reinforcement learning...
You can always use plugin types like 'local' or 'admin tool', they are general purpose plugin types. They do not provide you with any starting point like mlbackend plugin types does though, they are just a way to plug any external code into moodle's core.
Ideally analytics API and machine learning backends would support unsupervised learning and reinforcement learning but they do not and it does not seem like HQ is going to put resources on this at short term. In any case we are open to contributions from the community and any proposed API specs will be welcomed. They would be used as a starting point for future implementations.
Thank you for the respond, I'm starting with a local plugin to begin.
Thanks for the help!!
Hello David and Cchtou,
I'm working in a similar project. I am trying to develop a plugin that contains a clustering model (k-means). Specifically, I want to make groups of students according to their personality traits. I want to obtain the features (indicators) from a survey that students will fill in a course in moodle.
But I have many doubts if I'm doing it right. My question is: Can I extend the mlbackend processor class to use the models located in moodle/lib/mlbackend/php/phpml/src/Phpml/Clustering/ ?.
For the moment I have been guided in the moodle-local_testanalytics plugin (https://github.com/dmonllao/moodle-local_testanalytics) to start programming.
Please, help me with your feedback if I'm on the right path.
Thank you very much .