Giter VIP home page Giter VIP logo

fedstgraph's Introduction

FedSTGraph: A Benchmark of Spatio-Temporal Graphs for Federated Settings ๐Ÿšง

This repo is a benchmark for spatio-temporal graph data under federated (distributed) scenarios. We collect 12 spatio-temporal datasets among different Real-world scenarios.

Table of Contents

Requirements

numpy>=1.17.2
pytorch>=1.3.1
torchvision>=0.4.2
matplotlib>=3.1.1
prettytable>=2.1.0
ujson>=4.0.2

Quick Start

1. To get a federated partition of METR-LA dataset

python generate_fedtask.py --benchmark metr-la_traffic_forecasting

2. To train METR-LA in federated system

python main.py --config config/metr-la_config.yml

3. To get a visualization of the result

python result_analysis_forecasting.py

Datasets

IDX Name Type Task Node Number of nodes Timespan Time granularity Source Support
1 PEMS-BAY Traffic speed Traffic forecasting Sensors 325 01/01/2017 - 31/05/2017 5 min [github] โœ”๏ธ
2 METR-LA Traffic speed Traffic forecasting Sensors 207 01/03/2012 - 30/06/2012 5 min [github] โœ”๏ธ
3 PEMS03 Traffic speed Traffic forecasting Sensors 358 09/01/2018 - 11/30/2018 5 min [github] ๐Ÿ”จ
4 PEMS04 Traffic speed Traffic forecasting Sensors 307 01/01/2018 - 02/28/2018 5 min [github] ๐Ÿ”จ
5 PEMS07 Traffic speed Traffic forecasting Sensors 883 05/01/2017 - 08/31/2017 5 min [github] ๐Ÿ”จ
6 PEMS08 Traffic speed Traffic forecasting Sensors 170 07/01/2016 - 08/31/2016 5 min [github] ๐Ÿ”จ
7 Shuto-Expy Traffic speed Traffic forecasting Sensors 1843 10/01/2021 - 12/31/2021 10 min [github]
8 Traffic Traffic speed Traffic forecasting Sensors 862 01/01/2015 - 12/31/2016 1 hour [github]
9 Solar-Energy Resource consumption Solar power forecasting PV plants 137 01/01/2006 - 12/31/2006 10 min [github]
10 Electricity Resource consumption Electricity usage forecasting Users 321 01/01/2012 - 12/31/2014 1 hour [github]
11 Exchange-Rate Exchange rate Exchange rate forecasting Countries 8 01/01/1990 - 12/31/2016 1 day [github]
12 SDWPF Resource consumption Wind power forecasting Turbogenerators 134 245 days 10 min [Baidu KDD CUP 2022] ๐Ÿ”จ

Partition Settings

For METR-LA & PEMS-BAY dataset, we partition dataset to each client hold one node(sensor) data.

Architecture

TODO ๐Ÿ”จ

P.S. This is basically refer to the older version of easyFL: A Lightning Framework for Federated Learning.

fedstgraph's People

Contributors

ypz-git avatar

Stargazers

ๅผ ๆ˜• avatar Niall Lv avatar  avatar Xiaoliang Fan (old repository) avatar

Watchers

hwy avatar  avatar

Forkers

xiaoliangfan

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.