Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250706) (82fb415b695)
Phpml\Metric\ClassificationReport Class Reference

Public Member Functions

 __construct (array $actualLabels, array $predictedLabels, int $average=self::MACRO_AVERAGE)
 
 getAverage ()
 
 getF1score ()
 
 getPrecision ()
 
 getRecall ()
 
 getSupport ()
 

Public Attributes

const MACRO_AVERAGE = 2
 
const MICRO_AVERAGE = 1
 
const WEIGHTED_AVERAGE = 3
 

The documentation for this class was generated from the following file: