Coder Social home page Coder Social logo

ssensalo / cira_uq4ml Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thunderhoser/cira_uq4ml

0.0 0.0 0.0 9.82 MB

Uncertainty quantification for machine learning at Cooperative Institute for Research in the Atmosphere

License: MIT License

Jupyter Notebook 100.00%

cira_uq4ml's Introduction

Uncertainty quantification for machine learning at Cooperative Institute for Research in the Atmosphere

This repository is a companion to the following journal paper:

Haynes, K., R. Lagerquist, M. McGraw, K. Musgrave, and I. Ebert-Uphoff, 2022: "Creating and evaluating uncertainty estimates with neural networks for environmental-science applications." Artificial Intelligence for the Earth Systems, under review.

This repository contains several Jupyter notebooks for implementing the methods discussed in the paper -- both the UQ methods themselves and the evaluation methods for uncertainty estimates.

  • classification_mc_dropout.ipynb implements MC dropout for digit classification.
  • classification_npdp.ipynb implements quantile regression for digit classification, using a special NN architecture that prevents quantile-crossing. Both notebooks use the spread-skill plot and discard test to evaluate uncertainty estimates.
  • crps_loss.ipynb implements the continuous ranked probability score (CRPS) as a loss function for ensemble prediction (EP).
  • regression_multi_datasets.ipynb allows the user to select one UQ approach (PDP, EP, or MC dropout), then compares the results across seven synthetic datasets. It uses four evaluation graphics (the attributes diagram, spread-skill plot, discard test, and PIT histogram) and eight evaluation scores (MSESS, SSRAT, SSREL, MF, DI, PITD, CRPS, and IGN).
  • regression_multi_model.ipynb allows the user to select one synthetic dataset, then compares the results across the three UQ approaches, using the same evaluation tools.

cira_uq4ml's People

Contributors

thunderhoser avatar kdhaynes avatar ralager 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.