def load_results(experiment_name): interface = eigenhand_db_interface.EGHandDBaseInterface('eigenhanddb_view') interface.load_for_analysis(experiment_name=experiment_name) config = interface.load_config() task_model_list = task_models.model_set(config['task_models']) em = experiment_manager.ExperimentManager(config,task_model_list,interface=interface) print "%s loaded into eigenhanddb_view"%experiment_name return em
def new_em(name, ga_iterations, atr_iterations = 5, task_model_names = task_models.tiny_keys): config = {'name':name, 'ga_iterations':ga_iterations, 'atr_iterations':atr_iterations, 'trials_per_task':5, 'task_type_id': 4, 'task_time': -1, 'task_models':task_model_names} task_model_list = task_models.model_set(task_model_names) em = ExperimentManager(config,task_model_list) return em
def resume_em(): interface = eigenhand_db_interface.EGHandDBaseInterface() config = interface.load_config() task_model_list = task_models.model_set(config['task_models']) em = ExperimentManager(config,task_model_list,interface=interface) return em