You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: avoid log(0) in KL divergence by filtering zero entries
Fixes#12233
- Filter out zero entries from y_true before computing logarithm
- Add doctests demonstrating correct behavior with zeros
- Mathematically correct per information theory conventions
0 commit comments