Predict by Gaussian Process Model

def predict(parameters_value, regressor_gp):
    '''
    Predict by Gaussian Process Model
    '''
    parameters_value = numpy.array(parameters_value).reshape(-1, len(parameters_value))
    mu, sigma = regressor_gp.predict(parameters_value, return_std=True)

    return mu[0], sigma[0]