Commit Graph

15 Commits

Author SHA1 Message Date
Joel Nothman 8570622a44 [MRG+1] DOC insert spaces before colons in parameter lists (#7920)
* DOC insert spaces before colons in parameter lists

Complies with numpydoc to improve rendering and automatic quality
assurance such as #7793. Affects listings of Parameters Attributes,
Returns.

Performed with the help of:

    grep -nE '^(    )+[a-zA-Z][a-zA-Z0-9_]*: ' sklearn -R | grep -v -e
    externals -e tests | grep -v -e default: -e else: -e Warning: -e Note:
    -e TRAIN: -e Default: -e True: -e False: -e DOI: -e In: | gsed
    's|\([^:]*\):\([0-9]*\):\([^:]*\):\(.*\)|--- a/\1\n+++ b/\1\n@@ -\2,1
    +\2,1 @@\n-\3:\4\n+\3 :\4|' | git apply --unidiff-zero -

* DOC fix numpydoc format for param
2016-11-25 10:59:22 +01:00
Tom Dupré la Tour 1107f223d5 use class_weight through sample_weight in LogisticRegression with liblinear 2016-05-25 14:54:02 +02:00
TomDLT 94eb61960a ENH add sag solver in LogisticRegression and Ridge 2015-09-10 13:28:02 -04:00
TomDLT 1174e586b8 DOC update whats_new 2015-05-21 12:45:06 +02:00
TomDLT c51f067652 ENH change func_grad_hess into grad_hess
FIX correct testing

FIX xrange to range for python 3
2015-05-19 16:21:12 +02:00
Vinayak Mehta 0cf41c8f3d Moved optimize test to a new file
simplified code

Used fhess_p

Added RandomState

Added tol=1e-10 to newton_cg

Added RandomState with seed 0
2015-03-24 12:29:05 +05:30
MechCoder 21a14fd82d FIX: Changed tolerance of newton-cg to be compliant with that of lbfgs 2014-07-22 16:57:41 +02:00
MechCoder 86dab1ea86 ENH: Added warnings for convergence, added support for l1 penalty if solver is liblinear 2014-07-22 16:57:41 +02:00
Manoj-Kumar-S ddb3395bff ENH: LogisticRegressionCV can now handle sparse matrices 2014-07-22 16:57:40 +02:00
Fabian Pedregosa 999c232859 cosmetic 2014-07-22 16:57:40 +02:00
Fabian Pedregosa 02c4a289fa iterate some more on line search 2014-07-22 16:57:40 +02:00
Fabian Pedregosa 228f5b043f Remove warning (not needed any more) 2014-07-22 16:57:40 +02:00
Fabian Pedregosa 1443465c56 Fallback for failing line search 2014-07-22 16:57:40 +02:00
Fabian Pedregosa 8cfa8ad6cc BUG when fit_intercept=False 2014-07-22 16:57:40 +02:00
Fabian Pedregosa 6e4f02c427 Implementation of logistic_regression_path.
This is mostly the code from Gael's logistic_cv branch. My work is only some
minor cleanup some added tests and benchmarking.
2014-07-22 16:57:39 +02:00