public function generate_insight_notifications($modelid, $samplecontexts, array $predictions = []) {
        // Delegate the processing of insights to the insights_generator.
        $insightsgenerator = new \core_analytics\insights_generator($modelid, $this);
        $insightsgenerator->generate($samplecontexts, $predictions);
    }
public function generate_insight_notifications($modelid, $samplecontexts, array $predictions = []) {
        // Delegate the processing of insights to the insights_generator.
        $insightsgenerator = new \core_analytics\insights_generator($modelid, $this);
        $insightsgenerator->generate($samplecontexts, $predictions);
    }
public function generate_insight_notifications ( $ modelid , $ samplecontexts , array $ predictions = [ ] ) { // Delegate the processing of insights to the insights_generator. $ insightsgenerator = new \ core_analytics \ insights_generator ( $ modelid , $ this ) ; $ insightsgenerator -> generate ( $ samplecontexts , $ predictions ) ; }
Generates insights notifications

@param int $modelid
@param \context[] $samplecontexts
@param  \core_analytics\prediction[] $predictions
@return void
Generates insights notifications