DataCanvasIO / HyperTS

A Full-Pipeline Automated Time Series (AutoTS) Analysis Toolkit.
https://hyperts.readthedocs.io
Apache License 2.0
260 stars 27 forks source link

Need at least 3 dates to infer frequency #99

Closed hello-the-vsworld closed 1 year ago

hello-the-vsworld commented 1 year ago

我是用pandas导入了excel的表格数据,导入了时间,但建立实验就告诉我至少需要3个日期来推断频率,使用数据库里面的数据就不会报这个错误,我猜测是我哪里没有设置对,但我还是没有找到问题,希望有人能指出来。放上图片了。 问题1 问题2

zhangxjohn commented 1 year ago

我看到你的数据的频率是毫秒的(L),但是发现你的 报错信息里好像设置了‘S’,如果设置了‘S’,那么该数据就没有频率了。你可以尝试freq=‘L’,freq=None或者freq='null'&mode='dl'`,等,看看问题是否可以解决,如果无法解决,如不涉及信息泄露,您可以将你的数据(少量)和代码给我一个demo,我复现一下你的问题。此外,max_trails设置特别大很耗时,建议减少搜索的轮数。

hello-the-vsworld commented 1 year ago

感谢您的回复,很及时,下午我复现一下,届时将数据和代码给您发送一份。 

无聊来读书 @.***

 

------------------ 原始邮件 ------------------ 发件人: "Xiaojing @.>; 发送时间: 2023年6月5日(星期一) 上午10:11 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [DataCanvasIO/HyperTS] Need at least 3 dates to infer frequency (Issue #99)

你好,你可以将你的数据和代码给我一个demo吗?我复现一下你的问题。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

hello-the-vsworld commented 1 year ago

max_trails=1000是否意味着最大训练次数为1000epoch,我的目的是想让算法模型尽可能多的训练,而不是训练10次或者较少的次数,担心结果不好。  

无聊来读书 @.***

 

------------------ 原始邮件 ------------------ 发件人: "Xiaojing @.>; 发送时间: 2023年6月5日(星期一) 上午10:21 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [DataCanvasIO/HyperTS] Need at least 3 dates to infer frequency (Issue #99)

我看到你的数据的频率是毫秒的(L),但是发现你的 报错信息里好像设置了‘S’,如果设置了‘S’,那么该数据就没有频率了。你可以尝试freq=‘L’,freq=None或者freq='null'&mode='dl'`,等,看看问题是否可以解决,如果无法解决,如不涉及信息泄露,您可以将你的数据(少量)和代码给我一个demo,我复现一下你的问题。此外,max_trails设置特别大很耗时,建议减少搜索的轮数。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

zhangxjohn commented 1 year ago

max_trails=1000的意思是进行了1000次试验,换言之,搜索了1000种模型,不是1000个epoch,如果再考虑上epoch,那就是max_trials*epochs了。

hello-the-vsworld commented 1 year ago

https://colab.research.google.com/drive/17Zrlxg6jIgHuOxk-QYIgXEsVpjN9B2kf?usp=sharing 附件有代码和数据,另外粘贴了Colab的代码地址

无聊来读书 @.***

 

------------------ 原始邮件 ------------------ 发件人: "DataCanvasIO/HyperTS" @.>; 发送时间: 2023年6月5日(星期一) 中午1:41 @.>; @.**@.>; 主题: Re: [DataCanvasIO/HyperTS] Need at least 3 dates to infer frequency (Issue #99)

max_trails=1000的意思是进行了1000次试验,换言之,搜索了1000种模型,不是1000个epoch,如果再考虑上epoch,那就是max_trials*epochs了。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

zhangxjohn commented 1 year ago

Colab无法访问, “附件有代码和数据”这个是发到我的邮箱了吗?

hello-the-vsworld commented 1 year ago

对的,发送到了邮箱的附件里

无聊来读书 @.***

 

------------------ 原始邮件 ------------------ 发件人: "DataCanvasIO/HyperTS" @.>; 发送时间: 2023年6月5日(星期一) 下午2:48 @.>; @.**@.>; 主题: Re: [DataCanvasIO/HyperTS] Need at least 3 dates to infer frequency (Issue #99)

Colab无法访问, “附件有代码和数据”这个是发到我的邮箱了吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

hello-the-vsworld commented 1 year ago

https://colab.research.google.com/drive/17Zrlxg6jIgHuOxk-QYIgXEsVpjN9B2kf?usp=sharing

无聊来读书 @.***

 

------------------ 原始邮件 ------------------ 发件人: "DataCanvasIO/HyperTS" @.>; 发送时间: 2023年6月5日(星期一) 下午2:48 @.>; @.**@.>; 主题: Re: [DataCanvasIO/HyperTS] Need at least 3 dates to infer frequency (Issue #99)

Colab无法访问, “附件有代码和数据”这个是发到我的邮箱了吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

zhangxjohn commented 1 year ago

我好像是没有收到,我是这个邮箱zhangxjohn@yeah.net哈

zhangxjohn commented 1 year ago

对于该问题,你可以通过将timestamp_format='%Y-%m-%d %H:%M:%S.%f',解决该问题,建议采用最新代码,则可以忽略该设置。

hello-the-vsworld commented 1 year ago

感谢您的回复,这对我帮助很大!!!!!!!!!

无聊来读书 @.***

 

------------------ 原始邮件 ------------------ 发件人: "DataCanvasIO/HyperTS" @.>; 发送时间: 2023年6月6日(星期二) 上午10:49 @.>; @.**@.>; 主题: Re: [DataCanvasIO/HyperTS] Need at least 3 dates to infer frequency (Issue #99)

对于该问题,你可以通过将timestamp_format='%Y-%m-%d %H:%M:%S.%f',解决该问题,建议采用最新代码,则可以忽略该设置。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>