load_basic_motions¶
- load_basic_motions(split=None, return_type='numpy3d')[source]¶
Load the BasicMotions time series classification problem.
Example of a multivariate problem with equal length time series.
- 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 “numpy3d” or “np-list”.
- Returns:
- 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. 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: multivariate, 6 Series length: 100 Train cases: 40 Test cases: 40 Number of classes: 4 Details:https://www.timeseriesclassification.com/description.php?Dataset=BasicMotions