diff options
author | Stan Seibert <stan@mtrr.org> | 2011-12-21 11:36:25 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:38 -0700 |
commit | 127dda0bae74829eed4b274797db26e6741ffdb5 (patch) | |
tree | 38396dafa0de363eb7887b74fcb4c348e58cdd2b /test/test_pdf.py | |
parent | e150de0d229401b045bf17cd5a1b658f69b2230c (diff) | |
download | chroma-127dda0bae74829eed4b274797db26e6741ffdb5.tar.gz chroma-127dda0bae74829eed4b274797db26e6741ffdb5.tar.bz2 chroma-127dda0bae74829eed4b274797db26e6741ffdb5.zip |
Apply a floor to the probability of each channel being in the observed
state (hit or not), rather than a floor on the hit probability.
A channel that is impossible to hit should have zero probability in
the likelihood and not be hit in the actual data. Before this change,
that channel would be forced to have a hit probability of 0.5 /
ntotal, which is wrong. We only need to ensure the probability of the
observed state of the channel is not zero so that the log() function
is defined.
Diffstat (limited to 'test/test_pdf.py')
0 files changed, 0 insertions, 0 deletions