Description Details Methods Author(s)
R6 class representing a cluster LaF csv data loaders
R6 class representing a cluster LaF csv data loaders
It load batch of data from a set of csv files and binds them together.
new()
Initialisation method
DataLoader.CSV$new(loaders)
loaders
a list containing the 'CSVLoader.LaF' objects.
..connect..()
Calls the connect methods of the loadres in order to open the connections with the csv files
DataLoader.CSV$..connect..(...)
...
additional argument for the connect
methods of each loader.
..get.data..()
Returns the binded batch of data after applying the
self$process
function.
DataLoader.CSV$..get.data..(n, ...)
n
number of rows to draw from each csv file
...
additional arguments for the self$process
function
feed()
Feed a number with the data from the CSV file Returns X invisibly.
DataLoader.CSV$feed(data = NULL, ...)
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
loaders()
Returns a list with the loaders.
DataLoader.CSV$loaders()
clone()
The objects of this class are cloneable with this method.
DataLoader.CSV$clone(deep = FALSE)
deep
Whether to make a deep clone.
Filippo Monari
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.