Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

variational-bayes-cs/examples

This directory contains a small selection of numerical example problems that VBCS (and potentially the VRVM) may be used to solve. The list of problems is:

  • gauss: Unit impulse positive spikes, Gauss matrix measurements.
  • nmr1d: 1D NMR trace, incomplete Fourier operator measurements.
  • nmr2d: 2D NMR plane, incomplete Fourier operator measurements.
  • spikes-sm: Small spikes instance, normal matrix measurements.
  • spikes-lg: Large spikes instance, normal matrix measurements.

Running the scripts

Within each directory, there are two scripts: instance.m and model.m. The instance script is used to generate an instance of the given problem. Using octave, this is called as:

octave instance.m

The model script loads the current problem instance and either builds a VBCS model or a VRVM model. Using octave, the models are built by calling:

octave model.m vbcs
octave model.m vrvm

The VRVM model script can take a very long time to complete, and typically requires an order of magnitude more memory to work. Results can be cleaned up by calling:

octave clean.m