Skip to content
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The scoring rules available in `scoringrules` include, but are not limited to, t
## Features

- **Fast** computation of several probabilistic univariate and multivariate verification metrics
- **Multiple backends**: support for numpy (accelerated with numba), jax, pytorch and tensorflow
- **Multiple backends**: support for numpy (accelerated with numba), jax and pytorch
- **Didactic approach** to probabilistic forecast evaluation through clear code and documentation

## Installation
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ reference.md
## Features

- **Fast** computation of several probabilistic univariate and multivariate verification metrics
- **Multiple backends**: support for numpy (accelerated with numba), jax, pytorch and tensorflow
- **Multiple backends**: support for numpy (accelerated with numba), jax and pytorch
- **Didactic approach** to probabilistic forecast evaluation through clear code and documentation

## Installation
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ jax = [
torch = [
"torch>=2.4.1",
]
tensorflow = [
"tensorflow>=2.17.0",
]

[dependency-groups]
dev = [
Expand Down
4 changes: 1 addition & 3 deletions scoringrules/backend/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from .base import ArrayBackend
from .jax import JaxBackend
from .numpy import NumbaBackend, NumpyBackend
from .tensorflow import TensorflowBackend
from .torch import TorchBackend

if tp.TYPE_CHECKING:
Expand All @@ -14,7 +13,6 @@
"jax": JaxBackend,
"numpy": NumpyBackend,
"torch": TorchBackend,
"tensorflow": TensorflowBackend,
"numba": NumbaBackend,
}

Expand Down Expand Up @@ -46,7 +44,7 @@ def available_backends(self):
return avail_backends

def register_backend(self, backend_name: "Backend"):
"""Register a backend. Currently supported backends are numpy, numba, jax, torch and tensorflow."""
"""Register a backend. Currently supported backends are numpy, numba, jax, and torch."""
if backend_name not in self.available_backends:
raise BackendNotAvailable(
f"The backend '{backend_name}' is not available. "
Expand Down
Loading
Loading