Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Phpml\Dataset\SvmDataset Class Reference
Inheritance diagram for Phpml\Dataset\SvmDataset:
Phpml\Dataset\ArrayDataset Phpml\Dataset\Dataset

Public Member Functions

 __construct (string $filePath)
 
 getSamples ()
 
 getTargets ()
 
 removeColumns (array $columns)
 

Protected Attributes

array $samples = []
 
array $targets = []
 

Member Function Documentation

◆ getSamples()

Phpml\Dataset\ArrayDataset::getSamples ( )
inherited

Implements Phpml\Dataset\Dataset.

◆ getTargets()

Phpml\Dataset\ArrayDataset::getTargets ( )
inherited

Implements Phpml\Dataset\Dataset.

◆ removeColumns()

Phpml\Dataset\ArrayDataset::removeColumns ( array $columns)
inherited
Parameters
int[]$columns

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