Giter Club home page Giter Club logo

Comments (6)

yangwohenmai avatar yangwohenmai commented on September 13, 2024

您好,看了您的代码,受益匪浅,但是针对自己的问题,还有一些地方不太清楚,如果您有时间,希望你可以帮忙解答,万分感谢! 问题:现在网上很多的LSTM的实例讲解,大都是针对一列数据,如您代码中的乘客、香皂等。我现在想做的是一年内的每日降水,且我有三十个站点,这样的话,我的原始数据就是366*30的数据表,我想问一下,针对多条数据,在进行数据输入重构的时候应该怎么做?

你想做多变量预测是吧,建议看看我的这个专栏,里面有三篇多变量预测的文章,应该能满足你,如果还有问题,可以继续来问。专栏链接:https://forecast.blog.csdn.net/article/details/84568510

from lstm.

gjj1311923511 avatar gjj1311923511 commented on September 13, 2024

from lstm.

gjj1311923511 avatar gjj1311923511 commented on September 13, 2024

from lstm.

yangwohenmai avatar yangwohenmai commented on September 13, 2024

冒昧再次打扰您! 您好,我现在训练模型跑通了,但是又遇到一个问题,如果可以的话,还得麻烦您解答。 问题:就像之前邮件描述的,我现在是用三十个站点去训练模型,所以我的lstm的输入就reshape为[363,3,30],但是我现在想要做的是用这训练好的模型,去得到更多的站点(多余30个,比如有200个)预测。如果是200个站点,则输入的reshape应该就是[363,3,200],此时就会出现输入不匹配的问题。请问我该怎么解决这个问题。 我的目的就是要去实现如图片中描述: (7K15X6) 活动中心 @.***  

------------------ 原始邮件 ------------------ 发件人: "yangwohenmai/LSTM" @.>; 发送时间: 2022年7月21日(星期四) 下午3:43 @.>; 抄送: "(7K15X6) @.@.>; 主题: Re: [yangwohenmai/LSTM] 关于数据重构问题 (Issue #8) 您好,看了您的代码,受益匪浅,但是针对自己的问题,还有一些地方不太清楚,如果您有时间,希望你可以帮忙解答,万分感谢! 问题:现在网上很多的LSTM的实例讲解,大都是针对一列数据,如您代码中的乘客、香皂等。我现在想做的是一年内的每日降水,且我有三十个站点,这样的话,我的原始数据就是36630的数据表,我想问一下,针对多条数据,在进行数据输入重构的时候应该怎么做? 你想做多变量预测是吧,建议看看我的这个专栏,里面有三篇多变量预测的文章,应该能满足你,如果还有问题,可以继续来问。专栏链接:https://forecast.blog.csdn.net/article/details/84568510 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.**>

这个问题是一开始输入数据的结构设计的不合理造成的。[363,3,30]意味着有363个sample,每个sample有30个特征值,每组数据步长为3,根据你描述的数据场景,这种输入结构并不合适。特征值不应该用站点的数量,而是用每个站点监测数据所包含的数据特征

from lstm.

gjj1311923511 avatar gjj1311923511 commented on September 13, 2024

from lstm.

lidaban233 avatar lidaban233 commented on September 13, 2024

您好,我也在做降水量预测工作,可以发邮件[email protected]和我交流

from lstm.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.