def make_model(name):
    cfgs = config.model_configs(name)
    try:
        model_class = getattr(model_types, cfgs['model'])
    except __HOLE__:
        raise AttributeError('Unable to find model \
                               %s in model_types.py' % cfgs['model'])
    logger.info('Creating model %s' % name)
    model = model_class(**cfgs['args'])
    return model
dataset/ETHPy150Open theusual/kaggle-seeclickfix-ensemble/Miroslaw/models.py/make_model