# pylint: disable=g-bad-file-header
# Copyright 2021 DeepMind Technologies Limited. All Rights Reserved.
#
# 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 writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or  implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Exposing the public methods of the metrics."""

# Base classes
from enn.metrics.base import AggregateMetricCalculator
from enn.metrics.base import average_sampled_log_likelihood
from enn.metrics.base import make_average_aggregator
from enn.metrics.base import MetricCalculator
from enn.metrics.base import MetricsState
from enn.metrics.base import PerExampleMetric

# Calibration
from enn.metrics.calibration import ExpectedCalibrationError
from enn.metrics.calibration import SingleBatchECE

# Joint
from enn.metrics.joint import calculate_joint_ll
from enn.metrics.joint import make_nll_joint_calculator
from enn.metrics.joint import make_nll_polyadic_calculator

# Marginal
from enn.metrics.marginal import categorical_log_likelihood
from enn.metrics.marginal import make_accuracy_calculator
from enn.metrics.marginal import make_nll_marginal_calculator
