Learn R Programming

modello (version 0.1.1)

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

Description

R6 class representing a cluster LaF csv data loaders

R6 class representing a cluster LaF csv data loaders

Arguments

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.

Details

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