当前位置:网站首页>时空预测3-graph transformer
时空预测3-graph transformer
2022-07-04 21:03:00 【YueTann】
任务
预测未来的风电功率
数据
每个样本包括seq_x作为输入,seq_y作为标签
- 读取数据csv
- 前处理,raw_df, new_df增加了时间、周几的信息,去掉了tmstamp、day等信息
- 截取seq_x和seq_y,以new_df为基准,根据index选取history和predict
- 建立graph
图
通过np.corrcoef和np.where构图
np.corrcoef计算各个节点的相关性,134 * 134
np.argpartition计算每个节点最相关的5个对应的index
模型
模型结合graph和autoformer
参考
- https://github.com/PaddlePaddle/PGL/tree/main/examples/kddcup2022/wpf_baseline
- https://keras.io/examples/graph/gat_node_classification/
边栏推荐
- Redis 排查大 key 的3种方法,优化必备
- AcWing 2022 每日一题
- [buuctf.reverse] 151_ [FlareOn6]DnsChess
- In the release version, the random white screen does not display the content after opening the shutter
- maya灯建模
- TCP shakes hands three times and waves four times. Do you really understand?
- Shutter WebView example
- 输入的查询SQL语句,是如何执行的?
- Analyzing the maker space contained in steam Education
- Redis bloom filter
猜你喜欢
【C語言】符號的深度理解
SolidWorks工程图添加材料明细表的操作
How to use concurrentlinkedqueue as a cache queue
maya灯建模
IIC (STM32)
[early knowledge of activities] list of recent activities of livevideostack
Word文档中标题前面的黑点如何去掉
MP3是如何诞生的?
Analysis of maker education technology in the Internet Era
Huawei ENSP simulator enables devices of multiple routers to access each other
随机推荐
Maya lamp modeling
Stealing others' vulnerability reports and selling them into sidelines, and the vulnerability reward platform gives rise to "insiders"
【微信小程序】协同工作与发布
Cloudcompare & open3d DBSCAN clustering (non plug-in)
redis管道
Monitor the shuttle return button
Billions of citizens' information has been leaked! Is there any "rescue" for data security on the public cloud?
巅峰不止,继续奋斗!城链科技数字峰会于重庆隆重举行
Golang interview finishing three resumes how to write
Delphi soap WebService server-side multiple soapdatamodules implement the same interface method, interface inheritance
Analysis of maker education technology in the Internet Era
Rotary transformer string judgment
Master the use of auto analyze in data warehouse
Hash table
GTEST from ignorance to proficiency (4) how to write unit tests with GTEST
Liu Jincheng won the 2022 China e-commerce industry innovation Figure Award
AcWing 2022 每日一题
redis发布订阅的使用
TCP三次握手,四次挥手,你真的了解吗?
[buuctf.reverse] 151_ [FlareOn6]DnsChess