diff --git a/sklearn/linear_model/stochastic_gradient.py b/sklearn/linear_model/stochastic_gradient.py index 32f7b703898..e2720263dc4 100644 --- a/sklearn/linear_model/stochastic_gradient.py +++ b/sklearn/linear_model/stochastic_gradient.py @@ -559,7 +559,7 @@ class SGDClassifier(BaseSGDClassifier, _LearntSelectorMixin): penalty : str, 'l2' or 'l1' or 'elasticnet' The penalty (aka regularization term) to be used. Defaults to 'l2' which is the standard regularizer for linear SVM models. 'l1' and - 'elasticnet' migh bring sparsity to the model (feature selection) + 'elasticnet' might bring sparsity to the model (feature selection) not achievable with 'l2'. alpha : float @@ -969,7 +969,7 @@ class SGDRegressor(BaseSGDRegressor, _LearntSelectorMixin): penalty : str, 'l2' or 'l1' or 'elasticnet' The penalty (aka regularization term) to be used. Defaults to 'l2' which is the standard regularizer for linear SVM models. 'l1' and - 'elasticnet' migh bring sparsity to the model (feature selection) + 'elasticnet' might bring sparsity to the model (feature selection) not achievable with 'l2'. alpha : float