Wazifa Counter using Speech Processing in Matlab

A friend asked some time before to develop a tool which counts the number of times a wazifa has been recited. It had to use only voice input when hands were not free such as during driving. Here is a version-0 of an attempt at solving the problem. A program is written in Matlab script […]

Continue reading


Global warming calculation

Why Global Warming Will Cross a Dangerous Threshold in 2036 Emitting carbon dioxide at current rates will soon push Earth’s temperature up by 2 degrees Celsius. Here’s how to make the calculation yourself By Michael E. Mann | Mar 18, 2014 You can try this exercise yourself. The text below explains the variables and steps […]

Continue reading


Sparse Finite-Element Matrices in MATLAB

  March 1st, 2007   Creating Sparse Finite-Element Matrices in MATLAB     I’m pleased to introduce Tim Davis as this week’s guest blogger. Tim is a professor at the University of Florida, and is the author or co-author of many of our sparse matrix functions (lu, chol, much of sparse backslash, ordering methods such […]

Continue reading


Sparse Finite-Element Matrices in MATLAB

March 1st, 2007 Creating Sparse Finite-Element Matrices in MATLAB I’m pleased to introduce Tim Davis as this week’s guest blogger. Tim is a professor at the University of Florida, and is the author or co-author of many of our sparse matrix functions (lu, chol, much of sparse backslash, ordering methods such as amd and colamd, […]

Continue reading


CRF Toolbox Updated

I updated the code for my Graphical Models / Conditional Random Fields toolbox This is a Matlab toolbox, though almost all the real work is done in compiled C++ for efficiency. The main improvements are: Lots of bugfixes. Various small improvements in speed. A unified CRF training interface to make things easier for those not […]

Continue reading


Truncated Bi-Level Optimization

In 2012, I wrote a paper that I probably should have called “truncated bi-level optimization”.  I vaguely remembered telling the reviewers I would release some code, so I’m finally getting around to it. The idea of bilevel optimization is quite simple.  Imagine that you would like to minimize some function .  However, itself is defined […]

Continue reading


Julia, Matlab, and C

Julia is a new language in the same arena as Matlab or R. I’ve had failed attempts to quit the Matlab addiction in the past, making me generally quite conservative about new platforms. However, I’ve recently been particularly annoyed by Matlab’s slow speed, evil license manager errors, restrictions on parallel processes, C++ .mex file pain, […]

Continue reading


Graphical Models Toolbox

I’m releasing code for a “toolbox” of code for learning and inference with graphical models. It is focused on parameter learning using marginalization in the high-treewidth setting. Though the code is, in principle, domain independent, I’ve developed it with vision problems in mind. This means that the code is A) efficient (all the inference algorithms […]

Continue reading