GithubHelp home page GithubHelp logo

fagan2888 / anderson-accel-ncm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from higham/anderson-accel-ncm

0.0 0.0 0.0 12 KB

Anderson acceleration for the alternating projections method for the nearest correlation matrix problem

License: BSD 2-Clause "Simplified" License

MATLAB 100.00%

anderson-accel-ncm's Introduction

anderson-accel-ncm - MATLAB Codes for Anderson acceleration of the alternating projections method for the nearest correlation matrix

About

anderson-accel-ncm contains MATLAB functions for repairing invalid (indefinite) correlation matrices, based on the paper

N. J. Higham and N. Strabić, "Anderson Acceleration of the Alternating Projections Method for Computing the Nearest Correlation Matrix", Numer. Alg., 72(4):1021-1042, 2016.

The main functions are

  • nearcorr_aa: the alternating projections method for computing the nearest correlation matrix with Anderson acceleration. It includes the options of fixing elements and imposing a lower bound on the smallest eigenvalue.

  • nearcorr_new: the alternating projections method for computing the nearest correlation matrix. This is a version of the function nearcorr at https://nickhigham.wordpress.com/2013/02/13/the-nearest-correlation-matrix/ that has been modified to include the options of fixing elements and imposing a lower bound on the smallest eigenvalue. This unaccelerated code is included for comparison with the accelerated code nearcorr_aa.

Other M-files:

  • test_anderson: a test function. It runs the functions above on two test problems and reports the number of iterations. It can be run by typing test_anderson with no arguments.

Requirements

The codes have been developed under MATLAB 2015a and have been tested with MATLAB 2015b pre-release.

License

See license.txt for licensing information.

anderson-accel-ncm's People

Contributors

higham 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.