DOC Changed syntax for open interval in BaseSGD
@@ -124,7 +124,7 @@ class BaseSGD(SparseCoefMixin, BaseEstimator, metaclass=ABCMeta):
if self.n_iter_no_change < 1:
raise ValueError("n_iter_no_change must be >= 1")
if not (0.0 < self.validation_fraction < 1.0):
- raise ValueError("validation_fraction must be in ]0, 1[")
+ raise ValueError("validation_fraction must be in (0, 1)")
if self.learning_rate in ("constant", "invscaling", "adaptive"):
if self.eta0 <= 0.0:
raise ValueError("eta0 must be > 0")
