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
47 stars 68 forks source link

Unit test for Softmax #201

Closed PT-10 closed 1 year ago

PT-10 commented 1 year ago

Adds Softmax unit test to test_demo.py

codecov[bot] commented 1 year ago

Codecov Report

Merging #201 (881c461) into master (b6ab51e) will increase coverage by 0.42%. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/RoboticsClubIITJ/ML-DL-implementation/pull/201/graphs/tree.svg?width=650&height=150&src=pr&token=Y1Z46WITCE&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RoboticsClubIITJ)](https://codecov.io/gh/RoboticsClubIITJ/ML-DL-implementation/pull/201?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RoboticsClubIITJ) ```diff @@ Coverage Diff @@ ## master #201 +/- ## ========================================== + Coverage 11.13% 11.56% +0.42% ========================================== Files 31 31 Lines 2433 2438 +5 ========================================== + Hits 271 282 +11 + Misses 2162 2156 -6 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `11.56% <100.00%> (+0.42%)` | :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/201?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/201/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/201/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=RoboticsClubIITJ#diff-TUxsaWIvYWN0aXZhdGlvbnMucHk=) | `53.84% <0.00%> (+4.61%)` | :arrow_up: |