Giter VIP home page Giter VIP logo

enhanced-gpdm's Introduction

enhanced-GPDM

We present enhanced Gaussian Process Dynamical Model (EGPDM), a Bayesian method used for capturing high-dimension data's dynamics and transfer learning ability. Our code is based on PyTorch with CUDA supported.

We also provide an original GPDM and its tutorial in IceLab's repo.

TO-DO

  • add EGPDM model
  • update: calculate the original RMSE instead of normalized
  • fix bugs: 3D-trajectory plot; kernel noises
  • fix bugs: cycle limitation in LBFGS

Prerequisites

  • NumPy
  • Pandas
  • Matplotlib
  • SciPy
  • scikit-learn
  • PyTorch

Data preparation

We provide several processed NASA batteries' data (B. Saha and K. Goebel, 2007) for demonstration. The original and whole datasets we used in the paper can be downloaded from: NASA dataset and Oxford dataset.

Train EGPDM

The script train_tran.py is a ready-to-run demo. We demonstrate the GPDM training and testing process along with the transfer learning ability. Please refer to the detailed comments in the code.

Try to setup different hyperparameters to evaluate the model:

  • D: observation space dimension (determined by observation data)
  • Q: desired latent space dimension, empirically $Q << D$
  • dyn_target: full or delta, delta models higher order feature by defining latent points as $x_t - x_{t-1}$

We offer linear, RBF, Matern3 and Matern5 kernel functions in the code. You can custom your desired kernels in self.observationGP_kernel() and self.dynamicGP_kernel() using linear combination of kernels.

Note that our model initializes most of the learnable parameters to $1$. If you want a more random initialization, set the parameters to torch.randn() and use a random seed to control.

License

This project is licensed under the GNU General Public License v3.0.

Acknowledgments

This work partly uses the code from CIGP and CGPDM.

enhanced-gpdm's People

Contributors

pericleshat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

enhanced-gpdm's Issues

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.