Skip to content

Added derivative method for Poisson Loss class

7bce8a5
Select commit
Loading
Failed to load commit list.
Open

Added loss function and unit test for Poisson Loss #211

Added derivative method for Poisson Loss class
7bce8a5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 29, 2025 in 0s

13.96% (target 0.00%)

View this Pull Request on Codecov

13.96% (target 0.00%)

Details

Codecov Report

Attention: Patch coverage is 83.33333% with 3 lines in your changes missing coverage. Please review.

Project coverage is 13.96%. Comparing base (f43f6e7) to head (7bce8a5).

Files with missing lines Patch % Lines
MLlib/loss_func.py 70.00% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #211      +/-   ##
==========================================
+ Coverage   11.56%   13.96%   +2.39%     
==========================================
  Files          31       32       +1     
  Lines        2438     2456      +18     
==========================================
+ Hits          282      343      +61     
+ Misses       2156     2113      -43     
Files with missing lines Coverage Δ
MLlib/tests/test_loss_func.py 100.00% <100.00%> (ø)
MLlib/loss_func.py 44.53% <70.00%> (+44.53%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.