Git Product home page Git Product logo

extremestm's Introduction

The MATLAB code package implements the stochastic variational inference algorithm to learn spatio-temporal extreme-value graphical models as described in the following paper:

H. Yu, and J. Dauwels, ''Modeling Spatio-Temporal Extreme Events using Graphical Models,'' to be appear in IEEE Trans. Signal Process.

The main script is mainfull.m. To test your own datasets, please follow the steps below:

  1. Replace the artifical data "artiData(16x16)_GSL" by your own block maxima data set when loading data and store the data in the nxp matrix XDat, where n is the no. of time series and p is the no. of locations.

  2. For regular grids where the measuring sites are evenly distributed, please input the values of pc and pr, where pr and pc are respectively the no. of rows and columns of the lattice where we observe the block maxima.

  3. For irregular grid, please provide the lattitudes and longitudes of the measuring sites as the input of variables Ltt and Lgt.

  4. If the time series is periodic, you need to change the period pp accordingly. Otherwise, pp = 1.

  5. You can tune pct (i.e, the percentage of measurements used to compute the stochastic gradients) in SVEM_final.m. Typically, pct should be larger than max(1/pt,1/ps) such that there is at least one measurement for every location and time point. Smaller pct value can usually speed up the algorithm with the accuracy unchanged.

Yu Hang, NTU, May 2015.

extremestm's People

Contributors

fhlyhv avatar

Watchers

 avatar

Forkers

lnsongxf jdauwels

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.