Code Monkey home page Code Monkey logo

gdgt-ai's Introduction

GDGT-AI - estimation of climatic variables using GDGT data

This library implements neural network models to infer paleotemperatures from branched glycerol dialkyl glycerol tetraethers (brGDGTs). The method is described in this paper.

The GDGT-AI library requires the following Python (>= v.3.10) libraries:

pandas ~= '1.1.5'
numpy ~= '1.19.5'
scipy ~= '1.5.4'
tensorflow ~= '2.4.1'

Tutorial

Model training

The scripts bnn_mat_model.py and bnn_maf_model.py show how to import the gdgt-ai library and use it to train Bayesian neural networks (BNNs) using cross validation. The scripts train models to inferred mean annual temperature (MAT) and mean annual temperature above freezing (MAF). rely on the data available in the training_data directory. This step can take several hours and pre-trained BNN models are available in the trained_models directory.

Predictions

The script predict_unlabeled_data.py shows how to predict MAT and MAF based on trained BNN models and using regular neural networks. the script loops over all files provided in the unlabeled_data directory and saves the BNN and NN predictions in tab-separated text files. The paths to the gdgt-ai library and input files can be specified in the first 15 lines of the script.

gdgt-ai's People

Contributors

dsilvestro avatar

Watchers

 avatar Kostas Georgiou avatar  avatar

Forkers

superevolve117

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.