Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Phpml\Preprocessing\LambdaTransformer Class Reference
Inheritance diagram for Phpml\Preprocessing\LambdaTransformer:
Phpml\Preprocessing\Preprocessor Phpml\Transformer

Public Member Functions

 __construct (callable $lambda)
 
 fit (array $samples, ?array $targets=null)
 
 transform (array &$samples, ?array &$targets=null)
 

Member Function Documentation

◆ fit()

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

Implements Phpml\Transformer.

◆ transform()

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

Implements Phpml\Transformer.


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