def __init__( self, **overrides ): PyPLearnObject.__init__( self, **overrides ) self._name = None if self.expkey is None: self.expkey = ExpKey( os.path.join( self.path, self._metainfos_fname ) ) # Update abspath self.abspath = os.path.abspath( self.path )
def __init__(self, **overrides): PyPLearnObject.__init__(self, **overrides) self._name = None if self.expkey is None: self.expkey = ExpKey(os.path.join(self.path, self._metainfos_fname)) # Update abspath self.abspath = os.path.abspath(self.path)
def __init__( self, oracles=None, _predicate=inexistence_predicate, **overrides ): PyPLearnObject.__init__( self, **overrides ) self._predicate = _predicate # Append current path to PYTHONPATH if self.expdir_root is None: self.expdir_root = os.getcwd() self.__check_constant_args() # If oracles were already provided, the ctor can lauch the tasks... if oracles: self.start( *oracles )
def __init__(self, main_object, **overrides): PyPLearnObject.__init__(self, **overrides) self.expdir = plargs.expdir self.plearn_script = str( main_object ) self.metainfos = self.getMetainfos()
def __init__( self, targets, options ): PyPLearnObject.__init__( self ) self.targets = targets self.options = options
def __init__(self, targets, options): PyPLearnObject.__init__(self) self.targets = targets self.options = options