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

如何对自己的数据集进行预处理并在此模型中训练? #81

Open
xupinga opened this issue Jun 3, 2023 · 4 comments
Open

Comments

@xupinga
Copy link

xupinga commented Jun 3, 2023

您好,我用自己的数据集跑出来的test result图片中的真实值是一条直线,预测是有波动,想请教您如何处理数据?

@mixiancmx
Copy link
Contributor

目前的模型都不能很好处理这种真实值一条直线的情况。在你的数据集整体预测的误差怎么样呢

@xupinga
Copy link
Author

xupinga commented Jun 6, 2023

误差是较小的,mse:0.2668044865131378, mae:0.19332879781723022,可是test result的图拟合不对,想请教您对一个数据集,seq_len、label_len和pred_len如何设置较为合理

@mixiancmx
Copy link
Contributor

test result的图拟合是说预测的线和真实差距很大吗,打印出来的误差是归一化后的误差,所以数字很小
seq_len一般数据有周期性的话就包含一到两个周期,没有的话就只能多试试了。label_len只有用transformer时要用,长度需要比seq_len小,否则data loader会报错。pred_len看实际需求吧

@xupinga
Copy link
Author

xupinga commented Jun 6, 2023

非常感谢您在百忙之中对我的回复,想请教您这个模型可以用于轴承寿命预测吗?数据集为12phm

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