def new()

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


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

    Returns:
      `_LinRegModelImpl` instance wrapping as SKLearn implementation of
      linear regression.
    """
    return _LinRegModelImpl(
        positive=self._positive,
        fit_intercept=self._fit_intercept,
        apply_scaler=self._apply_scaler,
    )