Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename hinge to hinge_loss #734

Merged
merged 34 commits into from
Jan 10, 2022
Merged

rename hinge to hinge_loss #734

merged 34 commits into from
Jan 10, 2022

Conversation

getgaurav2
Copy link
Contributor

@getgaurav2 getgaurav2 commented Jan 10, 2022

What does this PR do?

Part of #729
hinge to hinge_loss

Before submitting

  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@Borda Borda changed the title change hinge to hinge_loss rename hinge to hinge_loss Jan 10, 2022
@Borda Borda added API / design refactoring refactoring and code health labels Jan 10, 2022
@Borda Borda self-assigned this Jan 10, 2022
@codecov
Copy link

codecov bot commented Jan 10, 2022

Codecov Report

Merging #734 (92f82c1) into master (6c3668d) will increase coverage by 4%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #734    +/-   ##
======================================
+ Coverage      91%    95%    +4%     
======================================
  Files         167    167            
  Lines        6582   6591     +9     
======================================
+ Hits         5990   6266   +276     
+ Misses        592    325   -267     

@Borda Borda enabled auto-merge (squash) January 10, 2022 09:03
* [WIP] Add MS-SSIM

* Fix docs and a mypy issue

* fix badge

* Apply some SkafteNicki's suggestions from code review

* Fix docstring: MS_SSIM -> MultiScaleSSIM

* Fix missed MS_SSIM in a docstring

* flake8

* Add tests

* Update doc example

* Fix seed for doc + update some tests

* Clean code

* Update doc example + make diff test tractable

* torch.manual seed passed directly to torch.rand

* Apply suggestions from code review

* Drop some tests ; fix docs issues + add missing docs

* Update paper.md (Lightning-AI#690)

* ci: rename oldest

* CI: set HF caching (Lightning-AI#691)

* Apply suggestions: ms_ssim -> multiscale_ssim + typing

* Update doc reference

* Apply SkafteNicki's suggestions

* Update test reference package

* Clean test

* Change naming multiscale_ssim -> multiscale_structual_similarity_index_measure

* Update docs references

* Fix a typo: structual -> structural

* fix one last typo

* Fix ~ len in a doc

Co-authored-by: Jirka <[email protected]>
Co-authored-by: Jirka Borovec <[email protected]>
Co-authored-by: Adrian Wälchli <[email protected]>
Co-authored-by: Maxim Grechkin <[email protected]>
Co-authored-by: Nicki Skafte Detlefsen <[email protected]>
@Borda Borda force-pushed the master branch 2 times, most recently from 1432b77 to 6c3668d Compare January 10, 2022 10:16
@stancld stancld mentioned this pull request Jan 10, 2022
12 tasks
@SkafteNicki SkafteNicki added this to the v0.7 milestone Jan 10, 2022
@mergify mergify bot added the ready label Jan 10, 2022
@Borda Borda disabled auto-merge January 10, 2022 11:25
@Borda Borda merged commit 3a0f7dc into Lightning-AI:master Jan 10, 2022
Borda added a commit that referenced this pull request Jan 10, 2022
* change hinge to hinge_loss
* HingeLoss

Co-authored-by: Jirka <[email protected]>
Co-authored-by: Jirka Borovec <[email protected]>
Co-authored-by: Nicki Skafte Detlefsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API / design ready refactoring refactoring and code health
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants