LibSvmSource

class coba.environments.LibSvmSource

Load a libsvm dataset.

Remarks:

https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/multiclass.html

Constructors

__init__(source: str | Source[Iterable[str]]) None

Instantiate a LibsvmSource.

Parameters:

source – The data source. Accepts either a string representing the source location or another Source.

Methods

read() Iterable[Sparse]

Read and parse the libsvm source.

Attributes

params

Parameters describing the libsvm source.