DataLoader.CSV: R6 class representing a cluster LaF csv data loaders

Description Details Methods Author(s)

Description

R6 class representing a cluster LaF csv data loaders

R6 class representing a cluster LaF csv data loaders

Details

It load batch of data from a set of csv files and binds them together.

Methods

Public methods


Method new()

Initialisation method

Usage
DataLoader.CSV$new(loaders)
Arguments
loaders

a list containing the 'CSVLoader.LaF' objects.


Method ..connect..()

Calls the connect methods of the loadres in order to open the connections with the csv files

Usage
DataLoader.CSV$..connect..(...)
Arguments
...

additional argument for the connect methods of each loader.


Method ..get.data..()

Returns the binded batch of data after applying the self$process function.

Usage
DataLoader.CSV$..get.data..(n, ...)
Arguments
n

number of rows to draw from each csv file

...

additional arguments for the self$process function


Method feed()

Feed a number with the data from the CSV file Returns X invisibly.

Usage
DataLoader.CSV$feed(data = NULL, ...)
Arguments
data

list composed by X (containing the features) and Y (containing the targets). If NULL a the list is created. If provided the numbers in ti will be fed in place.

...

additional arguemnts to be passed to


Method loaders()

Returns a list with the loaders.

Usage
DataLoader.CSV$loaders()

Method clone()

The objects of this class are cloneable with this method.

Usage
DataLoader.CSV$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Filippo Monari


modello documentation built on Feb. 2, 2021, 9:06 a.m.