Skip to content

Commit

Permalink
Rephrase docs
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescMartiEscofetQC committed Jul 5, 2024
1 parent 4733b2a commit 669f37f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions metalearners/grid_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ class MetaLearnerGridSearch:
"""Exhaustive search over specified parameter values for a MetaLearner.
``metalearner_params`` should contain the necessary params for the MetaLearner initialization
such as ``n_variants`` and ``is_classification``. It can also contain optional parameters
that all MetaLearners should be initialized with such as ``n_folds`` or ``feature_set``.
such as ``n_variants`` and ``is_classification``. If one wants to pass optional parameters
to the ``MetaLearner`` initialization, such as ``n_folds`` or ``feature_set``, this should
be done by this way, too.
Importantly, ``random_state`` must be passed through the ``random_state`` parameter
and not through ``metalearner_params``.
Expand Down

0 comments on commit 669f37f

Please sign in to comment.