From e6da2c19c491d0af3ad2cb2da4181b52ab53ee5d Mon Sep 17 00:00:00 2001 From: abhishek thakur <abhishekkrthakur@users.noreply.github.com> Date: Thu, 26 Jun 2014 11:36:36 +0200 Subject: [PATCH] small spelling error in doc --- sklearn/linear_model/stochastic_gradient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sklearn/linear_model/stochastic_gradient.py b/sklearn/linear_model/stochastic_gradient.py index 32f7b70389..e2720263dc 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 -- GitLab