def build_model(self):
        '''Find out the type of model configured and dispatch the request to the appropriate method'''
        if self.model_config['model-type']:
            self.model = self.build_fred()
        elif self.model_config['model-type']:
            self.model = self.buidl_hred()
        else:
            raise Error("Unrecognized model type '{}'".format(self.model_config['model-type']))
Find out the type of model configured and dispatch the request to the appropriate method