Commit Graph

19942 Commits

Author SHA1 Message Date
John Boersma e8a2e2705a Test edit. 2015-10-23 11:42:53 +02:00
Gael Varoquaux 8aa9c199d9 Merge pull request #5467 from tomMoral/travis-ci
[MRG+1] (Issue #5455) Improved .travis.yml
2015-10-23 10:58:26 +02:00
Arnaud Joly 38c78ea244 Merge pull request #5537 from johannah/module-linear-colorblind
[MRG+2] Added colorblind compatibility for plot examples in linear_models
2015-10-23 10:27:01 +02:00
johannah c9700e2181 Changed from plot to scatter for consistency 2015-10-23 10:26:02 +02:00
Alexandre Gramfort b102d90926 MISC : Y->y 2015-10-23 10:24:46 +02:00
Alexandre Gramfort 1c5d6d75c4 Merge pull request #5274 from MechCoder/liblinear_samples_weights
[MRG+1] Patch liblinear for sample_weights in LogisticRegression(and CV)
2015-10-23 10:23:34 +02:00
Arnaud Joly 0ff1fe5782 Merge pull request #5541 from johannah/module-classification-colorblind
[MRG] Added colorblind compatibility for plot examples in classification
2015-10-23 10:20:42 +02:00
Alexandre Gramfort d4532e2934 Merge pull request #5544 from Mbompr/check-PR-5417
Typo in LDA
2015-10-23 09:53:25 +02:00
MartinBpr 31ab442d69 fixed typo in LDA 2015-10-23 09:36:40 +02:00
Lilian Besson dbb418b14e Typo on doc for default value of solver for lda.LDA
Fix a style issue on the documentation for the default value of the `solver` parameter for lda.LDA.

[sklearn.lda.LDA.html](http://scikit-learn.org/stable/modules/generated/sklearn.lda.LDA.html#sklearn.lda.LDA) displayed badly (cf screenshot).
2015-10-23 09:36:40 +02:00
Gael Varoquaux 2492dd0e58 Merge pull request #5012 from yanlend/patch-2
[MRG+1] Initialize ARPACK eigsh
2015-10-23 09:26:42 +02:00
Andreas Mueller 1863895599 Merge pull request #5506 from RachitKansal/my-work
Tweaking the legend of GP plot in plot_compare_gpr_krr.py
2015-10-23 09:21:41 +02:00
Peter Fischer 8ff339eb5b Update test_utils.py
Comment instead of docstring to follow sklearn convention.
Regression test made easier by adding small value to main diagonal of s.p.d. matrix
2015-10-23 08:57:31 +02:00
yanlend 9f8e062571 fix docs and doctests for KernelPCA 2015-10-23 08:57:30 +02:00
Peter Fischer 6cb51b2a28 Initialize ARPACK eigsh
`v0 = random_state.rand(M.shape[0])` leads to an initial residual vector in ARPACK which is all positive. However, this is not the absolute or squared residual, but a true difference. Thus, it is better to initialize with `v0=random_state.uniform(-1, 1, M.shape[0])` to have an equally distributed sign. This is the way that ARPACK initializes the residuals.
The effect of the previous initialization is that eigsh frequently does not converge to the correct eigenvalues, e.g. negative eigenvalues for s.p.d. matrix, which leads to an incorrect null-space.

- initialized all occurences of sklearn.utils.arpack.eigsh the same way it would be initialzed by ARPACK
- regression test to test behavior of new initialization
2015-10-23 08:57:30 +02:00
Gilles Louppe 8b990c3f34 Merge pull request #5543 from ltiao/patch-1
Fixed typo..
2015-10-23 07:14:01 +02:00
MechCoder 9d8d7e426c Replace GETC to SAMPLE_WEIGHT 2015-10-23 00:07:02 -04:00
MechCoder 41cbfded7c Add check for sample_weights 2015-10-23 00:06:07 -04:00
MechCoder 80e22b3ddf Patch liblinear for sample_weights in LogisticRegression(and CV) 2015-10-23 00:00:31 -04:00
Louis Tiao 4f7e5fffb7 Fixed typo.. 2015-10-23 11:45:35 +11:00
TomDLT efe8399d86 update whats_new for #5008 2015-10-22 19:01:49 +02:00
johannah 47a8ffa618 Added colorblind compatibility 2015-10-22 18:59:24 +02:00
johannah 824115a4e5 Added colorblind compatibility to classification 2015-10-22 18:32:23 +02:00
Andreas Mueller 4eee24a60f Merge pull request #5517 from lesteve/replace-base-class-method-calls-by-super
[MRG] Use super rather than calls to base class methods
2015-10-22 18:30:25 +02:00
Andreas Mueller a6c2a17bed undo change by @arthurmensch that was probably accidental ;) 2015-10-22 17:54:23 +02:00
Loïc Estève f63ba1d963 MAINT use super rather than calls to base class methods 2015-10-22 15:00:43 +02:00
Arthur Mensch 1c7168d398 Fix fit_transform, stability issue and scale issue in PLS 2015-10-22 14:25:59 +02:00
Alexandre Gramfort 5a58e56826 Merge pull request #5487 from arjoly/example-node
[MRG+1] Add an example and a method to analyse the decision tree stucture
2015-10-22 13:31:49 +02:00
Andreas Mueller 5d3bb933e0 Merge pull request #5008 from TomDLT/logistic_multiclass
[MRG+1] fix logistic regression class weights
2015-10-22 12:44:37 +02:00
Arnaud Joly 3fbd3b9ade Take into account ngoix comment 2015-10-22 09:51:14 +02:00
Alexandre Gramfort 861ac13713 Merge pull request #5519 from ishank08/imp_transform
(Issue #5514) check_array performed twice fixed
2015-10-22 09:36:47 +02:00
Gael Varoquaux 744d161d37 Merge pull request #5431 from hlin117/nan-targets
[MRG + 2] Add check to regression models to raise error when targets are NaN
2015-10-22 09:36:12 +02:00
Ishank Gulati 7fe71c18ab as_float_array removed 2015-10-22 01:07:24 +05:30
hlin117 f725485427 #5322: Small change to estimator_check.py 2015-10-21 11:59:21 -05:00
hlin117 1f48814799 #5322: Using multioutput_estimator_convert_y_2d in check_supervised_y_no_nan 2015-10-21 11:54:12 -05:00
Andreas Mueller 3c988d5d1c Merge pull request #5512 from giorgiop/randomized-svd-versionadded
DOC versionadded randomized_svd
2015-10-21 18:45:24 +02:00
giorgiop f45f260ff7 DOC versionadded randomized_svd 2015-10-21 18:28:37 +02:00
hlin117 290e0ea6f2 #5322: Changed check_supervised_y_no_nan to not seed global 2015-10-21 11:26:20 -05:00
Arnaud Joly 7ad90f5a33 Rename since we don't plot anything 2015-10-21 18:08:57 +02:00
TomDLT d439dc4d9e FIX class_weight in LogisticRegression and LogisticRegressionCV 2015-10-21 17:41:39 +02:00
hlin117 c45075123a Added documentation about y nan handling in check_X_y 2015-10-21 11:11:08 -04:00
Arnaud Joly 4d0ba3ca58 wording 2015-10-21 17:09:38 +02:00
Arnaud Joly ec8fbefcb9 Take into account amueller comments 2015-10-21 17:05:57 +02:00
Arnaud Joly c9888a6f8d Take into account glouppe comments 2015-10-21 17:05:56 +02:00
Arnaud Joly 7d4755e317 Add a decision_path function to forest estimator 2015-10-21 17:05:56 +02:00
Arnaud Joly 405c71780f typo 2015-10-21 17:05:56 +02:00
Arnaud Joly be21b6a5b0 Add an hardcoded test 2015-10-21 17:05:56 +02:00
Arnaud Joly bc02bd5243 ENH rename decision_paths to decision_path 2015-10-21 17:05:56 +02:00
Arnaud Joly 4d9a955933 DOC make visualizatoin aware of the tree depth 2015-10-21 17:05:55 +02:00
Arnaud Joly 317281bf22 take glouppe comment 2015-10-21 17:05:55 +02:00