MDL-61667 analytics: Fix checking that a given model does not exist
[moodle.git] / analytics / upgrade.txt
CommitLineData
97b0a6cb
DM
1This files describes API changes in analytics sub system,
2information provided here is intended especially for developers.
3
bc82b895
DM
4=== 3.7 ===
5
6* \core_analytics\regressor::evaluate_regression and \core_analytics\classifier::evaluate_classification
7 have been updated to include a new $trainedmodeldir param. This new param will be used to evaluate the
8 existing trained model.
3b7c7918
DM
9* The method \core_analytics\manager::add_builtin_models() has been deprecated. The functionality
10 has been replaced with automatic update of models provided by the core moodle component. There
11 is no need to call this method explicitly any more. Instead, adding new models can be achieved
12 by updating the lib/db/analytics.php file and bumping the core version.
bc82b895 13
97b0a6cb
DM
14=== 3.5 ===
15
16* There are two new methods for analysers, processes_user_data() and join_sample_user(). You
17 need to overwrite them if your analyser uses user data. As a general statement, you should
18 overwrite these new methods if your samples return 'user' data. These new methods are used
19 for analytics' privacy API implementation.