Git Product home page Git Product logo

neuralnetcast's Introduction

NeuralNetCast

Forecasting biodiversity using neural networks

The basic idea

  • Building/testing short-term forecasts of biodiversity data following the method described in Grasso et al. (2019) (for toxin data)
  • Uses collections of survey data that measure species abundance for many species at many sites, at regular time steps
  • Input data looks something like this:
   | Time Step | Location | Species 1 | Species 2 |...|
   |-----------|----------|-----------|-----------|---|
   |   1997    |   XYZ1   |     1234  |       37  |...|
   |   1997    |   XYZ2   |       31  |      987  |...|
   |   1998    |   XYZ1   |        0  |       23  |...|
   |    ...    |    ...   |      ...  |      ...  |...|
  • The data are rearranged into "postage stamp" images, representing the precursor to an event, at each site and each time step, that we are forecasting:
              -----------------------------
   Species 1  |  45  |  31  | 234  |   0  |  
   Species 2  |   1  |   8  |  99  | 123  |     ...associated with
   ...        | ...  | ...  | ...  | ...  |    ------------------------->  SUBSEQUENT EVENT
   Species n  |   4  |  13  | 444  |  22  |
              -----------------------------
                 4      3      2      1
                 Time steps prior to event
  • The neural network then trains on (some subset of) these data, and can be tested in forecasting mode

This repo

  • The Code directory has:
    • NeuralNetCast*.R - The functions written for all the steps in the process
    • NeuralNetCastExamples*.R - Scripted examples of using the code
    • Generally, the most recent versions will be the highest numbered files
  • The Data directory has data used in the examples

neuralnetcast's People

Contributors

seascapescience avatar

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.