8000 TST Speed-up common tests of DictionaryLearning (#25892) · Veghit/scikit-learn@5b21afd · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b21afd

Browse files
jeremiedbbItay
authored andcommitted
TST Speed-up common tests of DictionaryLearning (scikit-learn#25892)
1 parent deaec61 commit 5b21afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/utils/estimator_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ def _set_checking_parameters(estimator):
676676
estimator.set_params(max_iter=500)
677677
# DictionaryLearning
678678
if name == "DictionaryLearning":
679-
estimator.set_params(max_iter=200, transform_algorithm="lasso_lars")
679+
estimator.set_params(max_iter=20, transform_algorithm="lasso_lars")
680680
# MiniBatchNMF
681681
if estimator.__class__.__name__ == "MiniBatchNMF":
682682
estimator.set_params(max_iter=20, fresh_restarts=True)

0 commit comments

Comments
 (0)
0