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

Prune deprecated metrics #8586

Merged
merged 9 commits into from
Jul 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Removed

-
- Removed deprecated `metrics` ([#8586](https://github.com/PyTorchLightning/pytorch-lightning/pull/8586/))


-
Expand Down Expand Up @@ -92,7 +92,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Added

- Added `extract_batch_size` utility and corresponding tests to extract batch dimension from multiple batch types. ([#8357](https://github.com/PyTorchLightning/pytorch-lightning/pull/8357/))
- Added `extract_batch_size` utility and corresponding tests to extract batch dimension from multiple batch types ([#8357](https://github.com/PyTorchLightning/pytorch-lightning/pull/8357/))
- Added support for named parameter groups in `LearningRateMonitor` ([#7987](https://github.com/PyTorchLightning/pytorch-lightning/pull/7987))
- Added `dataclass` support for `pytorch_lightning.utilities.apply_to_collection` ([#7935](https://github.com/PyTorchLightning/pytorch-lightning/pull/7935))
- Added support to `LightningModule.to_torchscript` for saving to custom filesystems with `fsspec` ([#7617](https://github.com/PyTorchLightning/pytorch-lightning/pull/7617))
Expand Down
3 changes: 1 addition & 2 deletions pytorch_lightning/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@
_PACKAGE_ROOT = os.path.dirname(__file__)
_PROJECT_ROOT = os.path.dirname(_PACKAGE_ROOT)

from pytorch_lightning import metrics # noqa: E402
from pytorch_lightning.callbacks import Callback # noqa: E402
from pytorch_lightning.core import LightningDataModule, LightningModule # noqa: E402
from pytorch_lightning.trainer import Trainer # noqa: E402
from pytorch_lightning.utilities.seed import seed_everything # noqa: E402

__all__ = ["Trainer", "LightningDataModule", "LightningModule", "Callback", "seed_everything", "metrics"]
__all__ = ["Trainer", "LightningDataModule", "LightningModule", "Callback", "seed_everything"]

# for compatibility with namespace packages
__import__("pkg_resources").declare_namespace(__name__)
40 changes: 0 additions & 40 deletions pytorch_lightning/metrics/__init__.py

This file was deleted.

25 changes: 0 additions & 25 deletions pytorch_lightning/metrics/classification/__init__.py

This file was deleted.

39 changes: 0 additions & 39 deletions pytorch_lightning/metrics/classification/accuracy.py

This file was deleted.

37 changes: 0 additions & 37 deletions pytorch_lightning/metrics/classification/auc.py

This file was deleted.

40 changes: 0 additions & 40 deletions pytorch_lightning/metrics/classification/auroc.py

This file was deleted.

37 changes: 0 additions & 37 deletions pytorch_lightning/metrics/classification/average_precision.py

This file was deleted.

38 changes: 0 additions & 38 deletions pytorch_lightning/metrics/classification/confusion_matrix.py

This file was deleted.

62 changes: 0 additions & 62 deletions pytorch_lightning/metrics/classification/f_beta.py

This file was deleted.

37 changes: 0 additions & 37 deletions pytorch_lightning/metrics/classification/hamming_distance.py

This file was deleted.

Loading