smac.tae package

exception smac.tae.FirstRunCrashedException[source]

Bases: smac.tae.TAEAbortException

Exception indicating that the first run crashed (depending on options this could trigger an ABORT of SMAC.)

class smac.tae.StatusType(value)[source]

Bases: enum.Enum

Class to define numbers for status types

ABORT = 4
CAPPED = 6
CRASHED = 3
DONOTADVANCE = 7
MEMOUT = 5
RUNNING = 9
STOP = 8
SUCCESS = 1
TIMEOUT = 2
static enum_hook(obj: Dict) → Any[source]

Hook function passed to json-deserializer as “object_hook”. EnumEncoder in runhistory/runhistory.

exception smac.tae.TAEAbortException[source]

Bases: Exception

Exception indicating that the target algorithm suggests an ABORT of SMAC, usually because it assumes that all further runs will surely fail.