Package org.tribuo.data.csv
package org.tribuo.data.csv
Provides classes which can load columnar data (using a
RowProcessor
)
from a CSV (or other character delimited format) file.
CSVDataSource
is the main way of loading CSV format data into Tribuo.
It provides full control over featurisation, output processing and metadata extraction.
CSVLoader
is for simple numerical CSV files where all the
non-response columns should be treated as features. CSVSaver
writes
out a Tribuo Dataset
in CSV format suitable for loading via
CSVLoader
or some external tool
-
ClassDescriptionCSVDataSource<T extends Output<T>>A
DataSource
for loading separable data from a text file (e.g., CSV, TSV) and applyingFieldProcessor
s to it.Provenance forCSVDataSource
.An iterator over a CSV file.Load a DataSource/Dataset from a CSV file.Deprecated.Saves a Dataset in CSV format suitable for loading byCSVLoader
.
CSVDataSource
.