Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docstr
  • Loading branch information
fkiraly committed Jul 27, 2025
commit 8a2a14ecc078d41eb5317891046b90dceb8d8a53
7 changes: 4 additions & 3 deletions extension_templates/experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,11 @@ def get_test_params(cls, parameter_set="default"):

@classmethod
def _get_score_params(self):
"""Return settings for testing the score function. Used in tests only.
"""Return settings for testing score/evaluate functions. Used in tests only.

Returns a list, the i-th element corresponds to self.get_test_params()[i].
It should be a valid call for self.evaluate.
Returns a list, the i-th element should be valid arguments for
self.evaluate and self.score, of an instance constructed with
self.get_test_params()[i].

Returns
-------
Expand Down
7 changes: 4 additions & 3 deletions src/hyperactive/experiment/integrations/sklearn_cv.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,11 @@ def get_test_params(cls, parameter_set="default"):

@classmethod
def _get_score_params(self):
"""Return settings for testing the score function. Used in tests only.
"""Return settings for testing score/evaluate functions. Used in tests only.

Returns a list, the i-th element corresponds to self.get_test_params()[i].
It should be a valid call for self.score.
Returns a list, the i-th element should be valid arguments for
self.evaluate and self.score, of an instance constructed with
self.get_test_params()[i].

Returns
-------
Expand Down
7 changes: 4 additions & 3 deletions src/hyperactive/experiment/toy/_ackley.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,11 @@ def get_test_params(cls, parameter_set="default"):

@classmethod
def _get_score_params(self):
"""Return settings for testing the score function. Used in tests only.
"""Return settings for testing score/evaluate functions. Used in tests only.

Returns a list, the i-th element corresponds to self.get_test_params()[i].
It should be a valid call for self.score.
Returns a list, the i-th element should be valid arguments for
self.evaluate and self.score, of an instance constructed with
self.get_test_params()[i].

Returns
-------
Expand Down
7 changes: 4 additions & 3 deletions src/hyperactive/experiment/toy/_parabola.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,11 @@ def _evaluate(self, params):

@classmethod
def _get_score_params(self):
"""Return settings for testing the score function. Used in tests only.
"""Return settings for testing score/evaluate functions. Used in tests only.

Returns a list, the i-th element corresponds to self.get_test_params()[i].
It should be a valid call for self.score.
Returns a list, the i-th element should be valid arguments for
self.evaluate and self.score, of an instance constructed with
self.get_test_params()[i].

Returns
-------
Expand Down
7 changes: 4 additions & 3 deletions src/hyperactive/experiment/toy/_sphere.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,11 @@ def get_test_params(cls, parameter_set="default"):

@classmethod
def _get_score_params(self):
"""Return settings for testing the score function. Used in tests only.
"""Return settings for testing score/evaluate functions. Used in tests only.

Returns a list, the i-th element corresponds to self.get_test_params()[i].
It should be a valid call for self.score.
Returns a list, the i-th element should be valid arguments for
self.evaluate and self.score, of an instance constructed with
self.get_test_params()[i].

Returns
-------
Expand Down
Loading