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.


News

Reference manual

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

install.packages("readsparse")

0.1.2 by David Cortes, 5 days ago


https://github.com/david-cortes/readsparse


Report a bug at https://github.com/david-cortes/readsparse/issues


Browse source code at https://github.com/cran/readsparse


Authors: David Cortes


Documentation:   PDF Manual  


BSD_2_clause + file LICENSE license


Imports Rcpp, Matrix, methods

Suggests testthat

Linking to Rcpp


See at CRAN