#! /usr/bin/python import sys import os import helperFunctions ### def selectActiveLearning(method, configFile=None, verbose=True): sys.path.append(os.path.abspath(os.path.dirname(__file__)) + '/activeLearning') if method == 'GPemoc': import activeLearningGPemoc return activeLearningGPemoc.Regressor(configFile=configFile, verbose=verbose) else: raise Exception('Unknown method %s!'%method)