readsparse: 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.

Getting started

Package details

AuthorDavid Cortes
MaintainerDavid Cortes <>
LicenseBSD_2_clause + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the readsparse package in your browser

Any scripts or data that you put into this service are public.

readsparse documentation built on Aug. 16, 2022, 1:05 a.m.