Commit Graph

51 Commits

Author SHA1 Message Date
Andreas Mueller c305629f17 TST skip test in common_tests, reach 100% coverage on new code. 2012-10-25 22:57:53 +01:00
Mathieu Blondel afb666c1d0 Use sklearn.utils.testing in tests. 2012-10-25 15:31:35 +09:00
Olivier Grisel 244e8a68fa Merge pull request #1187 from ogrisel/bugfix-logistic-ovr-probabilities
MRG: FIX: wrong probabilities for OvR LogisticRegression
2012-09-30 06:09:51 -07:00
Andreas Mueller 78789a1c84 MISC renaming FeatureStacker to FeatureUnion, adding docs 2012-09-30 11:55:32 +01:00
Andreas Mueller d27e8fc97a TST added tests, fix feature names. 2012-09-30 11:55:32 +01:00
Olivier Grisel 531dcb0090 ENH: make test_common check normalized probabilities 2012-09-29 17:29:34 +02:00
Andreas Mueller c0a057843c ENH rename Scaler to StandardScaler everywhere 2012-09-23 17:31:15 +01:00
Nelle Varoquaux 1f59e07c12 FIX IsotonicRegression only takes vector input, hence don't test it in the common estimators 2012-09-15 16:40:43 +02:00
Andreas Mueller d11e6d1998 ENH more robust transformer testing.... don't ask why that came up 2012-09-04 20:48:12 +01:00
Gael Varoquaux 58ed136173 Revert "Rename Y to y in PLS"
This reverts commit a10928c553.
2012-09-02 22:14:09 +02:00
Vlad Niculae 3a7125fa12 Skip CCA in test_regressors_int 2012-09-02 16:27:29 +03:00
Vlad Niculae a10928c553 Rename Y to y in PLS 2012-09-02 16:14:07 +03:00
Vlad Niculae 2b7c336b2f Make PLS degrade gracefully on sparse data 2012-09-02 15:34:14 +03:00
Vlad Niculae 30e1597635 fit_transform in PLS to support y 2012-09-02 15:29:22 +03:00
Vlad Niculae f0585934d2 Support y-dependent transform as in PLS 2012-09-02 14:51:56 +03:00
Vlad Niculae 9829179a4c Improve the common tests, make fast_ica pipelinable 2012-09-02 14:22:19 +03:00
Vlad Niculae ad339a4ec0 Merge branch 'master' into mixins
Conflicts:
	sklearn/tests/test_common.py
2012-09-02 13:50:40 +03:00
Vlad Niculae e0c6c117b1 MDS is not a transformer, fix the test to skip PLS 2012-09-02 13:46:13 +03:00
Andreas Mueller 069936c627 ENH add ClassifierMixin with ``fit_predict`` and some tests. 2012-09-01 18:51:19 +02:00
Andreas Mueller f3b76d231b ENH test that regressors can handle integer data. 2012-09-01 18:32:48 +02:00
Andreas Mueller 3cafdaa3ba COSMIT copy+paste error 2012-09-01 18:25:05 +02:00
Andreas Mueller cfe11f9286 MISC added comment to explain SelectKBest k in common tests 2012-09-01 18:25:05 +02:00
Andreas Mueller 2ec38b31e1 ENH rudimentary testing of tranformer objects 2012-09-01 18:25:05 +02:00
Andreas Mueller f540875964 ENH addressed @agramfort's comment, also removed the special case from testing as @mblondel fixed it :) 2012-09-01 12:23:09 +02:00
Andreas Mueller 54076d5bf2 Fixed tests for RidgeClassifier 2012-09-01 12:23:09 +02:00
Andreas Mueller 072b3c6002 enh: try to get decision function to work in two class case 2012-09-01 12:23:09 +02:00
Andreas Mueller 7a5e118899 ENH add test for consistend predict_proba shape also in the two-class case. 2012-08-29 19:08:02 +02:00
Andreas Mueller 0b707d327b ENH also test MultinomialNB 2012-08-27 14:26:24 +02:00
Andreas Mueller 42e9029a1e TST classifier behavior with only one class present 2012-08-27 13:36:43 +02:00
Andreas Mueller 1aaa7ac140 TST check that transformers fail gracefully on sparse input 2012-08-26 16:01:33 +02:00
Andreas Mueller 0d69c6cd8d ENH check that classifier decision_function and predict_proba validate shape of input.
Closes #864.
2012-08-19 15:09:14 +01:00
Andreas Mueller 45b88b72bd ENH just a little more input validation testing 2012-08-10 12:42:08 +01:00
Gael Varoquaux a12bd7bc7c ENH: understandable error message for X sparse 2012-08-10 11:23:00 +01:00
Andreas Mueller 82a762f69d COSMIT pep8 2012-08-10 11:06:42 +01:00
Gael Varoquaux 3b15f4494b TST: test the setup.py using the configure step
Also make the setup less verbose
2012-07-25 10:46:07 +02:00
Lars Buitinck f6bd86e290 COSMIT cleanup tests with pyflakes 2012-07-21 12:57:49 +02:00
Andreas Mueller 4fff8ed408 trying out some testing stuff 2012-07-20 22:54:03 +01:00
Andreas Mueller 1864bca1df COSMIT pep8 2012-07-09 22:27:44 +01:00
Andreas Mueller 163d7772e2 ENH better input validation for prediction in SVC, LinearSVC. 2012-06-27 22:03:15 +02:00
Andreas Mueller bd94b49a2d MISC cleanup common testing 2012-06-26 19:01:24 +02:00
Andreas Mueller a93e0afc16 ENH test more shapes, test non-consecutive classes, test accuracy on test set 2012-06-26 14:16:04 +02:00
Andreas Mueller ddf569305b ENH Fix seed that makes SGDClassifier work. 2012-06-26 14:16:04 +02:00
Andreas Mueller 5338bda651 MISC shuffle iris for SGD based methods 2012-06-26 14:16:04 +02:00
Andreas Mueller 6aa167c5c8 ENH test regressors 2012-06-26 14:16:04 +02:00
Andreas Mueller 4264acdbd3 MISC don't test SVM for the moment, rest works :) 2012-06-26 14:16:04 +02:00
Andreas Mueller c02938f5bb ENH do zero mean, unit variance on iris, don't test naive Bayes (for the moment) 2012-06-26 14:16:04 +02:00
Andreas Mueller 7a585e46ea ENH more tests 2012-06-26 14:16:04 +02:00
Andreas Mueller 30d624601a FIX better class selection, more strict testing. 2012-06-26 14:16:04 +02:00
Andreas Mueller 7cdeecf00d COSMIT get rid of warnings (can't get rid of deprecation warnings only :-/) 2012-06-26 14:16:03 +02:00
Andreas Mueller 04d81608a1 ENH Add MetaEstimatorMixin, make RFE default constructible 2012-06-26 14:16:03 +02:00