MDL-57791 analytics: Changes after review
authorDavid Monllao <davidm@moodle.com>
Thu, 15 Jun 2017 08:21:58 +0000 (10:21 +0200)
committerDavid Monllao <davidm@moodle.com>
Mon, 24 Jul 2017 06:36:49 +0000 (08:36 +0200)
commit1611308b5834812d88994add151f1ea47102ad75
treedd24e7a53e34198abdb5a5e1908578a0353acc05
parent584ffa4ffc312a0f18919b125b20e782da387935
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
40 files changed:
admin/settings/analytics.php
admin/tool/models/amd/build/log_info.min.js
admin/tool/models/amd/src/log_info.js
admin/tool/models/classes/analytics/target/course_dropout.php
admin/tool/models/classes/analytics/target/no_teaching.php
admin/tool/models/classes/output/model_logs.php
admin/tool/models/classes/task/predict_models.php
admin/tool/models/classes/task/train_models.php
admin/tool/models/cli/enable_model.php
admin/tool/models/cli/evaluate_model.php
admin/tool/models/model.php
analytics/classes/admin_setting_predictor.php
analytics/classes/calculable.php
analytics/classes/course.php
analytics/classes/dataset_manager.php
analytics/classes/local/analyser/base.php
analytics/classes/local/indicator/community_of_inquiry_activity.php
analytics/classes/local/indicator/user_track_forums.php
analytics/classes/local/target/base.php
analytics/classes/local/time_splitting/base.php
analytics/classes/local/time_splitting/deciles.php
analytics/classes/local/time_splitting/deciles_accum.php
analytics/classes/local/time_splitting/quarters.php
analytics/classes/local/time_splitting/quarters_accum.php
analytics/classes/manager.php
analytics/classes/model.php
analytics/tests/fixtures/test_target_shortname.php
analytics/tests/model_test.php
lang/en/analytics.php
lang/en/cache.php
lib/classes/event/prediction_action_started.php [moved from analytics/classes/event/action_clicked.php with 77% similarity]
lib/db/caches.php
lib/mlbackend/php/classes/processor.php
lib/mlbackend/python/lang/en/mlbackend_python.php
report/insights/action.php
report/insights/classes/output/insight.php
report/insights/classes/output/insights_list.php
report/insights/insights.php
report/insights/lib.php
report/insights/prediction.php