def METHOD_NAME(self):
    """
    Generates or loads a model
    """
    if self._model is not None:
        return self._model
    self.logger.debug("Loading model ")
    self._model = self.tf.compat.v1.estimator.DNNRegressor(
        feature_columns=list(self.feature_columns.values()),
        hidden_units=self.config.hidden,
        model_dir=self.model_path,
    )
    return self._model