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

22 Коммитов

Автор SHA1 Сообщение Дата
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
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
Jirka Borovec 2e4cb70c46
refactor setup (#93)
* refactor setup

* info

* importing

* flake8
2021-03-19 14:38:56 +00:00
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
Nicki Skafte 0b9553d8a0
changelog (#71) 2021-03-13 16:36:47 +00: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 92e7b19913 v0.2.0rc3 2021-03-11 01:23:20 +01:00
Jirka Borovec d946faec9d v0.2.0rc2 2021-03-11 00:56:25 +01:00
Jirka Borovec 8d12f09e8b
update CI install (#39)
* update CI install

* tools

* init

* formatting
2021-03-11 00:33:24 +01:00
Jirka Borovec 2b6e7c1be3 v0.2.0rc1
disable docs deploy
2021-03-10 23:19:37 +01:00
Nicki Skafte cdf58a1bd1
Refactor MetricCollection (#19)
* refactor

* chlog

* isort

* mypy

Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz>
2021-03-01 08:20:38 +00:00
Jirka Borovec 4ed7edf472 take over Apache-2.0 2021-02-24 12:05:16 +01:00
Jirka Borovec 6b1a9ccb92
drop PL dependency (#13)
* drop PL dependency

* copy needed PL methods

* move prints

* docs
2021-02-24 10:41:22 +00:00
Jirka Borovec c8ee853432
add base testing (#11)
* add base testing

* move test

* ...
2021-02-23 21:05:44 +00:00
Jirka Borovec 62a5f4eac8 apply isort 2021-02-22 10:44:25 +01:00
Jirka Borovec fd1c11e26e flake8 2021-02-22 10:18:09 +01:00
Jirka Borovec e61d035450 v0.1.0 2021-02-22 10:18:09 +01:00
Jirka Borovec f9553d4262 update install & tests & requirements
* update requirements

* tests

* install

* CI

(cherry picked from commit bdab86dda6)
2021-02-22 10:18:07 +01:00
Jirka Borovec 8f7c8184e2 pytorch_lighting.metrics -> torchmetrics 2021-02-22 09:59:54 +01:00
Jirka Borovec 6b0656d2e8 pypi 2021-01-04 22:46:03 +01:00
Jirka Borovec 54965794f7 set torchmetrics 2020-12-22 21:23:55 +01:00