MCPcopy Index your code
hub / github.com/hyperopt/hyperopt / get_n_unfinished

Method get_n_unfinished

hyperopt/fmin.py:246–248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

244 return self.trials.count_by_state_unsynced(base.JOB_STATE_DONE)
245
246 def get_n_unfinished():
247 unfinished_states = [base.JOB_STATE_NEW, base.JOB_STATE_RUNNING]
248 return self.trials.count_by_state_unsynced(unfinished_states)
249
250 stopped = False
251 initial_n_done = get_n_done()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected