def new()

in clearbox/models/brute_force.py [0:0]


  def new(self) -> base.ModelImpl:
    """Creates and returns a new grid search linear model.

    Returns:
      `_GridSearchLinearModelImpl` instance which implements `base.ModelImpl`
      interface.
    """
    return _GridSearchLinearModelImpl(
        metric=self._metric,
        grid_size=self._grid_size,
        print_progress=self._print_progress,
    )