File size: 382 Bytes
975d796
 
46cc63a
 
 
 
975d796
 
46cc63a
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Model evaluation and comparison."""

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from src.evaluation.evaluator import Evaluator

__all__ = ["Evaluator"]


def __getattr__(name: str):
    if name == "Evaluator":
        from src.evaluation.evaluator import Evaluator

        return Evaluator
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")