Coder Social home page Coder Social logo

yulinliu101 / deeptp Goto Github PK

View Code? Open in Web Editor NEW
73.0 6.0 26.0 235.02 MB

A deep generative model to predict aircraft actual trajectories using high dimensional weather data

Home Page: https://arxiv.org/abs/1812.11670

License: MIT License

Python 19.24% Jupyter Notebook 80.76%
trajectory-generation trajectory-prediction trajectory-inference lstm encoder-decoder encoder-decoder-model generative-model aircraft-performance gaussian-mixtures spatio-temporal

deeptp's Introduction

DeepTP

Reliable 4D aircraft trajectory prediction, whether in a real-time setting or for analysis of counterfactuals, is important to the efficiency of the aviation community. In this paper, we first develop an efficient tree-based matching algorithm to construct image-like feature maps for historical flight trajectories from high-fidelity meteorological datasets – wind, temperature and convective weather. We then model the track points on trajectories as conditional gaussian mixtures with parameters to be learned from our proposed deep generative model, which is an end-to-end convolutional recurrent neural network that consists of a Long Short-Term Memory (LSTM) encoder network and a mixture density LSTM decoder network. The encoder network embeds last-filed flight plan information into fixed-length state variables and feed to the decoder network, which further learns the spatiotemporal correlations from the historical flight tracks and outputs the parameters of gaussian mixtures. Convolutional layers are integrated into the pipeline to learn feature representations from the high-dimensional weather feature maps. During the inference process, beam search and adaptive Kalman filter (with Rauch-Tung-Striebel smoother) algorithms are used to prune the variance of generated trajectories.

Manuscript: https://arxiv.org/abs/1812.11670

Suggested citation:

@misc{1812.11670,
Author = {Liu, Yulin and Hansen, Mark},
Title = {Predicting Aircraft Trajectories: A Deep Generative Convolutional Recurrent Neural Networks Approach},
Year = {2018},
Eprint = {arXiv:1812.11670},
}

Inference framework:

Inference

To run feature engineering:

cd src
python run_feature_cube_generator.py

To train from scratch:

cd src
python Run_RNN_model_Lite.py --train_or_predict train --config configs/encoder_decoder_nn_lite.ini

To train from some pretrained models:

cd src
python Run_RNN_model_Lite.py --train_or_predict train --config configs/encoder_decoder_nn_lite.ini --name PATH/TO/MODEL --train_from_momdel True

To sample trajectories:

cd src
python Run_RNN_model_Lite.py --train_or_predict predict --config configs/encoder_decoder_nn_lite.ini --name PATH/TO/MODEL

The following are examples of generated flight tracks.

Example 1 of generated flight tracks Example 2 of generated flight tracks

deeptp's People

Contributors

yulinliu101 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

deeptp's Issues

Datasets

can you provide me with two datasets which are in Geogle drive link?

WX Data

The files "processed_bundle/storm_bundle.pkl" and/or "storm_.pkl" files are missing in this repo.

I plan to train your model on some weather data from an Europe weather station.
It would be very nice if you maybe can give a short description/explanation how this files have to look like so that i can preprocess my weather data source to the required "gridded_storm.npz"

Unable to run the Run_RNN_model_lite.py script. Index error

I have been trying for a couple of weeks to launch your script in order to test a little bit more the result you have with your project.
I have fix all the issues I encounter in the run_feature_cube.py script and I did setup a python environment with the right version of Tensorflow to run the model.

The issues I have now come from an index error the next_batch() function in the datasets_lite.py script and more precisely from this line :

269 - batch_inputs_feature_cubes = self.train_feature_cubes[self.idx:endidx, :, :, :, :]

IndexError: too many indices for array: array is 1-dimensional, but 5 were indexed

The error come from the reading of the file feature_cubes.npz and I am not sure why the array is only a 1 dimensional array when it should be a 5 dimensional array.

I am using Python 3.7.9 and I didn't do any major changes to the run_features_cube.py script.
Do you have any advice for me in order to run you project properly ?

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.