dsipts.read_public_dataset

dsipts.read_public_dataset(path: str, dataset: str) Tuple[DataFrame, List[str]]

Returns the public dataset chosen. Pleas download the dataset from here https://drive.google.com/drive/folders/1ZOYpTUa82_jCcxIdTmyr0LXQfvaM9vIy or ask to agobbi@fbk.eu.

Parameters:
  • path (str) – path to data

  • dataset (str) – dataset (one of ‘electricity’,’etth1’,’etth2’,’ettm1’,’ettm2’,’exchange_rate’,’illness’,’traffic’,’weather’)

Returns:

The target variable is y and the time index is time and the list of the covariates

Return type:

Tuple[pd.DataFrame,List[str]]