Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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: