General developer forum

Machine Learning backends plugin

Picture of Kevin Calle
Re: Machine Learning backends plugin

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 ( to start programming.

Please, help me with your feedback if I'm on the right path.

Thank you very much smile .

Best regards,


Average of ratings: -