Skip to content

Commit f20eaeb

Browse files
kfrncsNicolasHug
authored andcommitted
Improve comment in setup.py (scikit-learn#13661)
1 parent fc33d30 commit f20eaeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def setup_module(module):
9898
import numpy as np
9999
import random
100100

101-
# It could have been provided in the environment
101+
# Check if a random seed exists in the environment, if not create one.
102102
_random_seed = os.environ.get('SKLEARN_SEED', None)
103103
if _random_seed is None:
104104
_random_seed = np.random.uniform() * (2 ** 31 - 1)

0 commit comments

Comments
 (0)