Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Phpml\CrossValidation\StratifiedRandomSplit Class Reference
Inheritance diagram for Phpml\CrossValidation\StratifiedRandomSplit:
Phpml\CrossValidation\RandomSplit Phpml\CrossValidation\Split

Public Member Functions

 getTestLabels ()
 
 getTestSamples ()
 
 getTrainLabels ()
 
 getTrainSamples ()
 

Protected Member Functions

 seedGenerator (?int $seed=null)
 
 splitDataset (Dataset $dataset, float $testSize)
 

Protected Attributes

array $testLabels = []
 
array $testSamples = []
 
array $trainLabels = []
 
array $trainSamples = []
 

Member Function Documentation

◆ splitDataset()

Phpml\CrossValidation\StratifiedRandomSplit::splitDataset ( Dataset $dataset,
float $testSize )
protected

Reimplemented from Phpml\CrossValidation\RandomSplit.


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