Thanks a lot.

On Tue, Jul 3, 2012 at 1:24 PM, Sunita Sarawagi <> wrote:
Please follow the definition of Mi_YY.zMult.  This function has been over-ridden so that it actually does the right thing for matrix entries containing log of the actual values.

On 07/03/2012 09:31 PM, Hamid Reza Hassanzadeh wrote:
I have hard times understanding the following lines of codes seen in both SegmentTrainer and NestedTrainer which compute the Betas in Log space, I would appreciate it if you can help me on that,

initMDone = computeLogMi(dataSeq,i,i+ell,featureGenNested,lambda,Mi_YY,Ri_Y,reuseM,initMDone);
tmp_Y.assign(beta_Y[i+ell], sumFunc);
Mi_YY.zMult(tmp_Y, beta_Y[i],1,1,false);

OK, in general to compute beta_Y[i] we should do this,
Mi_YY.zMult(tmp_Y, beta_Y[i-1]);

Which makes sense to me, but in Log space how can you multiply Mi_YY to tmp_Y and add the result to beta_Y? They are in log space.


Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 

Crf-users mailing list