Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一些数据集和batch相关问题 #403

Closed
yuanshuaiLK opened this issue May 8, 2024 · 1 comment
Closed

请教一些数据集和batch相关问题 #403

yuanshuaiLK opened this issue May 8, 2024 · 1 comment

Comments

@yuanshuaiLK
Copy link

你好,我准备使用Timesnet对心电数据进行时序预测,我发现源码里的训练数据好像是一条时序数据,但是我的心电数据集是几千条不同患者的数据,每条数据长度9000,在data_loader中设置的batch_size是对一条时序数据的吗?如果我想对我的不同数据组batch应该怎样修改?

@wuhaixu2016
Copy link
Collaborator

您好,对于这个数据可以首先随机一条患者的资料,然后再在9000个时间点中采样一段时间序列作为batch。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants