Search is not available for this dataset
repo_id stringlengths 12 110 | file_path stringlengths 24 164 | content stringlengths 3 89.3M | __index_level_0__ int64 0 0 |
|---|---|---|---|
public_repos | public_repos/torchmetrics/MANIFEST.in | # Manifest syntax https://packaging.python.org/en/latest/guides/using-manifest-in/
graft wheelhouse
recursive-exclude __pycache__ *.py[cod] *.orig
# include also models
recursive-include src *.pth
# Include the README and CHANGELOG
include *.md
recursive-include src *.md
# Include the license file
include LICENSE
... | 0 |
public_repos | public_repos/torchmetrics/CITATION.cff | cff-version: 1.2.0
message: "If you want to cite the framework, feel free to use this (but only if you loved it 😊)"
title: "TorchMetrics - Measuring Reproducibility in PyTorch"
abstract:
"A main problem with reproducing machine learning publications is the variance of metric implementations across papers.
A lack o... | 0 |
public_repos | public_repos/torchmetrics/setup.py | #!/usr/bin/env python
import glob
import os
import re
from functools import partial
from importlib.util import module_from_spec, spec_from_file_location
from itertools import chain
from pathlib import Path
from typing import Any, Iterable, Iterator, List, Optional, Tuple, Union
from pkg_resources import Requirement, y... | 0 |
public_repos | public_repos/torchmetrics/.readthedocs.yml | # Copyright The Lightning AI team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 0 |
public_repos | public_repos/torchmetrics/requirements.txt | -r requirements/base.txt
| 0 |
public_repos | public_repos/torchmetrics/.codecov.yml | # see https://docs.codecov.io/docs/codecov-yaml
# Validation check:
# $ curl --data-binary @.codecov.yml https://codecov.io/validate
# https://docs.codecov.io/docs/codecovyml-reference
codecov:
bot: "codecov-io"
strict_yaml_branch: "yaml-config"
require_ci_to_pass: yes
notify:
# after_n_builds: 2
wait_... | 0 |
public_repos | public_repos/torchmetrics/Makefile | .PHONY: test clean docs env data
export FREEZE_REQUIREMENTS=1
# assume you have installed need packages
export SPHINX_MOCK_REQUIREMENTS=1
export SPHINX_FETCH_ASSETS=0
clean:
# clean all temp runs
rm -rf $(shell find . -name "mlruns")
rm -rf _ckpt_*
rm -rf .mypy_cache
rm -rf .pytest_cache
rm -rf tests/.pytest_ca... | 0 |
public_repos | public_repos/torchmetrics/.pre-commit-config.yaml | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos | public_repos/torchmetrics/pyproject.toml | [metadata]
license_file = "LICENSE"
description-file = "README.md"
[build-system]
requires = ["setuptools", "wheel"]
[tool.check-manifest]
ignore = ["*.yml", ".github", ".github/*"]
[tool.pytest.ini_options]
norecursedirs = [".git", ".github", "dist", "build", "docs"]
addopts = [
"--strict-markers",
"--doc... | 0 |
public_repos | public_repos/torchmetrics/.prettierignore | # Ignore all MD files:
**/*.md
| 0 |
public_repos | public_repos/torchmetrics/README.md | <div align="center">
<img src="docs/source/_static/images/logo.png" width="400px">
**Machine learning metrics for distributed, scalable PyTorch applications.**
______________________________________________________________________
<p align="center">
<a href="#what-is-torchmetrics">What is Torchmetrics</a> •
<a ... | 0 |
public_repos | public_repos/torchmetrics/LICENSE | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... | 0 |
public_repos | public_repos/torchmetrics/CHANGELOG.md | # Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
**Note: we move fast, but still we preserve 0.1 version (one feature... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/audio.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
# this need to be the same as used inside speechmetrics
pesq @ git+http... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/nominal_test.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
pandas >1.0.0, <=2.0.3 # cannot pin version due to numpy version incomp... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/_docs.txt | sphinx ==5.3.0
myst-parser ==1.0.0
nbsphinx ==0.9.3
pandoc ==2.3
docutils ==0.19
sphinxcontrib-fulltoc >=1.0
sphinxcontrib-mockautodoc
lai-sphinx-theme # need to be downloaded from s3://sphinx-packages/
sphinx-autodoc-typehints ==1.23.0
sphinx-paramlinks ==0.6.0
sphinx-togglebutton ==0.3.2
sphinx-copybutton ==0.5.2
l... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/text_test.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
jiwer >=2.3.0, <3.1.0
rouge-score >0.1.0, <=0.1.2
bert_score ==0.3.13
h... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/_integrate.txt | # contentiously validated integration with these expected ranges
# ToDo: investigate and add validation with 2.0+ on GPU
pytorch-lightning >=1.9.0, <2.0.0
| 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/classification_test.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
pandas >=1.4.0, <=2.0.3
netcal >1.0.0, <=1.3.5 # calibration_error
num... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/audio_test.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
pypesq @ git+https://github.com/vBaiCai/python-pesq
mir-eval >=0.6, <=0... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/detection_test.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
faster-coco-eval >=1.3.3
| 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/_devel.txt | # use mandatory dependencies
-r base.txt
# add the testing dependencies
-r _tests.txt
# add extra requirements
-r image.txt
-r text.txt
-r detection.txt
-r audio.txt
-r multimodal.txt
-r visual.txt
# add extra testing
-r image_test.txt
-r text_test.txt
-r audio_test.txt
-r detection_test.txt
-r classification_test.t... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/image.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
scipy >1.0.0, <1.11.0
torchvision >=0.8, <0.17.0
torch-fidelity <=0.4.0... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/text.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
nltk >=3.6, <=3.8.1
tqdm >=4.41.0, <=4.66.1
regex >=2021.9.24, <=2023.1... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/_tests.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
coverage ==7.3.2
pytest ==7.4.3
pytest-cov ==4.1.0
pytest-doctestplus =... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/image_test.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
scikit-image >=0.19.0, <=0.21.0
kornia >=0.6.7, <0.7.1
pytorch-msssim =... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/_doctest.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
pytest >=6.0.0, <7.5.0
pytest-doctestplus >=0.9.0, <=1.0.0
pytest-rerun... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/visual.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
matplotlib >=3.2.0, <3.8.0
SciencePlots >= 2.0.0, <= 2.1.0
| 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/README.md | # Project Requirements
This folder contains all requirements files for the project. The base requirements are located in the `base.txt` file.
Files prefixed with `_` are only meant for development and testing purposes. In general, each subdomain of the project
has a `<domain>.txt` file that contains the necessary requ... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/typing.txt | mypy ==1.6.1
torch ==2.1.0
types-PyYAML
types-emoji
types-protobuf
types-requests
types-setuptools
types-six
types-tabulate
types-protobuf
| 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/detection.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
torchvision >=0.8, <0.17.0
pycocotools >2.0.0, <=2.0.7
| 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/multimodal.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
transformers >=4.10.0, <4.34.2
piq <=0.8.0
| 0 |
public_repos/torchmetrics | public_repos/torchmetrics/requirements/base.txt | # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
numpy >1.20.0
packaging >17.1
torch >=1.10.0, <=2.0.1
torch >=1.10.0, <... | 0 |
public_repos/torchmetrics | public_repos/torchmetrics/dockers/README.md | # Docker images
## Build images from Dockerfiles
You can build it on your own, note it takes lots of time, be prepared.
```bash
git clone https://github.com/Lightning-AI/torchmetrics.git
# build with the default arguments
docker image build -t torchmetrics:latest -f dockers/ubuntu-cuda/Dockerfile .
# build with sp... | 0 |
public_repos/torchmetrics/dockers | public_repos/torchmetrics/dockers/ubuntu-cuda/Dockerfile | # Copyright The Lightning AI team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 0 |
public_repos/torchmetrics/src | public_repos/torchmetrics/src/torchmetrics/__about__.py | __version__ = "1.3.0dev"
__author__ = "Lightning-AI et al."
__author_email__ = "name@pytorchlightning.ai"
__license__ = "Apache-2.0"
__copyright__ = f"Copyright (c) 2020-2023, {__author__}."
__homepage__ = "https://github.com/Lightning-AI/torchmetrics"
__docs__ = "PyTorch native Metrics"
__docs_url__ = "https://lightni... | 0 |
public_repos/torchmetrics/src | public_repos/torchmetrics/src/torchmetrics/aggregation.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src | public_repos/torchmetrics/src/torchmetrics/collections.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src | public_repos/torchmetrics/src/torchmetrics/metric.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src | public_repos/torchmetrics/src/torchmetrics/__init__.py | """Root package info."""
import logging as __logging
import os
from lightning_utilities.core.imports import package_available
from torchmetrics.__about__ import * # noqa: F403
_logger = __logging.getLogger("torchmetrics")
_logger.addHandler(__logging.StreamHandler())
_logger.setLevel(__logging.INFO)
_PACKAGE_ROOT ... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/utilities/prints.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/utilities/checks.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/utilities/distributed.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/utilities/enums.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/utilities/exceptions.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/utilities/plot.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/utilities/compute.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/utilities/imports.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/utilities/data.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/utilities/__init__.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/detection/giou.py | # Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/detection/ciou.py | # Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/detection/helpers.py | # Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/detection/iou.py | # Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/detection/diou.py | # Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/detection/_mean_ap.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/detection/panoptic_qualities.py | # Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/detection/_deprecated.py | from typing import Any, Collection
from torchmetrics.detection import ModifiedPanopticQuality, PanopticQuality
from torchmetrics.utilities.prints import _deprecated_root_import_class
class _ModifiedPanopticQuality(ModifiedPanopticQuality):
"""Wrapper for deprecated import.
>>> from torch import tensor
>... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/detection/__init__.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/detection/mean_ap.py | # Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/wmape.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/kl_divergence.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/minkowski.py | # Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/r2.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/explained_variance.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/spearman.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/kendall.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/log_mse.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/rse.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/mse.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/cosine_similarity.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/pearson.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/symmetric_mape.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/tweedie_deviance.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/log_cosh.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/concordance.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/mae.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/mape.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/regression/__init__.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/nominal/fleiss_kappa.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/nominal/tschuprows.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/nominal/pearson.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/nominal/cramers.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/nominal/theils_u.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/nominal/__init__.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/precision_recall.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/f_beta.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/average_precision.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/recall_fixed_precision.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/group_fairness.py | # Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/accuracy.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/ranking.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/specificity.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/precision_fixed_recall.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/precision_recall_curve.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/auroc.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/base.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/jaccard.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/hinge.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
public_repos/torchmetrics/src/torchmetrics | public_repos/torchmetrics/src/torchmetrics/classification/hamming.py | # Copyright The Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.