Commit Graph

8947 Commits

Author SHA1 Message Date
Barmaley.exe 7a97192153 Minor fix for a comment 2015-03-03 23:46:22 +03:00
Barmaley.exe 663c236cca Removes RBF calculation by hand 2015-03-03 23:38:52 +03:00
Barmaley.exe 8ab4649fef FIX Flips sign of SVM's dual_coef_ in binary case
Makes it consistent with other sign adjustments, adds
a test to reproduce decision_function in a kernel case
2015-03-03 02:29:23 +03:00
Olivier Grisel 9e20fb6767 Merge pull request #4313 from vortex-ape/spectral_clustering
[MRG + 1] Fixes issue #4304: SpectralClustering should be explicit about include_self
2015-03-02 23:37:53 +01:00
Andreas Mueller 63336fcfd5 Merge pull request #4320 from amueller/minor_doc_fixes
[MRG] some fixes for sphinx and in examples
2015-03-02 13:49:41 -06:00
Olivier Grisel 29fb207764 Merge pull request #4318 from amueller/skip_omp_cv_on_travis
[MRG+1] skip OMPCV on travis by raising SkipTest in set_fast_parameters.
2015-03-02 20:34:46 +01:00
Andreas Mueller 9bc4de8dae some fixes for sphinx and in examples 2015-03-02 12:50:53 -05:00
Andreas Mueller 8820701fdd skip OMPCV on travis by raising SkipTest in set_fast_parameters. 2015-03-02 11:24:07 -05:00
Vinayak Mehta 6b5e63b899 Added Random Kitchen Sink reference 2015-03-02 11:16:03 +05:30
Vinayak Mehta dcd2bbbcef explicitly passed by name 2015-03-02 07:09:34 +05:30
Vinayak Mehta b15275c540 explicitly mentioned include_self 2015-03-02 05:26:44 +05:30
Lars Buitinck 644e2a4813 MAINT change "l2" to "squared_hinge" in svm.bounds
For consistency with the rest of the svm module. Fixes #4305.
2015-03-01 13:21:51 +01:00
terrycojones 4893ce0537 Added missing space to exception message. Simplified (trivially) code and corrected message. Updated tests. 2015-02-28 19:52:40 +00:00
Yan Yi 5141f18a91 TST add test for radius_neighbors boundary handling 2015-02-28 18:12:44 +01:00
Yan Yi 4ed425770a FIX inconsistent boundary handling 2015-02-28 18:10:20 +01:00
Andreas Mueller a5a800ec03 Fix docstring of mahalanobis distance in empirical covariance. Closes #4168. 2015-02-27 17:10:12 -05:00
Olivier Grisel 1655a0468a TST check that constructor params are not mutated by fit 2015-02-27 19:40:55 +01:00
Hanna Wallach c31710d89f TST check that Bernoulli NB is consistent with Manning et al. IR book example 2015-02-27 11:18:27 +01:00
Hanna Wallach e073432fc6 FIX issue #4268 (bug in BernoulliNB). 2015-02-27 11:18:17 +01:00
Joel Nothman 69827c4b58 TST Test check_consistent_length and TypeError with ensemble arg 2015-02-26 16:30:39 +01:00
Andreas Mueller 97d8341821 TST make TheilSenRegressor run faster in common tests, I could swear I did that before... 2015-02-26 10:17:46 -05:00
Andreas Mueller 8cf714cc9d remove special case for BaggingEstimator after merge of #4137 2015-02-26 10:14:02 -05:00
Andreas Mueller 8f2780f579 Make BaggingClassifier use if_delegate_has_method in decision_function 2015-02-26 10:53:37 +01:00
Olivier Grisel feceab6f62 FIX test for consistent handling on empty input data 2015-02-26 10:45:06 +01:00
Hasil Sharma 3c3360d408 FIX Make Spectral Embedding deterministic 2015-02-26 09:07:57 +01:00
Raghav R V 6d222fde10 TST test deprecation warning and support for uppercase 2015-02-25 19:12:27 +05:30
Raghav R V 354c35cd5b FIX Make LinearSVC/LinearSVR support the deprecated l1/L1, l2/L2 2015-02-25 19:12:27 +05:30
Raghav R V 50876eca47 COSMIT Flake8 fixes for svm/base.py 2015-02-25 19:12:27 +05:30
Raghav R V 9df01a8a4e FIX/MAINT Deprecate and support upper case values for loss/penalty 2015-02-25 15:34:56 +05:30
Raghav R V c1c8cc1e3a FIX loss, penalty --> penalty, loss 2015-02-25 15:34:56 +05:30
Olivier Grisel 3f5277e835 Merge pull request #4284 from hbredin/dgpmm_convergence
[MRG + 1] Improve DPGMM/VBGMM convergence check
2015-02-25 09:46:04 +01:00
Herve Bredin 4a0e281510 DOC: make it clear 'thresh' should be removed in v0.18 2015-02-25 08:38:37 +01:00
Andreas Mueller 4c389c692a Merge pull request #4269 from MechCoder/deprecate_n_components
[MRG+1] FIX: Fix n_components in AgglomerativeClustering and friends
2015-02-24 22:15:17 -06:00
Raghav R V a59eee8fc9 FIX Add check_symmetric to __all__ 2015-02-24 18:16:20 -05:00
Olivier Grisel 2c3e5640d9 DOC cosmetics in test docstring 2015-02-24 23:35:24 +01:00
Alexis Mignon 86392dbc6d Put the error state change about underflow errors in a 'with' statement in '_covar_mstep_full'. 2015-02-24 23:35:24 +01:00
Alexis Mignon fa3ecbc96d Converted docstring of 'test_positive_definite_covars' into a comment to avoid description ptoblems with nose (Related to issue #4250) 2015-02-24 23:35:23 +01:00
Alexis Mignon db2eddaa02 Converted test_positive_definite_covars to a generator. 2015-02-24 23:35:23 +01:00
Alexis Mignon 3e069d51ed Clarified a comment and factorized the tests for all covariance types 2015-02-24 23:35:23 +01:00
Alexis Mignon e0536d93b5 Cosmetic changes in the doc string. Added an indentation level 2015-02-24 23:35:23 +01:00
Alexis Mignon 739efd6e82 Added test to check that obtained covariance matrices are positive definite after learning a GMM 2015-02-24 23:35:23 +01:00
Alexis Mignon 5c893e5280 Change the way the covariance is computed to avoid problem with not positively defined covariance matrices 2015-02-24 23:35:22 +01:00
Garrett-R ef0bbfbe8d Avoid divison by zero warning in KNeighbors estimators 2015-02-24 17:26:38 -05:00
Andreas Mueller 1cf3e06648 special case if dist is object in _get_weights 2015-02-24 17:26:38 -05:00
Garrett-R 98f65c56f4 Edited _get_weights to make it robust to zero distances
This edit made PR #2941 unnecessary, so I've reverted the changes, but kept the test.
The for loop in _get_weights did not affect performance too negatively.  See the PR (#3760)
for some benchmarks.
2015-02-24 17:26:38 -05:00
Andreas Mueller 92da7c014a Merge pull request #4146 from amueller/fdr_treshold_bug_2
[MRG + 1] Fdr treshold bug
2015-02-24 16:15:19 -06:00
Olivier Grisel 3468e00471 Merge pull request #4057 from amueller/dtype_object_conversion
[MRG + 2] make check_array convert object to float.
2015-02-24 22:33:20 +01:00
Andreas Mueller 0036dd0319 ENH make defensive copies in GradientBoosting*.staged_decision function. 2015-02-24 16:28:33 -05:00
Andreas Mueller f12a441655 raise noise in test again, be ascii 2015-02-24 16:26:24 -05:00
Olivier Grisel 95f1d9562b FIX DOC TST: alpha is an uppper bound on FDR 2015-02-24 16:26:24 -05:00