-
Notifications
You must be signed in to change notification settings - Fork 623
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from RUCAIBox/master
Merge
- Loading branch information
Showing
16 changed files
with
488 additions
and
520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from .evaluator import Evaluator | ||
from .evaluator import TopKEvaluator, LossEvaluator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .cpp_evaluator import BaseLossEvaluator, BaseCTREvaluator, BaseTopKEvaluator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
class CTREvaluator(object): | ||
|
||
def __init__(self): | ||
pass | ||
|
||
def eval_metric(self): | ||
''' | ||
python的形式? | ||
''' | ||
pass | ||
|
||
|
||
class TOPKEvaluator(object): | ||
|
||
def __init__(self): | ||
pass | ||
|
||
def eval_metric(self): | ||
''' | ||
cython的形式? | ||
''' | ||
pass | ||
|
||
|
||
class LossEvaluator(object): | ||
|
||
def __init__(self): | ||
pass | ||
|
||
def eval_metric(self): | ||
''' | ||
cython的形式? | ||
''' | ||
pass |
Oops, something went wrong.