MCPcopy
hub / github.com/hyperopt/hyperopt / InvalidTrial

Class InvalidTrial

hyperopt/exceptions.py:13–18  ·  view source on GitHub ↗

Non trial-like object used as Trial

Source from the content-addressed store, hash-verified

11
12
13class InvalidTrial(ValueError):
14 """Non trial-like object used as Trial"""
15
16 def __init__(self, msg, obj):
17 ValueError.__init__(self, msg + " " + str(obj))
18 self.obj = obj
19
20
21class InvalidResultStatus(ValueError):

Callers 1

assert_valid_trialMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected