Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Close
From: Hamid Reza Hassanzadeh <ha.hassanzadeh@gm...>  20120703 16:01:14
Attachments:
Message as HTML

Hello, 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(Ri_Y); 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, computeMi(featureGenerator,lambda,dataSeq,i,Mi_YY,Ri_Y); tmp_Y.assign(beta_Y[i]); tmp_Y.assign(Ri_Y,multFunc); Mi_YY.zMult(tmp_Y, beta_Y[i1]); 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. Regards 
From: Hamid Reza Hassanzadeh <ha.hassanzadeh@gm...>  20120703 17:58:10
Attachments:
Message as HTML

Thanks a lot. On Tue, Jul 3, 2012 at 1:24 PM, Sunita Sarawagi <sunita@...> wrote: > Please follow the definition of Mi_YY.zMult. This function has been > overridden 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: > > Hello, > 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(Ri_Y); > 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, > computeMi(featureGenerator,lambda,dataSeq,i,Mi_YY,Ri_Y); > tmp_Y.assign(beta_Y[i]); > tmp_Y.assign(Ri_Y,multFunc); > Mi_YY.zMult(tmp_Y, beta_Y[i1]); > > 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. > > Regards > > > > >  > 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 > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Crfusers mailing listCrfusers@...nethttps://lists.sourceforge.net/lists/listinfo/crfusers > > 
From: Hamid Reza Hassanzadeh <ha.hassanzadeh@ie...>  20120703 20:03:33
Attachments:
Message as HTML

and what is the purpose of variable "base" ? On Tue, Jul 3, 2012 at 1:58 PM, Hamid Reza Hassanzadeh < ha.hassanzadeh@...> wrote: > Thanks a lot. > > > On Tue, Jul 3, 2012 at 1:24 PM, Sunita Sarawagi <sunita@...> wrote: > >> Please follow the definition of Mi_YY.zMult. This function has been >> overridden 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: >> >> Hello, >> 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(Ri_Y); >> 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, >> computeMi(featureGenerator,lambda,dataSeq,i,Mi_YY,Ri_Y); >> tmp_Y.assign(beta_Y[i]); >> tmp_Y.assign(Ri_Y,multFunc); >> Mi_YY.zMult(tmp_Y, beta_Y[i1]); >> >> 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. >> >> Regards >> >> >> >> >>  >> 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 >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> >> _______________________________________________ >> Crfusers mailing listCrfusers@...nethttps://lists.sourceforge.net/lists/listinfo/crfusers >> >> > 