Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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: