Граф коммитов

238 Коммитов

Автор SHA1 Сообщение Дата
Jirka Borovec b429dbdb2e
Refactor requirements (#130)
* docs

* test

* integrate

* devel

* - tm
2021-03-25 08:51:38 +01:00
Nicki Skafte 691b5d6eba
FBeta update (#111)
* update to statscore

* fix functional

* fix tests

* update

* fix tests

* formatting

* fix tests

* suggestions

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz>
2021-03-24 15:32:50 -04:00
Jirka Borovec 9a73d5e91b docs: complete fail list 2021-03-24 11:35:08 +01:00
Nicki Skafte d64ee21333
fix (#123) 2021-03-24 09:52:36 +00:00
Jirka Borovec 2bec25c159
fix link in canonical (#124) 2021-03-24 09:26:04 +00:00
Nicki Skafte 2af13fb1b3
Multilabel support in ROC (#114)
* multilabel_roc_supp

* formatting

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2021-03-23 20:41:31 +00:00
Nicki Skafte fc6c8ef124
add micro (#110) 2021-03-23 17:43:24 +00:00
Nicki Skafte c1e0602f41
update ddp example (#113) 2021-03-23 17:17:14 +00:00
Nicki Skafte 8f47462be4
Note on the use of DP and DDP (#121)
* note

* Apply suggestions from code review

Co-authored-by: Ananya Harsh Jha <ananya@pytorchlightning.ai>

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Ananya Harsh Jha <ananya@pytorchlightning.ai>
2021-03-23 18:04:35 +01:00
Nicki Skafte 536357ccb4
[New metric] Matthews corrcoef (#98)
* init implementation

* files

* move file

* init files

* docs

* fix tests

* pep8

* Update CHANGELOG.md

* isort
2021-03-23 17:39:14 +01:00
Jirka Borovec 84cd7ffc82
update docs after transfer (#118)
* update docs after transfer

* ..
2021-03-22 10:18:06 +01:00
Luca Di Liello 60c0eec495 Mean Average Precision metric for Information Retrieval (1/5) (PL^5032)
* init information retrieval metrics

* changed retrieval metrics names, expanded arguments and fixed typo

* added 'Retrieval' prefix to metrics and fixed conflict with already-present 'average_precision' file

* improved code formatting

* pep8 code compatibility

* features/implemented new Mean Average Precision metrics for Information Retrieval + doc

* fixed pep8 compatibility

* removed threshold parameter and fixed typo on types in RetrievalMAP and improved doc

* improved doc, put first class-specific args in RetrievalMetric and transformed RetrievalMetric in abstract class

* implemented tests for functional and class metric. fixed typo when input tensors are empty or when all targets are False

* fixed typos in doc and changed torch.true_divide to torch.div

* fixed typos pep8 compatibility

* fixed types in long division in ir_average_precision and example in mean_average_precision

* RetrievalMetric states are not lists and _metric method accepts predictions and targets for easier extension

* updated CHANGELOG file

* added '# noqa: F401' flag to not used imports

* added double space before '# noqa: F401' flag

* Update CHANGELOG.md

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* change get_mini_groups in get_group_indexes

* added checks on target inputs

* minor refactoring for code cleanness

* split tests over exception raising in separate function && refactored test code into multiple functions

* fixed pep8 compatibility

* implemented suggestions of @SkafteNicki

* fixed imports for isort and added types annontations to functions in test_map.py

* isort on test_map and fixed typing

* isort on retrieval and on __init__.py and utils.py in metrics package

* fixed typo in pytorch_lightning/metrics/__init__.py regarding code style

* fixed yapf compatibility

* fixed yapf compatibility

* fixed typo in doc

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-22 09:22:07 +01:00
Dipam Vasani 79548d5026 document exceptions for metrics/functional (PL^6273)
* document exceptions for metrics/functional

* Apply suggestions from code review

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Apply suggestions from code review

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2021-03-22 09:22:07 +01:00
Dipam Vasani 4055f48848 Document exception for metrics/classification (PL^6190)
* document exception for metrics/classification

* minor formatting fixes

* fix trailing whitespaces

* document exception for metrics

* Apply suggestions from code review

Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>

* Apply suggestions from code review

Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>

* Apply suggestions from code review

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>

Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2021-03-22 09:22:07 +01:00
Frankie Robertson 8cf27b9441 Fix when _stable_1d_sort to work when n >= N (PL^6177)
* Fix when _stable_1d_sort to work when n >= N

* Apply suggestions

Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-03-22 09:22:07 +01:00
prajakta0111 def3709bdb document exceptions for metrics/regression (PL^6202)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Prajakta Phadke <pphadke@iu.edu>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2021-03-22 09:22:07 +01:00
Akihiro Nitta ed58afd931 Minor fixes/improvements in Metric docs (PL^6114)
* Fix wrong render

* Improve classification metrics docs

* Improve other domain metrics docs

* Change the structure level in the docs
2021-03-22 09:22:07 +01:00
Alex Morehead d4267c000a
Update brief_intro.rst (#115)
Simple change of phrasing
2021-03-21 22:02:16 +01:00
Alex Morehead 1f918779d8
typo in lightning.rst (#116) 2021-03-21 22:01:48 +01:00
Jirka Borovec 2e4cb70c46
refactor setup (#93)
* refactor setup

* info

* importing

* flake8
2021-03-19 14:38:56 +00:00
Jirka Borovec be89a1b731
Refactor & cleaning (#109)
* typos

* code

* format
2021-03-18 19:56:43 +00:00
Jirka Borovec 9c8dbf68db configure mergify 2021-03-18 20:37:13 +01:00
Jirka Borovec a1e50ca62b
simplify Tensor import (#108)
* versions

* simplify Tensor

* simplify tensor

* yapf
2021-03-18 20:34:25 +01:00
Nicola De Cao 1fcf9fc235
Update theme_variables.jinja (#105)
* Update theme_variables.jinja

* Apply suggestions from code review

Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>

Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>
2021-03-18 10:59:20 +01:00
Jirka Borovec 617784157c
GH template - fix label 2021-03-17 18:44:01 +01:00
Jirka Borovec 264cc6f41e
unify checks (#91) 2021-03-17 11:28:49 +00:00
Jirka Borovec 036d1c66fa
Prune deprecated (#92)
* deprecation

* notes
2021-03-17 16:26:01 +05:30
Nicki Skafte 02f0450de2
[New metric] CohenKappa (#69)
* cohen_kappa

* changelog

* pep8

* fix tests

* isort

* Update torchmetrics/functional/classification/cohen_kappa.py

Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2021-03-15 19:54:52 +00:00
Jirka Borovec dfc85be4f6
CI: fix coverage config (#84)
* update coverage config

* Apply suggestions from code review
2021-03-15 13:01:39 +01:00
thomasgaudelet 8002ddc58c
lightweight explained variance (#68)
* light explained variance

* fix

* fix

* update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: thomasgaudelet <thomasgaudelet@github.com>
Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>
2021-03-15 09:54:54 +00:00
Adrian Wälchli 179117babf
fix typos in readme (#83)
* fix typos in readme

* fix CI

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz>
2021-03-15 10:23:13 +01:00
Jirka Borovec 6b192f2688 update req. 2021-03-15 08:52:44 +01:00
Jirka Borovec bb5ca011e1
CI: publish test results (#80)
* publish test results

* coverage

* ci
2021-03-14 22:51:16 +01:00
Haswanth Aekula 5d48e906ec
Typos and Doc Fixes in implement.rst (#72) 2021-03-14 09:48:38 +00:00
Nicki Skafte c32d3e5efb
Add prefix arg to metric collection (#70)
* prefix arg

* prefix arg

* Apply suggestions from code review

* chlog

* add types

* fix doctest

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz>
2021-03-14 09:28:45 +01:00
Nicki Skafte 0b9553d8a0
changelog (#71) 2021-03-13 16:36:47 +00:00
edenlightning 75570f67df
Minor docfixes (#63)
* Update lightning.rst

* Update README.md

* Update brief_intro.rst

* Update README.md
2021-03-12 20:54:07 +01:00
Jirka Borovec 67feedf581 chlog update 2021-03-12 13:32:32 +01:00
PythicCoder a8ebb0da9a
Update README.md (#48)
small grammar fix
2021-03-12 10:34:22 +01:00
edenlightning b1269accf8
Docs update (#47)
* Update README.md

* Update brief_intro.rst

* Update conf.py

* install

* simple

* Update brief_intro.rst

* Apply suggestions from code review


Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: ananyahjha93 <ananya@pytorchlightning.ai>
Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz>
2021-03-12 00:27:02 +01:00
Jirka Borovec 3b6884575c fix docs links to source 2021-03-11 17:45:24 +01:00
Jirka Borovec e744119af9 v0.2.0 2021-03-11 16:04:18 +01:00
Jirka Borovec 218242adb2 more tests 2021-03-11 15:11:05 +01:00
Jirka Borovec 20f40611cc
CI update pip for caching (#45)
* coverage tags

* ci-cache: update
2021-03-11 12:53:15 +01:00
Jirka Borovec 466148bc72
use pytest-cov (#44)
* use pytest-cov

* req

* auc
2021-03-11 11:35:28 +01:00
Jirka Borovec e66ee67ebb
add tests for uncovered functions (#43)
* data

* checks

* enum

* rand
2021-03-11 09:39:47 +00:00
Teddy Koker ccc7eadd9d
Readme typo (#42)
* Readme typo

* badge

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2021-03-11 08:02:05 +00:00
Jirka Borovec 42df6c0286 drop Question template 2021-03-11 01:39:08 +01:00
Jirka Borovec 92e7b19913 v0.2.0rc3 2021-03-11 01:23:20 +01:00
Jirka Borovec 6749a377d8 extend badges 2021-03-11 01:16:26 +01:00