thuml / SimMTM

About Code release for "SimMTM: A Simple Pre-Training Framework for Masked Time-Series Modeling" (NeurIPS 2023 Spotlight), https://arxiv.org/abs/2302.00861
105 stars 13 forks source link

sktime version? #7

Open kaiXuewen opened 5 months ago

kaiXuewen commented 5 months ago

ImportError: cannot import name 'load_data' from 'sktime.utils'.how did you slove this problem?

Zhangzzbzzb commented 5 months ago

I meet this problem too.

linxi20 commented 2 months ago

Change from sktime.utils import load_data to from sktime.datasets import load_from_tsfile_to_dataframe. df, labels = load_from_tsfile_to_dataframe(filepath, return_separate_X_and_y=True, replace_missing_vals_with='NaN').