MCPcopy
hub / github.com/hyperopt/hyperopt / count_by_state_unsynced

Method count_by_state_unsynced

hyperopt/base.py:521–532  ·  view source on GitHub ↗

Return trial counts that count_by_state_synced would return if we called refresh() first.

(self, arg)

Source from the content-addressed store, hash-verified

519 return rval
520
521 def count_by_state_unsynced(self, arg):
522 """
523 Return trial counts that count_by_state_synced would return if we
524 called refresh() first.
525 """
526 if self._exp_key is not None:
527 exp_trials = [
528 tt for tt in self._dynamic_trials if tt["exp_key"] == self._exp_key
529 ]
530 else:
531 exp_trials = self._dynamic_trials
532 return self.count_by_state_synced(arg, trials=exp_trials)
533
534 def losses(self, bandit=None):
535 if bandit is None:

Callers 12

fminMethod · 0.45
waitMethod · 0.45
get_queue_lenMethod · 0.45
get_n_doneMethod · 0.45
get_n_unfinishedMethod · 0.45
count_failed_trialsMethod · 0.45
count_total_trialsMethod · 0.45
running_trial_countMethod · 0.45
test_seeds_AABMethod · 0.45
test_trial_run_infoMethod · 0.45

Calls 1

count_by_state_syncedMethod · 0.95

Tested by 2

test_seeds_AABMethod · 0.36
test_trial_run_infoMethod · 0.36