Commit 0496e161 authored by patrick.lambert's avatar patrick.lambert
Browse files

buk fixed in loglikelihood computation

parent ade535d4
......@@ -135,7 +135,7 @@ public class AnalyseLikelihoodOfPresence extends AquaNismsGroupProcess<Diadromou
if (presence == 1)
logLikelihood += Math.log(p_predit + epsilon);
else
logLikelihood += 1 - Math.log(p_predit + epsilon);
logLikelihood += Math.log(1 - p_predit + epsilon);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment