Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
stsievert committed Jul 28, 2021
1 parent 1e2da68 commit 3a516af
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion salmon/triplets/offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,12 @@ def fit(self, X_train, X_test):
test_score, loss_test = self._score(X_test)
datum["score_test"] = test_score
datum["loss_test"] = loss_test
keys = ["ident", "score_test", "train_data", "max_epochs", "_epochs", "_elapsed_time"]
# fmt: off
keys = [
"ident", "score_test", "train_data",
"max_epochs", "_epochs", "_elapsed_time",
]
# fmt: on
datum["_elapsed_time"] = int(time() - _start)
show = {k: _print_fmt(datum[k]) for k in keys}
self._history_.append(datum)
Expand Down

0 comments on commit 3a516af

Please sign in to comment.