def parse_parameters(self, parameters):
        """Parses and sets parameters in the model."""

        self.parameters = []
        for param_name, param_value in parameters.items():
            p = Parameter(param_name, param_value)
            if p:
                self.parameters.append(p)
def parse_parameters ( self , parameters ) : self . parameters = [ ] for param_name , param_value in parameters . items ( ) : p = Parameter ( param_name , param_value ) if p : self . parameters . append ( p )
Parses and sets parameters in the model.