Read and Write Sparse Matrices in 'SVMLight' and 'LibSVM' Formats

Read and write labelled sparse matrices in text format as used by software such as 'SVMLight', 'LibSVM', 'ThunderSVM', 'LibFM', 'xLearn', 'XGBoost', 'LightGBM', and others. Supports labelled data for regression, classification (binary, multi-class, multi-label), and ranking (with 'qid' field), and can handle header metadata and comments in files.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.5-1 by David Cortes, 3 months ago

Report a bug at

Browse source code at

Authors: David Cortes

Documentation:   PDF Manual  

BSD_2_clause + file LICENSE license

Imports Rcpp, Matrix, methods

Suggests MatrixExtra, testthat

Linking to Rcpp

See at CRAN