small spelling error in doc
This commit is contained in:
parent
519058303a
commit
e6da2c19c4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue