Skip to content

Commit 70475fe

Browse files
committed
added comment
1 parent 3ae5f8e commit 70475fe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

openml/runs/functions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ def _run_exists(task_id, setup_id):
137137

138138
def _get_seeded_model(model, seed=None):
139139
'''Sets all the non-seeded components of a model with a seed.
140+
Models that are already seeded will maintain the seed. In
141+
this case, only integer seeds are allowed (An exception
142+
is thrown when a RandomState was used as seed)
140143
141144
Parameters
142145
----------

0 commit comments

Comments
 (0)