load_basic_motions(split=None, return_X_y=True, return_type='numpy3d')[source]#

Load the BasicMotions time series classification problem.

Example of a multivariate problem with equal length time series.

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_X_y: bool, default=True

If True, returns (features, target) separately instead of as single data structure.

return_type: string, optional (default=”numpy3d”)

Data structure to use for time series, should be “numpy3d” or “np-list”.

X: np.ndarray

shape (n_cases, 6, 100) (if return_type=”numpy3d”), where n_cases where n_cases is either 40 (split = “train” or split=”test”) or 80.

y: np.ndarray

1D array of length 40 or 80, only returned if return_X_y is True The class labels for each time series instance in X If return_X_y is False, y is appended to X instead.

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


Dimensionality: multivariate, 6 Series length: 100 Train cases: 40 Test cases: 40 Number of classes: 4 Details:http://www.timeseriesclassification.com/description.php?Dataset=BasicMotions