Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Phpml\Preprocessing\LabelEncoder Class Reference
Inheritance diagram for Phpml\Preprocessing\LabelEncoder:
Phpml\Preprocessing\Preprocessor Phpml\Transformer

Public Member Functions

 classes ()
 
 fit (array $samples, ?array $targets=null)
 
 inverseTransform (array &$samples)
 
 transform (array &$samples, ?array &$targets=null)
 

Member Function Documentation

◆ classes()

Phpml\Preprocessing\LabelEncoder::classes ( )
Return values
string[]

◆ fit()

Phpml\Preprocessing\LabelEncoder::fit ( array $samples,
?array $targets = null )

Implements Phpml\Transformer.

◆ transform()

Phpml\Preprocessing\LabelEncoder::transform ( array & $samples,
?array & $targets = null )

Implements Phpml\Transformer.


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