mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-25 14:27:34 +00:00
4562f1dfc9
* Add data loader for svm format * Add tests for error cases * Set proper exception messages * Add documents * Add error checking code for invalid column format * Add missing documents
283 B
283 B
SvmDataset
Helper class that loads data from SVM-Light format file. It extends the ArrayDataset
.
Constructors Parameters
- $filepath - (string) path to the file
$dataset = new SvmDataset('dataset.svm');
See ArrayDataset for more information.