MCPcopy
hub / github.com/hyperopt/hyperopt / argmin

Method argmin

hyperopt/base.py:619–628  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

617
618 @property
619 def argmin(self):
620 best_trial = self.best_trial
621 vals = best_trial["misc"]["vals"]
622 # unpack the one-element lists to values
623 # and skip over the 0-element lists
624 rval = {}
625 for k, v in list(vals.items()):
626 if v:
627 rval[k] = v[0]
628 return rval
629
630 def fmin(
631 self,

Callers 1

average_best_errorMethod · 0.80

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected