Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-59265

Guarantee 3rd parties can add machine learning backends for regression

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Analytics
    • Labels:
    • Testing Instructions:
      Hide
      1. Install both https://github.com/dmonllao/moodle-local_testanalytics and https://github.com/dmonllao/moodle-mlbackend_testbackend
      2. Set up the test machine learning backend as your "Predictions processor" (Site admin > Appearance > Analytics settings)
      3. Go to admin/tool/analytics/index.php and execute "Get predictions" in all 3 example models
      4. Check all 3 models' predictions page (insights column)
        • You can easily change model by using the "Select other insights..." dropdown
      5. You should see both "green" and "red" predictions
      6. Click on "Actions" > "View prediction details" on a couple of predictions
      7. Check that you see "Setting is set - Yes" with "info" notification style
      8. Check that you see "Setting is set - No" with "warning" notification style
      Show
      Install both https://github.com/dmonllao/moodle-local_testanalytics and https://github.com/dmonllao/moodle-mlbackend_testbackend Set up the test machine learning backend as your "Predictions processor" (Site admin > Appearance > Analytics settings) Go to admin/tool/analytics/index.php and execute "Get predictions" in all 3 example models Check all 3 models' predictions page (insights column) You can easily change model by using the "Select other insights..." dropdown You should see both "green" and "red" predictions Click on "Actions" > "View prediction details" on a couple of predictions Check that you see "Setting is set - Yes" with "info" notification style Check that you see "Setting is set - No" with "warning" notification style
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-59265_master

      Description

      The current interface names are ok and they match what they do according to what we currently support. if we forecast future new features we will add to analytics API we should be able to update the current method names to something more specific.

      Previous issue name: Modify interfaces names so we don't break BC when we add new features in future releases

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Nov/17