Skip to content

Conversation

@janrth
Copy link
Contributor

@janrth janrth commented Sep 27, 2025

Solves issue #187.

The solution proposed here gives the user the opportunity to choose between the standard way of calculation, which could result in inf, or to also re-write inf values to 0 (on top of just using fillna(0)).

Also linex was added to all on losses.py, because this was missing from last PR.

Copy link
Contributor

@nasaul nasaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove printing and use warnings.warn

@nasaul nasaul enabled auto-merge (squash) October 9, 2025 00:14
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