Replies: 7 comments
-
Hi there 👋, Thank you so much for your attention to PyPOTS! You can follow me on GitHub to receive the latest news of PyPOTS. If you find PyPOTS helpful to your work, please star⭐️ this repository. Your star is your recognition, which can help more people notice PyPOTS and grow PyPOTS community. It matters and is definitely a kind of contribution to the community. I have received your message and will respond ASAP. Thank you for your patience! 😃 Best, |
Beta Was this translation helpful? Give feedback.
-
Hi Wulin, thanks for raising this question. The answer is yes, so far, all algorithms in PyPOTS request the input data samples to have the same length. Actually, this has been discussed in another issue #139. We are planning to make our methods able to handle samples having different lengths. You can follow me on GitHub and join our community to receive the latest news about PyPOTS. |
Beta Was this translation helpful? Give feedback.
-
BTW, here is my suggestion that can help you continue modeling your dataset with PyPOTS. If your time series samples do not have strict beginnings and ends, you can apply a sliding window function to truncate a long time series sample into several shorter ones. After that, you have data samples sharing the same length and you can continue with PyPOTS. |
Beta Was this translation helpful? Give feedback.
-
Hi, @WenjieDu |
Beta Was this translation helpful? Give feedback.
-
No, we don't offer such an example in our current tutorials. This idea is not a big deal, and this is more related to data preprocessing than the toolbox itself. But you can utilize the sliding window func offered in PyPOTS https://docs.pypots.com/en/latest/pypots.data.html#pypots.data.utils.sliding_window If this scenario is important to you, like I mentioned above, I'd suggest you follow me and join PyPOTS community because we will release something awesome in the following months. |
Beta Was this translation helpful? Give feedback.
-
Hi, @WenjieDu
|
Beta Was this translation helpful? Give feedback.
-
Hi Wulin, yes, you can try to use models in PyPOTS to impute all your A1, A2, B1, B2, B3 samples, then merge them back to A and B raw data samples. Regarding the overlapped parts, you can apply the average strategy, namely average the imputed values of the overlapped parts to get the final imputation results. PyPOTS currently doesn't offer such a function to help do the merging operation. You can construct a function yourself, I believe it's not a difficult thing. |
Beta Was this translation helpful? Give feedback.
-
Issue description
Hi, pypots team
pypots is a great tool!
when I tried pypots example given as the 'physionet_2012' data. It is good that this example contains a lot of samples and each sample is a time series. This is similar to my own data. However, 'physionet_2012' samples has time sequence with same length. But my samples have different sequence length and some missing value, which needs imputation for next-step analysis.
Can I still move on with pypots? Any suggestion?
Beta Was this translation helpful? Give feedback.
All reactions