Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Phpml\CrossValidation\RandomSplit Class Reference
Inheritance diagram for Phpml\CrossValidation\RandomSplit:
Phpml\CrossValidation\Split Phpml\CrossValidation\StratifiedRandomSplit

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\RandomSplit::splitDataset ( Dataset $dataset,
float $testSize )
protected

Reimplemented from Phpml\CrossValidation\Split.


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