| Modifier and Type | Method and Description |
|---|---|
static void |
RecordReaderConverter.convert(SequenceRecordReader reader,
SequenceRecordWriter writer)
Write all sequences from the specified sequence record reader to the specified sequence record writer.
|
static void |
RecordReaderConverter.convert(SequenceRecordReader reader,
SequenceRecordWriter writer,
boolean closeOnCompletion)
Write all sequences from the specified sequence record reader to the specified sequence record writer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CollectionSequenceRecordReader
Collection record reader for sequences.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CSVLineSequenceRecordReader
CSVLineSequenceRecordReader: Used for loading univariance (single valued) sequences from a CSV,
where each line in a CSV represents an independent sequence, and each sequence has exactly 1 value
per time step.
For example, a CSV file with content: |
class |
CSVMultiSequenceRecordReader
CSVMultiSequenceRecordReader: Used to read CSV-format time series (sequence) data where there are multiple
independent sequences in each file.
The assumption is that each sequence is separated by some delimiter - for example, a blank line between sequences, or some other line that can be detected by a regex. Note that the number of columns (i.e., number of lines in the CSV per sequence) must be the same for all sequences. It supports 3 CSVMultiSequenceRecordReader.Modes:(a) CONCAT mode: the output is a univariate (single column) sequence with the values from all lines (b) EQUAL_LENGTH: Require that all lines have the exact same number of tokens (c) PAD: For any shorter lines (fewer tokens), a user-specified padding Writable value will be used to make them the same length as the other sequences Example: Input data: |
class |
CSVNLinesSequenceRecordReader
A CSV Sequence record reader where:
(a) all time series are in a single file (b) each time series is of the same length (specified in constructor) (c) no delimiter is used between time series For example, with nLinesPerSequence=10, lines 0 to 9 are the first time series, 10 to 19 are the second, and so on. |
class |
CSVSequenceRecordReader
CSV Sequence Record Reader
This reader is intended to read sequences of data in CSV format, where
each sequence is defined in its own file (and there are multiple files)
Each line in the file represents one time step
|
class |
CSVVariableSlidingWindowRecordReader
A sliding window of variable size across an entire CSV.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileBatchSequenceRecordReader
FileBatchSequenceRecordReader reads the files contained in a
FileBatch using the specified SequenceRecordReader.Specifically, the sequenceRecord(URI, DataInputStream) } method of the underlying sequence
reader is used to load files.For example, if the FileBatch was constructed using csv sequence files (each file represents one example), FileBatchSequencRecordReader could be used with CSVSequenceRecordReader. |
| Constructor and Description |
|---|
FileBatchSequenceRecordReader(SequenceRecordReader seqRR,
FileBatch fileBatch) |
| Modifier and Type | Class and Description |
|---|---|
class |
InMemorySequenceRecordReader
This is a
SequenceRecordReader
primarily meant for unit tests. |
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonLineSequenceRecordReader
|
| Modifier and Type | Class and Description |
|---|---|
class |
RegexSequenceRecordReader
RegexSequenceRecordReader: Read an entire file (as a sequence), one line at a time and
split each line into fields using a regex.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TransformProcessSequenceRecordReader
This wraps a
SequenceRecordReader with a TransformProcess
which will allow every Record returned from the SequenceRecordReader
to be transformed before being returned. |
| Modifier and Type | Field and Description |
|---|---|
protected SequenceRecordReader |
TransformProcessSequenceRecordReader.sequenceRecordReader |
Copyright © 2020. All rights reserved.