synthetic_data_loader#

This module provides the dataloader.

class SyntheticDataLoader(config: DataConfig)#

Bases: object

Loads and preprocesses the data.

X_test#

the input of the test data

y_test#

the labels for the test data

train_validation_sets#

list of validations sets, one for each ratio of synthethic to observed data

Inits the DataLoader.

Parameters:

config – the data configuration.

property X_test: ndarray[Any, dtype[float64]]#

The input of the test dataset.

Returns:

The input of the test dataset.

load_data() list[pandas.core.frame.DataFrame]#

Loads the data.

Returns:

A list of dataframes.

prepare_data() None#

This function preprocesses the data.

property train: list[numpy.ndarray[Any, numpy.dtype[numpy.float64]]]#

The input of the test dataset.

Returns:

The input of the test dataset.

property y_test: ndarray[Any, dtype[float64]]#

The output of the test dataset.

Returns:

The output of the test dataset.