DOC Formatting in logistic.py solver parameter
@@ -1034,7 +1034,7 @@ class LogisticRegression(BaseEstimator, LinearClassifierMixin,
instance used by `np.random`. Used when ``solver`` == 'sag' or
'liblinear'.
- solver : {'newton-cg', 'lbfgs', 'liblinear', 'sag', 'saga'},
+ solver : str, {'newton-cg', 'lbfgs', 'liblinear', 'sag', 'saga'},
default: 'liblinear'
Algorithm to use in the optimization problem.
@@ -1421,7 +1421,7 @@ class LogisticRegressionCV(LogisticRegression, BaseEstimator,
that can be used, look at :mod:`sklearn.metrics`. The
default scoring option used is 'accuracy'.
- solver : {'newton-cg', 'lbfgs', 'liblinear', 'sag', 'saga'},
+ solver : str, {'newton-cg', 'lbfgs', 'liblinear', 'sag', 'saga'},
default: 'lbfgs'
Algorithm to use in the optimization problem.
