Comments (2)
DTW矩阵的作用是利用流量信息计算地理实体之间的相似性,用全数据集和训练集算出来的结果没太大区别,所以对性能的影响不大。如果要改的话,可以将类似
处的 df.shape[0] 改成 int(df.shape[0] * self.train_rate) ,就可以只用训练集计算DTW矩阵。from pdformer.
在DTW基础上选取topk的相似节点作为语义邻居,所以全数据和训练集区别不是很大~
from pdformer.
Related Issues (20)
- 实验结果问题 HOT 2
- 如何在PDFormer上运行PEMS03/METR-LA/PEMS-Bay等数据集 HOT 2
- How to understand task level HOT 4
- 关于模型效率的问题 HOT 1
- 关于PEMS03结果的问题 HOT 2
- 代码问题 HOT 4
- 数据集问题 HOT 1
- 评价指标问题 HOT 1
- AttributeError: dataset_class is not found HOT 2
- ValueError: task traffic_state_pred do not support model GRU HOT 1
- 关于加载PeMS04数据集的问题
- AttributeError: dataset_class is not found HOT 1
- ValueError: Not found .geo file! HOT 1
- 网格数据集 HOT 6
- FileNotFoundError: [Errno 2] No such file or directory: './raw_data/METR_LA/config.json' HOT 3
- calculate Dynamic Time Warping
- Pems08数据集的.geo文件中没有写经纬度吗
- 如何生成.dyna和.geo等原子文件?
- 运行卡顿问题
- Clustering计算效率
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdformer.