gradsflow / gradsflow-automl

An open-source AutoML Library based on PyTorch
https://docs.gradsflow.com/
Apache License 2.0
306 stars 35 forks source link

Fix metrics update #163

Closed aniketmaurya closed 2 years ago

aniketmaurya commented 2 years ago

Changes

Metrics was reinitializing metrics instead of resetting values. Fixed with this PR.

Type of change

Checklist

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

codecov[bot] commented 2 years ago

Codecov Report

Merging #163 (ab1787a) into main (4f2418f) will not change coverage. The diff coverage is 80.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #163   +/-   ##
=======================================
  Coverage   96.79%   96.79%           
=======================================
  Files          67       67           
  Lines        1965     1965           
=======================================
  Hits         1902     1902           
  Misses         63       63           
Flag Coverage Ξ”
unittests 96.79% <80.00%> (ΓΈ)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Ξ”
gradsflow/core/metrics.py 92.10% <80.00%> (ΓΈ)

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update 4f2418f...ab1787a. Read the comment docs.