Coder Social home page Coder Social logo

pr_plain's Introduction

Summary

This set of Matlab codes reproduce the figures and experimental results published in our paper:

A Geometric Analysis of Phase Retrieval.
Ju Sun, Qing Qu, John Wright. http://arxiv.org/abs/1602.06664.

  • Folder grad_heuristic: to reproduce the results in Figure 1. Run test_gd.m to start.
  • Folder landscape: to reproduce Figure 2 and Figure 5.
  • Folder simulation: to reproduce the plot in Figure 4, as well as the comparison of TRM with gradient descent on an Columbia campus image (columbiacampus.jpg).
    • Run test_real.m to start the real image experiments; try to tune the TRM parameters by setting the options before calling the TRM (the gradient descent algorithm converges very slowly -- we set a high error tolerance to allow early stopping; the reference parameter setting for TRM is very conservative)
    • Run test_geometry.m to start the geometry test as described in Fig. 4.

Note that the TRM implementation is based on the Manopt package, with changes to the conjugate gradient routine. The changes are contained in the file:

manopt_cur/manopt/solvers/trustregions/tCG_CUR.m

Compared to tCG.m which is originally called by trustregions.m, the modified version explicitly checks for presence of negative curvature(s) when the gradient is small; if present, the negative curvature direction is used as the initial search direction for the (truncated) conjugate gradient algorithm. With this modification, ridable saddle points can be properly skipped.

Codes written by Ju Sun, Qing Qu, and John Wright. For questions or bug reports please send email to Ju Sun, [email protected]

Thanks to bug reporters:

pr_plain's People

Contributors

sunju avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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