提交 fa2d2396 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!807 Modify class EvaluationBase to private API

Merge pull request !807 from fanglei/eval
......@@ -20,7 +20,6 @@ on the evaluation dataset. It's used to choose the best model.
"""
from .accuracy import Accuracy
from .error import MAE, MSE
from .evaluation import EvaluationBase
from .metric import Metric
from .precision import Precision
from .recall import Recall
......@@ -32,7 +31,6 @@ __all__ = [
"names", "get_metric_fn",
"Accuracy",
"MAE", "MSE",
"EvaluationBase",
"Metric",
"Precision",
"Recall",
......
......@@ -14,7 +14,7 @@
# ============================================================================
"""Accuracy."""
import numpy as np
from .evaluation import EvaluationBase
from ._evaluation import EvaluationBase
class Accuracy(EvaluationBase):
......
......@@ -18,7 +18,7 @@ import sys
import numpy as np
from mindspore._checkparam import Validator as validator
from .evaluation import EvaluationBase
from ._evaluation import EvaluationBase
class Precision(EvaluationBase):
......
......@@ -18,7 +18,7 @@ import sys
import numpy as np
from mindspore._checkparam import Validator as validator
from .evaluation import EvaluationBase
from ._evaluation import EvaluationBase
class Recall(EvaluationBase):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册