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

datasets--yahoo #1

Open
ly990909 opened this issue May 6, 2024 · 16 comments
Open

datasets--yahoo #1

ly990909 opened this issue May 6, 2024 · 16 comments

Comments

@ly990909
Copy link

ly990909 commented May 6, 2024

Hello author, can you share this dataset(Yahoo Webscope S5 dataset)?
I requested it on Yahoo but it was not successful, and it shows as denied.
Thank you very much indeed!!!

@lyx199504
Copy link
Owner

链接:https://pan.baidu.com/s/17XMfIDYBrF5DMslmXNaPDA
提取码:9999

@ly990909
Copy link
Author

ly990909 commented May 7, 2024

Thank you.
May I ask for your complete code again? I see that this only includes training code, no testing code, and some visualizations! I am a beginner and I really need materials that correspond to a paper and code to study. I searched for some papers online, but the code doesn't quite match!! Thank you very much!

@lyx199504
Copy link
Owner

If you don't understand Chinese, please use machine translation below for Chinese. I’m not very good at English....

这个已经是完整代码了,只是缺少了画图的代码。train.py最下面的model.test_score就是测试代码,也就是训练完成会自动执行测试代码,训练时会自动生成log文件,测试结果在log文件中的最后一行。如果你没有cuda,那可以把model.device="cuda"改成model.device="cpu"

@ly990909
Copy link
Author

ly990909 commented May 7, 2024

哈哈哈哈哈 我懂中文啊 我以为这个网站不能打中文! 那画图代码可以求求吗 我真是刚刚入门 哭死

@ly990909
Copy link
Author

ly990909 commented May 7, 2024

我想问一下,我想通过这个代码和论文学习的话,代码部分我是应该看哪几块呀?dl_models里面是各个模型,optutils里面是工具类的,log是日志,那我是不是只要重点看一下dl_models,还有下面dataPreprocessing.py,train.py,train_windows.py,总共这四块啊

@lyx199504
Copy link
Owner

先执行train.py跑通后,再依次看dataPreprocessing.py和dl_models,dataPreprocessing.py是数据的封装,dl_models是各个模型的结构,optutils暂时没必要看。至于画图代码,主要用的是matplotlib库,等我有空再整理上传吧,加油!

@ly990909
Copy link
Author

ly990909 commented May 7, 2024

好的!!!等你上传!! 太感谢了

@ly990909
Copy link
Author

ly990909 commented May 9, 2024

友友,有空别忘了上传画图代码!!!求求(磕头) 特别特别需要

@lyx199504
Copy link
Owner

你如果着急的话,不如你先把实验跑起来生成了log数据,然后对比论文里图中的数据和代码生成的log数据,然后问chatgpt根据已有的log数据如何画出柱状图之类的,几乎都是用plt.plotplt.bar,不难的。我的画图代码没整理过,比较乱,暂时没空去弄,我有事要忙

@ly990909
Copy link
Author

ly990909 commented May 9, 2024

Okay, okay, okay

@ly990909
Copy link
Author

ly990909 commented May 9, 2024

感谢回复

@lyx199504
Copy link
Owner

https://github.com/lyx199504/time-series-anomaly-detection/blob/master/ch03/draw.py 画图代码你参考这里吧,需要自己调试代码,当然前提是需要输出结果数据才能画

@ly990909
Copy link
Author

非常感谢!

@ly990909
Copy link
Author

友友 我想再问一下(最后一问) 你新发的这个我需要咋看啊?先跑通那个文件啊 !ch01—05都是啥啊

@lyx199504
Copy link
Owner

ch03是毕业论文第三章的内容,模型跟这个一样,图基本上也跟这个论文是一样的,复制ch03中的draw.py到这个项目中,然后调试draw.py里面的实验1、2、3、4(前提是你已经输出训练结果数据了),如果对代码语法不熟悉的话,那你让同学帮你一下

@Suphotworld
Copy link

作者您好,您分享的Yahoo Webscope S5 dataset数据集链接失效,请问能否再分享一下,十分感谢!

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

3 participants