Giter Site home page Giter Site logo

关于DTW计算的问题 about pdformer HOT 2 CLOSED

maxuhuii avatar maxuhuii commented on August 25, 2024
关于DTW计算的问题

from pdformer.

Comments (2)

NickHan-cs avatar NickHan-cs commented on August 25, 2024

DTW矩阵的作用是利用流量信息计算地理实体之间的相似性,用全数据集和训练集算出来的结果没太大区别,所以对性能的影响不大。如果要改的话,可以将类似

for i in range(df.shape[0] // (24 * self.points_per_hour))], axis=0)
处的 df.shape[0] 改成 int(df.shape[0] * self.train_rate) ,就可以只用训练集计算DTW矩阵。

from pdformer.

aptx1231 avatar aptx1231 commented on August 25, 2024

在DTW基础上选取topk的相似节点作为语义邻居,所以全数据和训练集区别不是很大~

from pdformer.

Related Issues (20)

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.