Dataset#

The following functions are contained in the twinlab.Dataset class.

Constructor#

Dataset(id[, project, project_owner])

A twinLab dataset that can be used for training an emulator online.

Upload data#

Dataset.upload(df[, verbose])

Upload a dataset to the twinLab cloud so that it can be queried and used for training.

Dataset.append(df[, verbose])

Append new data to an existing dataset in the twinLab cloud.

Explore data#

Dataset.view([verbose])

View (and download) a dataset that exists on the twinLab cloud.

Dataset.summarise([verbose])

Show summary statistics for a dataset that exists on the twinLab cloud.

Dataset.analyse_variance(columns[, verbose])

Return an analysis of the variance retained per dimension after performing singular value decomposition (SVD) on the dataset.

Dataset.analyse_input_variance(columns[, ...])

Dataset.analyse_output_variance(columns[, ...])

Delete data#

Dataset.delete([verbose])

Delete a dataset that was previously uploaded to the twinLab cloud.

Lock data#

Dataset.lock([verbose])

Lock a dataset that was previously uploaded to the twinLab cloud.

Dataset.unlock([verbose])

Unlock a dataset that was previously uploaded to the twinLab cloud.