-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolved underflow to nan issue when computing total probability and …
…log likelihood with very small BMR PMF estimates such as with SKCM MUCH16_M or TTN_M. procedure now replaces nan values in responsiblities during EM with very small value 2e-100 to represent the small probability for those samples. additionally, i made new helper methods to get bmr pmf values for a specific count to default to a really small value of 1e-100 when the count is too large to be found in the categorical distribution. case in which the count is 0 is still handled the same such that the probability of -1 defaults to 0.
- Loading branch information
Showing
2 changed files
with
88 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters