def objective_to_model(self, x_objective):
        ''' This function serves as interface between objective input vectors and
        model input vectors'''

        x_model = []

        for k in range(self.objective_dimensionality):
            variable = self.space_expanded[k]
            new_entry = variable.objective_to_model(x_objective[0,k])
            x_model += new_entry

        return x_model
def objective_to_model ( self , x_objective ) : x_model = [ ] for k in range ( self . objective_dimensionality ) : variable = self . space_expanded [ k ] new_entry = variable . objective_to_model ( x_objective [ 0 , k ] ) x_model += new_entry return x_model
This function serves as interface between objective input vectors and
        model input vectors