public function prediction_sample_description(\core_analytics\prediction $prediction) {
        return $this->get_analyser()->sample_description($prediction->get_prediction_data()->sampleid,
            $prediction->get_prediction_data()->contextid, $prediction->get_sample_data());
    }
public function prediction_sample_description(\core_analytics\prediction $prediction) {
        return $this->get_analyser()->sample_description($prediction->get_prediction_data()->sampleid,
            $prediction->get_prediction_data()->contextid, $prediction->get_sample_data());
    }
public function prediction_sample_description ( \ core_analytics \ prediction $ prediction ) { return $ this -> get_analyser ( ) -> sample_description ( $ prediction -> get_prediction_data ( ) -> sampleid , $ prediction -> get_prediction_data ( ) -> contextid , $ prediction -> get_sample_data ( ) ) ; }
Returns the description of a sample

@param \core_analytics\prediction $prediction
@return array 2 elements: list(string, \renderable)
Returns the description of a sample