Load Libsvm files incrementally (one row at a time)
The Libsvm library provides several functions to interface with Matlab. Such functions load the entire matrix into memory. However this approach is not suitable for very large datasets (think 'mnist8m' which is 20GB in size).
Libsvm_Incremental_Loader provides a solution to this problem: It allows you to load each row into memory iteratively, without storing the entire matrix. Useful for very large files. An example is provided along with the code.
Cite As
Dang Manh Truong (2026). Load Libsvm files incrementally (one row at a time) (https://uk.mathworks.com/matlabcentral/fileexchange/63446-load-libsvm-files-incrementally-one-row-at-a-time), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Libsvm_Incremental_Loader/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Modified the description |
