Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SimAquaLife
GR3D
Commits
0496e161
Commit
0496e161
authored
Mar 24, 2021
by
patrick.lambert
Browse files
buk fixed in loglikelihood computation
parent
ade535d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/analysis/AnalyseLikelihoodOfPresence.java
View file @
0496e161
...
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment