load_acsf1

load_acsf1(split=None, return_type='numpy3d')[source]

Load the ACSF1 univariate dataset on power consumption of typical appliances.

Deprecated since version 1.6.0: Deprecated and will be removed in v1.7.0. Use load_classification("ACSF1") to download the dataset from Zenodo instead.

Parameters:
split: None or one of “TRAIN”, “TEST”, default=None

Whether to load the train or test instances of the problem. By default it loads both train and test instances into a single array.

return_type: string, default=”numpy3d”

Data structure to use for time series, should be either “numpy2d” or “numpy3d”.

Returns:
X: np.ndarray

shape (n_cases, 1, 1460) (if return_type=”numpy3d”) or shape (n_cases, 1460) (return_type=”numpy2d”), where n_cases where n_cases is either 100 (split = “train” or split=”test”) or 200.

y: np.ndarray

1D array of length 100 or 200. The class labels for each time series instance in X.

Raises:
ValueError is raised if the data cannot be stored in the requested return_type.

Notes

Dimensionality: univariate Series length: 1460 Train cases: 100 Test cases: 100 Number of classes: 10 Details: https://www.timeseriesclassification.com/description.php?Dataset=ACSF1

Deprecated since version 1.6.0: load_acsf1 and the shipped ACSF1 dataset are deprecated and will be removed in v1.7.0. At 3.2 MB it is the largest dataset shipped with aeon and is unused elsewhere in the toolkit. The dataset remains available from Zenodo via load_classification(“ACSF1”).

Examples

>>> from aeon.datasets import load_acsf1
>>> X, y = load_acsf1()