microsoft / hummingbird

Hummingbird compiles trained ML models into tensor computation for faster inference.
MIT License
3.32k stars 274 forks source link

All loss functions which supports SGDClassifer are added #758

Closed giriprasad51 closed 4 months ago

giriprasad51 commented 4 months ago

Fixed #626

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2036a4a) 90.11% compared to head (80ed18c) 90.11%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #758 +/- ## ======================================= Coverage 90.11% 90.11% ======================================= Files 80 80 Lines 4685 4685 Branches 857 857 ======================================= Hits 4222 4222 Misses 266 266 Partials 197 197 ``` | [Flag](https://app.codecov.io/gh/microsoft/hummingbird/pull/758/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/microsoft/hummingbird/pull/758/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | `90.11% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#carryforward-flags-in-the-pull-request-comment) to find out more.

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

ksaur commented 4 months ago

Hello @giriprasad51 ! Thank you so much for adding these! Can you please add some unit tests? Here is an example. Thanks!

giriprasad51 commented 4 months ago

@microsoft-github-policy-service agree company="default"

giriprasad51 commented 4 months ago

Hii @ksaur! As per your suggestion I added some unit tests please go through it. Thanks!