Skip to content

Commit

Permalink
more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurpaulino committed Apr 11, 2019
1 parent a80aa7b commit 15c19ad
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion miraiml/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@ class SearchSpace:
:type parameters_rules: function
:param parameters_rules: Optional, ``default=lambda x: None``. A function that
constrains certain parameters because of the values assumed by others.
constrains certain parameters because of the values assumed by others. It
must receive a dictionary as input and work on it.
.. warning::
Make sure that the parameters accessed in ``parameters_rules`` exist
in the set of parameters defined on ``parameters_values``, otherwise
the engine will scream some error messages to let us know that we
told it to access invalid keys on the dictionary.
:Example:
Expand Down

0 comments on commit 15c19ad

Please sign in to comment.