(self, env, name="session")
Constructor for Holoclean session
        :param env: Holoclean environment
        :param name: Name for the Holoclean session
Constructor for Holoclean session
        :param env: Holoclean environment
        :param name: Name for the Holoclean session
Constructor for Holoclean session : param env : Holoclean environment : param name : Name for the Holoclean session
def __init__(self, env, name="session"):
        """
        Constructor for Holoclean session
        :param env: Holoclean environment
        :param name: Name for the Holoclean session
        """
        # use DEBUG logging level if verbose enabled
        if env['verbose']:
            root_logger.setLevel(logging.DEBUG)
            gensim_logger.setLevel(logging.DEBUG)

        logging.debug('initiating session with parameters: %s', env)

        # Initialize random seeds.
        random.seed(env['seed'])
        torch.manual_seed(env['seed'])
        np.random.seed(seed=env['seed'])

        # Initialize members
        self.name = name
        self.env = env
        self.ds = Dataset(name, env)
        self.dc_parser = Parser(env, self.ds)
        self.domain_engine = DomainEngine(env, self.ds)
        self.detect_engine = DetectEngine(env, self.ds)
        self.repair_engine = RepairEngine(env, self.ds)
        self.eval_engine = EvalEngine(env, self.ds)
def __init__ ( self , env , name = "session" ) : # use DEBUG logging level if verbose enabled if env [ 'verbose' ] : root_logger . setLevel ( logging . DEBUG ) gensim_logger . setLevel ( logging . DEBUG ) logging . debug ( 'initiating session with parameters: %s' , env ) # Initialize random seeds. random . seed ( env [ 'seed' ] ) torch . manual_seed ( env [ 'seed' ] ) np . random . seed ( seed = env [ 'seed' ] ) # Initialize members self . name = name self . env = env self . ds = Dataset ( name , env ) self . dc_parser = Parser ( env , self . ds ) self . domain_engine = DomainEngine ( env , self . ds ) self . detect_engine = DetectEngine ( env , self . ds ) self . repair_engine = RepairEngine ( env , self . ds ) self . eval_engine = EvalEngine ( env , self . ds )