small spelling error in doc

This commit is contained in:
abhishek thakur 2014-06-26 11:36:36 +02:00
parent 519058303a
commit e6da2c19c4
1 changed files with 2 additions and 2 deletions

View File

@ -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