Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: