thundersvm icon indicating copy to clipboard operation
thundersvm copied to clipboard

Working with MATLAB datasets stored as variables in the workspace

Open jl1101 opened this issue 5 years ago • 1 comments

Hi,

I can read from the example that when implemented on MATLAB, the svm_train_matlab and svm_predict_matlab commands have to refer to a dataset that is stored on the harddrive as a txt file. Is it possible for thundersvm to work directly with datasets stored as variables in MATLAB workspace the way LIBSVM does? Exporting the datasets as txt files are not very plausible for me because my model employs cross-validation and random sampling: storing a new txt file into the harddrive in each iteration (tens of thousands) is not efficient computationally (especially when the dataset is very large).

Could any one please kindly suggest?

Thank you.

jl1101 avatar Jan 06 '20 19:01 jl1101

The Matlab interface currently doesn't support the functionality. You are more than welcome to contribute.

zeyiwen avatar Jan 08 '20 08:01 zeyiwen