|
Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Insights generator. More...
Public Member Functions | |
| __construct (int $modelid, core_analytics\local\target\base $target) | |
| Constructor. More... | |
| generate ($samplecontexts, $predictions) | |
| Generates insight notifications. More... | |
Insights generator.
| core_analytics\insights_generator::__construct | ( | int | $modelid, |
| core_analytics\local\target\base | $target | ||
| ) |
Constructor.
| int | $modelid | |
| core_analytics::local::target::base | $target |
| core_analytics\insights_generator::generate | ( | $samplecontexts, | |
| $predictions | |||
| ) |
Generates insight notifications.
| array | $samplecontexts | The contexts these predictions belong to |
| core_analytics::prediction[] | $predictions | The prediction records |
| null |