mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-57791 analytics: Changes after review
- Split model::predict in parts - JS promises updated according to eslint-plugin-promise - New API methods replacing direct DB queries - Reduce insights nav link display cost - Increase time limit as well as memory for big processes - Move prediction action event to core - Dataset write locking and others - Refine last time range end time - Removed dodgy splitting method id to int - Replace admin_setting_predictor output_html overwrite for write_setting overwrite - New APIs for access control - Discard invalid samples also during prediction
This commit is contained in:
parent
584ffa4ffc
commit
1611308b58
40 changed files with 513 additions and 289 deletions
|
@ -176,7 +176,7 @@ class processor implements \core_analytics\predictor {
|
|||
*
|
||||
* During evaluation we need to shuffle the evaluation dataset samples to detect deviated results,
|
||||
* if the dataset is massive we can not load everything into memory. We know that 2GB is the
|
||||
* minimum memory limit we should have (\core_analytics\model::increase_memory), if we substract the memory
|
||||
* minimum memory limit we should have (\core_analytics\model::heavy_duty_mode), if we substract the memory
|
||||
* that we already consumed and the memory that Phpml algorithms will need we should still have at
|
||||
* least 500MB of memory, which should be enough to evaluate a model. In any case this is a robust
|
||||
* solution that will work for all sites but it should minimize memory limit problems. Site admins
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
|
||||
$string['packageinstalledshouldbe'] = '"moodleinspire" python package should be updated. The required version is "{$a->required}" and the installed version is "{$a->installed}"';
|
||||
$string['pluginname'] = 'Python predictor';
|
||||
$string['pluginname'] = 'Python machine learning backend';
|
||||
$string['pythonpackagenotinstalled'] = 'moodleinspire python package is not installed or there is a problem with it. Please execute "{$a}" from command line interface for more info';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue