Closed crescentluna closed 11 years ago
Ah, you want to be looking at linksampling.cc/hh or fastamm.cc/hh. does that help?
The same cases in: 1.inline void FPhiComp::update_phis(bool is_phi1) in fastamm.hh 2.inline void PhiCompute::update_phis(bool is_phi1) in fastamm2.hh 3.inline void PhiComp::update_phis(bool is_phi1) in mmsbinfer.hh According to Eq.S10 in SI, when y==0,u is supposed be (1 - b[k]) *log(1-epsilon), but here u is set to zero by default. Maybe I misunderstand the codes. I wonder I should read more. By the way,thanks for the nice paper:-).
"y==0,u is supposed be (1 - b[k]) *log(1-epsilon)"
epsilon is set to 1e-30, so this term is 0.
Got it ! It's really a stupid question. Thanks a lot:).
I got puzzled when reading this code in iterations of the function "PhiComp::update_phis(bool is_phi1)" in mmsbinfer.hh. According to the paper, when y==0,u is supposed be (1 - b[k]) *log(1-epsilon), but this case is not considered here.