07.29.11

Improve speed up for forward-backward algorithm

In the previous post we were talking about repmat function in MEX format. We can reach further improvements if replace forward-backward procedure with C implementation (MEX format). The source code for the forward-backward in C can be found in PMTK which  is a collection of Matlab/Octave functions, written by Matt Dunham, Kevin Murphy.

The results  see below (with the same initial conditions):

Without MEX fwdbck

Without MEX fwdbck procudure

forward-backward MEX

forward-backward MEX

VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)

07.28.11

Speeding up with repmat function (MEX version)

To run your matlab applications with repmat “functionality” faster, you can use MEX format of this function from Lightspeed matlab toolbox.
With the same initial conditions you can see “productivity boosting”. Figure 1 – with default repmat function. Figure 2 – with MEX version of repmat function.

matlab repmat

Fig.1 matlab default repmat function

MEX version repmat

Fig. 2 MEX version repmat

VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)

01.13.10

Bayes’ Rule

The snapshot from the sideshow:

bayes_rul

bayes_rul

Click the image to enlarge

Some information was taken from http://www.cs.bham.ac.uk/~axk/ML_new.htm

VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)