Load Libsvm files incrementally (one row at a time)

This class provides a way to load Libsvm files incrementally. Useful for very large files

You are now following this Submission

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 .

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Modified the description