File I/O File I/O writesparse

NaN Toolbox >> NaN Toolbox > File I/O > readsparse

readsparse

reads files in LIBSVM format

Calling Sequence

[label_vector, instance_matrix] = readsparse('data.txt');

Description

Two outputs are labels and instances, which can then be used as inputs of svmtrain or svmpredict.

Authors

File I/O File I/O writesparse