factor-graph icon indicating copy to clipboard operation
factor-graph copied to clipboard

speed up

Open psycharo-zz opened this issue 11 years ago • 1 comments

training a model with 32 mixtures currently takes around 1.5 seconds. since networks are entirely independent, it should be possible to multithread (c++11 ThreadPool implementation - https://github.com/en4bz/ThreadPool) Also, when fitted, a large number of mixtures has very low weight (those components with mean=0,prec=1,weight<~1e-5), however they decrease performance. they could be easily removed after pre-training, or even online somewhere in vmp::MoGArray.

psycharo-zz avatar Jun 25 '13 14:06 psycharo-zz

http://arma.sourceforge.net/speed.html - using this library instead of std::vector might also improve performance

psycharo-zz avatar Jun 25 '13 15:06 psycharo-zz