Skip to content

Commit

Permalink
prune metrics: info retrieval (#6649)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Mar 23, 2021
1 parent 36d180e commit a74909a
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 429 deletions.
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Added

- Added `RetrievalMAP` metric, the corresponding functional version `retrieval_average_precision` and a generic superclass for retrieval metrics `RetrievalMetric` ([#5032](https://github.com/PyTorchLightning/pytorch-lightning/pull/5032))


- Added a way to print to terminal without breaking up the progress bar ([#5470](https://github.com/PyTorchLightning/pytorch-lightning/pull/5470))

Expand Down
1 change: 0 additions & 1 deletion pytorch_lightning/metrics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
R2Score,
SSIM,
)
from pytorch_lightning.metrics.retrieval import RetrievalMAP # noqa: F401

warn(
"`pytorch_lightning.metrics.*` module has been renamed to `torchmetrics.*` and split off to its own package"
Expand Down
1 change: 0 additions & 1 deletion pytorch_lightning/metrics/functional/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
from pytorch_lightning.metrics.functional.hamming_distance import hamming_distance # noqa: F401
from pytorch_lightning.metrics.functional.image_gradients import image_gradients # noqa: F401
from pytorch_lightning.metrics.functional.iou import iou # noqa: F401
from pytorch_lightning.metrics.functional.ir_average_precision import retrieval_average_precision # noqa: F401
from pytorch_lightning.metrics.functional.mean_absolute_error import mean_absolute_error # noqa: F401
from pytorch_lightning.metrics.functional.mean_squared_error import mean_squared_error # noqa: F401
from pytorch_lightning.metrics.functional.mean_squared_log_error import mean_squared_log_error # noqa: F401
Expand Down
54 changes: 0 additions & 54 deletions pytorch_lightning/metrics/functional/ir_average_precision.py

This file was deleted.

15 changes: 0 additions & 15 deletions pytorch_lightning/metrics/retrieval/__init__.py

This file was deleted.

61 changes: 0 additions & 61 deletions pytorch_lightning/metrics/retrieval/mean_average_precision.py

This file was deleted.

140 changes: 0 additions & 140 deletions pytorch_lightning/metrics/retrieval/retrieval_metric.py

This file was deleted.

36 changes: 0 additions & 36 deletions tests/metrics/functional/test_retrieval.py

This file was deleted.

Empty file.
Loading

0 comments on commit a74909a

Please sign in to comment.