Skip to content

Commit

Permalink
Reformat code for changes related to Issue intel#651
Browse files Browse the repository at this point in the history
  • Loading branch information
aadarshsingh191198 committed Oct 7, 2020
1 parent 0224747 commit 469ebd9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions model/scikit/dffml_model_scikit/scikit_base.py
Expand Up @@ -148,7 +148,9 @@ async def predict(
)
target = self.parent.config.predict.name
record.predicted(
target, self.parent.config.predict.dtype(self.clf.predict(predict)[0]), self.confidence
target,
self.parent.config.predict.dtype(self.clf.predict(predict)[0]),
self.confidence,
)
yield record

Expand Down Expand Up @@ -260,7 +262,11 @@ def yield_labels():
"Predicted cluster for {}: {}".format(predict, prediction)
)
target = self.parent.config.predict.name
record.predicted(target, self.parent.config.predict.dtype(prediction[0]), self.confidence)
record.predicted(
target,
self.parent.config.predict.dtype(prediction[0]),
self.confidence,
)
yield record


Expand Down

0 comments on commit 469ebd9

Please sign in to comment.