-
New Feature
-
Resolution: Fixed
-
Minor
-
3.6
-
MOODLE_36_STABLE
-
MOODLE_37_STABLE
-
MDL-64693-master -
Context
The Moodle Analytics API allows Moodle site managers to define prediction models that combine indicators and a target.
Targets are the key element that defines the model. Represent the event the model is attempting to predict (the dependent variable in supervised learning, also known as labels).
Since Moodle 3.4, Moodle Analytics ships with two built-in targets:
- students at risk of dropping out;
- no teaching
There was no way to define new models through the UI.
After MDL-60944, users can create new predictive models from scratch, combining existing indicators and targets.
We are increasing the number of available targets out of the box, to offer more possibilities for the definition of new models.
Goal
This issue is about adding a new target for course competencies achievement, which indicates whether a student is at risk of not achieving the competencies added to a course.
The code for this target is located at moodlesite/lib/classes/analytics/target/course_competencies.php where moodlesite is the root directory of your Moodle site.
It can be similar to the existing course_dropout and course_completion targets in core.
The requirements shared between course-level targets like course dropouts, course completion or course competencies achievement should be abstracted from the current course_dropouts target.