Coder Social home page Coder Social logo

adolphus8 / approximate_bayesian_computation Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.16 MB

Repository on Approximate Bayesian Computation and the different distance metrics which can be implemented.

MATLAB 100.00%
approximate-bayesian-computation distance-metrics model-validation bayesian-model-updating stochastic-model-updating

approximate_bayesian_computation's Introduction

Distance Metrics and Approximate Bayesian Computation Tutorial

This is a repository on containing MATLAB codes designed to demonstrate the implementation of Approximate Bayesian Computation (ABC) and the different distance metrics which can be implemented for Bayesian model updating and model validation.

1) Numerical study

The numerical study serves to demonstrate how the following distance metrics, employed in ABC, quantify the stiatistical distance (or difference) between any two sample sets and evaluate the strengths and weaknesses of each distance metric from there:

  1. Euclidean distance metric (EDMe.m)
  2. Bhattacharyya distance metric (BDMe.m)
  3. Bray-Curtis distance metric (BCMe.m)
  4. 1-Wasserstein distance metric (areaMe.m)

2) The 2014 NASA-LaRC Uncertainty Quantification Challenge

The 2014 NASA-LaRC Uncertainty Quantification Challenge serves as the first case study to evluate the compare the Bayesian model updating results on a black-box model using ABC and the subsequent model validation performance between the different distance metrics discussed. The focus of the case study is on problems A1 and A2 of the challenge.

Note that the user is required to run the following codes in sequence:

  1. NASA_LaRC_Challenge_Part1.m
  2. NASA_LaRC_Challenge_Part2.m
  3. NASA_LaRC_Challenge_Part3.m

3) The 2008 Thermal Problem

The 2008 Thermal Problem serves as the second case study to evluate the compare the Bayesian model updating results on a white-box, physics-based model using ABC and the subsequent model validation performance between the different distance metrics discussed. The focus of the case study is on the ensemble validation procedure.

Note that the user is required to download the RiskCalc MATLAB package as a folder and add it to path before running the following codes in sequence:

  1. Thermal_Problem_Part1.m
  2. Thermal_Problem_Part2.m

Reference:

  • A. Lye, S. Ferson, and S. Xiao (2024). Comparison between distance functions for Approximate Bayesian Computation towards Stochastic model updating and Model validation under limited data. ASCE-ASME Journal of Risk and Uncertainty in Engineering Systems Part A: Civil Engineering, 10, 03124001. doi: 10.1061/AJRUA6.RUENG-1223

Author:

  • Name: Adolphus Lye
  • Contact: [email protected]
  • Affiliation: Singapore Nuclear Research and Safety Institute, National University of Singapore

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.