mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-25 22:37: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
14 lines
283 B
Markdown
14 lines
283 B
Markdown
# 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](array-dataset.md) for more information.
|