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]
def predict ( parameters_value , regressor_gp ) : 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 ]
Predict by Gaussian Process Model