Skip to content

Conversation

@kieranwbbbb
Copy link

@kieranwbbbb kieranwbbbb commented Jan 22, 2026

Describe your changes

Fixed a bug in the Poisson negative log-likelihood metric calculation where the arguments to poisson_nll_loss() were swapped.

  • Swapped test_data and denoised_data arguments to match function signature
  • y_pred should be denoised_data (prediction)
  • y_true should be test_data (ground truth)
  • This bug was causing incorrect metric values

Checklist before requesting a review

  • I have performed a self-review of my code

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Bug fixes
  • Proposed changes are described in the CHANGELOG.md

  • CI Tests succeed and look good!

- Swapped test_data and denoised_data arguments to match function signature
- y_pred should be denoised_data (prediction)
- y_true should be test_data (ground truth)
- This bug was causing incorrect metric values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants