Skip to content

Commit

Permalink
change function name
Browse files Browse the repository at this point in the history
  • Loading branch information
tarantula-leo authored Nov 16, 2023
1 parent 56c2199 commit 208b81f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sml/metrics/classification/classification_emul.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

# TODO: design the enumation framework, just like py.unittest
# all emulation action should begin with `emul_` (for reflection)
def emul_SGDClassifier(mode: emulation.Mode.MULTIPROCESS):
def emul_auc(mode: emulation.Mode.MULTIPROCESS):
try:
# bandwidth and latency only work for docker mode
emulator = emulation.Emulator(
Expand Down Expand Up @@ -130,5 +130,5 @@ def check(spu_result, sk_result):


if __name__ == "__main__":
emul_SGDClassifier(emulation.Mode.MULTIPROCESS)
emul_auc(emulation.Mode.MULTIPROCESS)
emul_Classification(emulation.Mode.MULTIPROCESS)

0 comments on commit 208b81f

Please sign in to comment.