Commit 2edaff7
committed
Fix ground process intensity calculation in GMM model
Replaces use of log-probabilities with exponentiated densities for ground process intensity calculation and applies clipping to avoid numerical issues. Also updates the use of mean_rate to mean_rates[-1] and ensures safe division only when occupancy is above a threshold.1 parent f75fd20 commit 2edaff7
1 file changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
384 | 386 | | |
385 | 387 | | |
386 | 388 | | |
| |||
0 commit comments