TheAlgorithms / Rust

All Algorithms implemented in Rust
MIT License
22.93k stars 2.24k forks source link

Implement Huber loss function in Machine Learning loss algorithms. #696

Closed sozelfist closed 8 months ago

sozelfist commented 8 months ago

Pull Request Template

Description

This PR implement Huber loss function and add to machine learning loss function module.

Type of change

Checklist:

codecov-commenter commented 8 months ago

Codecov Report

Attention: Patch coverage is 99.30070% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 94.74%. Comparing base (10c986d) to head (b9d4c80). Report is 10 commits behind head on master.

Files Patch % Lines
src/machine_learning/loss_function/huber_loss.rs 95.23% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #696 +/- ## ========================================== + Coverage 94.70% 94.74% +0.04% ========================================== Files 292 295 +3 Lines 23292 23494 +202 ========================================== + Hits 22058 22260 +202 Misses 1234 1234 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.