Skip to content

Commit 0a5d924

Browse files
committed
TST set missing random state in test
1 parent 5632cfc commit 0a5d924

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sklearn/utils/estimator_checks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ def check_classifiers_classes(name, Classifier):
877877
if name == 'BernoulliNB':
878878
classifier.set_params(binarize=X.mean())
879879
set_fast_parameters(classifier)
880+
set_random_state(classifier)
880881
# fit
881882
classifier.fit(X, y_)
882883

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy