Skip to content

Commit

Permalink
Merge pull request #500 from EducationalTestingService/feature/logist…
Browse files Browse the repository at this point in the history
…ic_regression_reg_penalty_doc

Update documentation for LogisticRegression penalty parameter
  • Loading branch information
desilinguist committed Sep 13, 2019
2 parents 8a131b9 + ecd1fac commit d4a5810
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/run_experiment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,9 @@ LinearSVC and LinearSVR
LogisticRegression
.. code-block:: python
{'random_state': 123456789}
{'random_state': 123456789}
.. note:: The regularization ``penalty`` used by default is ``"l2"``. However, ``"l1"``, ``"elasticnet"``, and ``"none"`` (no regularization) are also available. There is a dependency between the ``penalty`` and the ``solver``. For example, the ``"elasticnet"`` penalty can *only* be used in conjunction with the ``"saga"`` solver. See more information in the ``scikit-learn`` documentation `here <https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html>`__.

MLPClassifier and MLPRegressor:
.. code-block:: python
Expand Down

0 comments on commit d4a5810

Please sign in to comment.