PHP Class Phpml\CrossValidation\StratifiedRandomSplit

Inheritance: extends RandomSplit
Afficher le fichier Open project: php-ai/php-ml Class Usage Examples

Méthodes protégées

Méthode Description
splitDataset ( Phpml\Dataset\Dataset $dataset, float $testSize )

Private Methods

Méthode Description
createDatasets ( array $uniqueTargets, array $split ) : array
splitByTarget ( Phpml\Dataset\Dataset $dataset ) : array

Method Details

splitDataset() protected méthode

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