save_merged_dataset_splits

tsml_eval.utils.datasets.save_merged_dataset_splits(problem_path: str, dataset: str, save_path: str | None = None)[source]

Merge the TRAIN and TEST .ts files of a dataset and save the merged file.

Expects files to be present at {path}/{dataset}/{dataset}_TRAIN.ts and {path}/{dataset}/{dataset}_TEST.ts.

Parameters:
problem_pathstr

Path to the problem folder.

datasetstr

Name of the dataset.

save_pathstr, default=None

Path to save the merged dataset to. If None, the merged dataset will be saved in the same folder as the original datasets.