We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 306a5fa commit 7b21cfbCopy full SHA for 7b21cfb
sklearn/linear_model/_stochastic_gradient.py
@@ -80,18 +80,13 @@ class BaseSGD(SparseCoefMixin, BaseEstimator, metaclass=ABCMeta):
80
"""Base class for SGD classification and regression."""
81
82
_parameter_constraints: dict = {
83
- "penalty": [StrOptions({"l2", "l1", "elasticnet"}), None],
84
- "alpha": [Interval(Real, 0, None, closed="left")],
85
"C": [Interval(Real, 0, None, closed="right")],
86
- "l1_ratio": [Interval(Real, 0, 1, closed="both")],
87
"fit_intercept": ["boolean"],
88
"max_iter": [Interval(Integral, 1, None, closed="left")],
89
"tol": [Interval(Real, 0, None, closed="left"), None],
90
"shuffle": ["boolean"],
91
"random_state": ["random_state"],
92
"verbose": ["verbose"],
93
- "eta0": [Interval(Real, 0, None, closed="left")],
94
- "power_t": [Interval(Real, None, None, closed="neither")],
95
"early_stopping": ["boolean"],
96
"validation_fraction": [Interval(Real, 0, 1, closed="neither")],
97
"n_iter_no_change": [Interval(Integral, 1, None, closed="left")],
0 commit comments