Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Style fix - missed a line of whitespace
  • Loading branch information
noel-smith committed Aug 27, 2015
commit 84c8a405e40d7428748e89819ba112bd87aa4869
2 changes: 1 addition & 1 deletion python/pyspark/ml/tuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def _fit(self, dataset):
# TODO: duplicate evaluator to take extra params from input
metric = eva.evaluate(model.transform(validation, epm[j]))
metrics[j] += metric

if eva.isLargerBetter():
bestIndex = np.argmax(metrics)
else:
Expand Down