rgmining/synthetic

View on GitHub
synthetic/eval/__init__.py

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
#
#  __init__.py
#
#  Copyright (c) 2016-2022 Junpei Kawamoto
#
#  This file is part of rgmining-synthetic-dataset.
#
#  rgmining-synthetic-dataset is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  rgmining-synthetic-dataset is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with rgmining-synthetic-dataset. If not, see <http://www.gnu.org/licenses/>.
#
from typing import Final

from synthetic.eval.score import AnomalousReviews, Reviewer, calc_anomalous_reviews, dcg, ideal_dcg

__all__: Final = ("dcg", "ideal_dcg", "calc_anomalous_reviews", "Reviewer", "AnomalousReviews")