Coder Social home page Coder Social logo

unfolding's Introduction

unfolding.git

C++/ROOT package for unfolding and inference

This package provides many tools for tackling discrete linear inverse problems, including

  • Singular value decomposition and Generalized SVD
    • Extension of the method described in SVD approach to data unfolding
    • GSVD provides more regularization flexibility than the classic SVD method, and allows rectangular (m > n) matrices.
    • Error propagation through full covariance matrix
  • Preconditioned conjugate gradients for least squares (P-CGLS)
  • Richardson-Lucy iterative solver
  • $\chi^2$ minimizer using ROOT's TMinuit2 package (requires ROOT to be built with --enable-minuit2)
  • "Fully Bayesian" method using MCMC Metropolis random walk sampler.

Significant attention has been devoted to visualization. The examples produce spectral decomposition plots, step-wise animations for the iterative solvers, and surface plots demonstrating evolution the solutions with regularization strength.

Several quantitative methods are included to assist in finding the optimal regularization strength, including generalized cross-validation, L-curve analysis, effective degrees of freedom, and singular value spectra.

Getting started

There is no build system other than ROOT's ACLiC compiler (see examples/rootlogon.C). This package requires MatrixUtils.h and UtilFns.h from andrewadare/utils. Either symlink them to the same directory as README.md, or add their location to the ACLiC and interpreter include paths by editing examples/rootlogon.C. The example scripts should then work without further setup; for example do $ root ConvolutionExample.C+.

This code has been tested on Mac OS X 10.9 against ROOT 5 (5.34/18) and ROOT 6 beta (5.99/06). Unfortunately, I can't say much about any other setup.

unfolding's People

Contributors

andrewadare avatar

Stargazers

 avatar

Watchers

 avatar  avatar

unfolding's Issues

Broken MCMC example

BayesUnfoldingExample641.C will not run because the interface to SampleMH() in BayesMCFns.C has been updated. It's on the TODO list.

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.