Skip to content
This repository was archived by the owner on Dec 4, 2019. It is now read-only.

Commit 2171519

Browse files
authored
Revert "Update grid_search.py (#79)" (#92)
This reverts commit 1216da4.
1 parent 1216da4 commit 2171519

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

python/spark_sklearn/grid_search.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ def _store(key_name, array, weights=None, splits=False, rank=False):
369369

370370
best_index = np.flatnonzero(results["rank_test_score"] == 1)[0]
371371
best_parameters = candidate_params[best_index]
372-
self.best_params_ = best_parameters
373372

374373
# Use one MaskedArray and mask all the places where the param is not
375374
# applicable for that candidate. Use defaultdict as each candidate may

0 commit comments

Comments
 (0)