RoboticsClubIITJ / ML-DL-implementation

An implementation of ML and DL algorithms from scratch in python using nothing but NumPy and Matplotlib.
BSD 3-Clause "New" or "Revised" License
49 stars 69 forks source link

Unit test for TanH added #199

Closed jason-dan-iel closed 1 year ago

jason-dan-iel commented 1 year ago

Added Unit test for Tanh

codecov[bot] commented 1 year ago

Codecov Report

Base: 10.90% // Head: 11.13% // Increases project coverage by +0.22% :tada:

Coverage data is based on head (a35c733) compared to base (354cef8). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #199 +/- ## ========================================== + Coverage 10.90% 11.13% +0.22% ========================================== Files 31 31 Lines 2429 2433 +4 ========================================== + Hits 265 271 +6 + Misses 2164 2162 -2 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `11.13% <100.00%> (+0.22%)` | :arrow_up: | 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=RoboticsClubIITJ#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/RoboticsClubIITJ/ML-DL-implementation/pull/199?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RoboticsClubIITJ) | Coverage Δ | | |---|---|---| | [MLlib/tests/test\_activations.py](https://codecov.io/gh/RoboticsClubIITJ/ML-DL-implementation/pull/199/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RoboticsClubIITJ#diff-TUxsaWIvdGVzdHMvdGVzdF9hY3RpdmF0aW9ucy5weQ==) | `100.00% <100.00%> (ø)` | | | [MLlib/activations.py](https://codecov.io/gh/RoboticsClubIITJ/ML-DL-implementation/pull/199/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RoboticsClubIITJ#diff-TUxsaWIvYWN0aXZhdGlvbnMucHk=) | `49.23% <0.00%> (+1.53%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RoboticsClubIITJ). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RoboticsClubIITJ)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.