In order to make it possible for researchers to create and test learning analytics models in Moodle without requiring PHP development skills, we have a proposal for the creation of a web UI:
https://tracker.moodle.org/browse/MDL-61806
Please review and discuss either in the tracker ticket or at https://moodle.org/analytics
Thanks!