AIStream-Peelout/flow-forecast
소개
시계열 예측, 분류 및 이상 탐지를 위한 딥러닝 PyTorch 라이브러리입니다(원래는 홍수 예측용으로 개발되었습니다).
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +3
- in 1 month
- +3
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDeep learning for time series forecasting, classification, and anomaly detection
Flow Forecast (FF) is an open-source deep learning for time series forecasting framework. It provides all the latest state of the art models (transformers, attention models, GRUs, ODEs) and cutting edge concepts with easy to understand interpretability metrics, cloud provider integration, and model serving capabilities. Flow Forecast was the first time series framework to feature support for transformer based models and remains the only true end-to-end deep learning for time series framework. Currently, Task-TS from CoronaWhy primarily maintains this repository. Pull requests are welcome. Historically, this repository provided open source benchmark and codes for flash flood and river flow forecasting.
For additional tutorials and examples please see our tutorials repository.
| branch | status $$ |
|---|---|
| master | |
| Build PY | |
| Documentation | |
| CodeCov | |
| CodeFactor |
Getting Started
Using the library
- Run
pip install flood-forecast - Detailed info on training models can be found on the Wiki.
- Check out our Confluence Documentation
Models currently supported
- Vanilla LSTM (LSTM): A basic LSTM that is suitable for multivariate time series forecasting and transfer learning.
- Full transformer (SimpleTransformer in model_dict): The full original transformer with all 8 encoder and decoder blocks. Requires passing the target in at inference.
- Simple Multi-Head Attention (MultiHeadSimple): A simple multi-head attention block and linear embedding layers. Suitable for transfer learning.
- Transformer with a linear decoder (CustomTransformerDecoder in model_dict): A transformer with n-encoder blocks (this is tunable) and a linear decoder. Suitable for forecasting, classification or anomaly detection.
- DA-RNN: (DARNN) A well rounded model with which utilizes a LSTM + attention.
- Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecasting (called DecoderTransformer in model_dict):
- Transformer XL: Porting Transformer XL for time series.
- Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting (Informer)
- DeepAR
- DSANet: Model from the DSANet paper with additional optional parameters.
- Simple Linear Model (SimpleLinearModel): Essentially a linear regression model with a few more layers. Great for rapid prototyping of features and interpretability.
- Vanilla GRU with optional probablistic output layer. Good for multivariate time series forecasting and classification.
- DLinear and NLinear from the AAAI paper Are Transformers Effective for Time Series Forecasting
- Crossformer from ICLR 2023
- Anomaly Transformer
- TSMixer
- Inverted Transformer + Various Attention Mechanisms
Forthcoming Models
We have a number of models we are planning on releasing soon. Please check our project board for more info
Integrations
Contributing
For instructions on contributing please see our contributions page and our project board.
Historical River Flow Data
Task 1 Stream Flow Forecasting
This task focuses on forecasting a stream's future flow/height (in either cfs or feet respectively) given factors such as current flow, temperature, and precipitation. In the future we plan on adding more variables that help with the stream flow prediction such as snow pack data and the surrounding soil moisture index.
Task 2 Flood severity forecasting
Task two focuses on predicting the severity of the flood based on the flood forecast, population information, and topography. Flood severity is defined based on several factors including the number of injuires, property damage, and crop damage.
If you use either the data or code from this repository please use the citation below. Additionally please cite the original authors of the models.
@misc{godfried2020flowdb,
title={FlowDB a large scale precipitation, river, and flash flood dataset},
author={Isaac Godfried and Kriti Mahajan and Maggie Wang and Kevin Li and Pranjalya Tiwari},
year={2020},
eprint={2012.11154},
archivePrefix={arXiv},
primaryClass={cs.AI}
}
관련 프로젝트 살펴보기
불러오는 중…