Olivier Grisel
feceab6f62
FIX test for consistent handling on empty input data
2015-02-26 10:45:06 +01:00
Andreas Mueller
cd5166e82f
make check_array convert object to float.
...
fix dtype check, add test. unfriend all multi-output estimators on facebook.
try to fix what is happening to y (by doing nothing to y)
make test work...
Make everything accept object y or say "invalid label"
fix multioutput linear models
add test for sensible error message.
2015-02-15 12:13:41 -05:00
Andreas Mueller
8ef0b9a82f
fixes in GMM, TSNE, MDS, LSHForest, exclude SpectralEmbedding
2015-02-10 18:34:31 -05:00
Andreas Mueller
e3e0827243
FIX check (and enforce) that estimators can accept different dtypes.
2015-02-10 15:37:15 -05:00
Andreas Mueller
cd63accc05
Add test that score takes y, fix KMeans, FIX pipeline compatibility of clustering algorithms!
2015-02-06 13:26:42 +01:00
Andreas Mueller
edc9bbb5c7
remove duplicated test, probably caused by rebase issues.
2015-01-20 15:48:35 -05:00
Andreas Mueller
494b8e5743
TST add test for sparse matrix handling in clustering
...
Make sparsity check check everything.
don't test everything. That would be nice but is out of scope :-/
catch special case of no core samples in DBSCAN
add nonregression test for sparse dbscan with no core samples.
2015-01-16 12:03:20 -05:00
Olivier Grisel
c1f3080e1d
Merge pull request #4058 from amueller/cleanup_common_tests
...
[MRG+1] slight cleanup of common tests.
2015-01-15 11:14:07 +01:00
Raghav R V
0fce60d285
TST Add tests to assert if NotFittedError is raised appropriately
2015-01-12 00:33:40 +05:30
Andreas Mueller
16662744ac
TST slight cleanup of common tests.
2015-01-11 13:54:29 -05:00
Lars Buitinck
40c03d4880
COSMIT pep8 fixes to sklearn/tests
2014-12-18 16:40:01 +01:00
MechCoder
f86622d9cb
MAINT: Moved compute_label test to common tests
2014-12-09 16:22:10 +01:00
Andreas Mueller
f35116ad03
Allow list of strings for type_filter in all_estimators.
2014-12-04 16:58:07 -05:00
Andreas Mueller
9033865100
FIX raise error when number of features changes in partial fit, Add common test for inconsisten number of features for partial fit.
2014-11-06 18:01:31 -05:00
Christian Stade-Schuldt
cd7b43ccf9
TST make catch_warnings blocks more robust
2014-10-12 18:20:18 +02:00
Joel Nothman
b4e41cb614
FIX update sklearn.__all__ to include all end-user submodules
2014-09-02 11:23:19 +02:00
Calvin Giles
dd9e512ddb
Changed f=open() to with open() as f to eliminate ResourceWarnings. Fixes #3410 .
2014-08-31 14:44:11 +01:00
MechCoder
4e7912756b
COSMIT: Minor doc fixes
2014-08-21 17:37:37 +02:00
MechCoder
d5ceb89ed5
ENH: Add support for class weights
2014-08-21 17:37:37 +02:00
Olivier Grisel
07560e45c2
FIX #3485 : class_weight='auto' on SGDClassifier
2014-08-01 15:05:32 +02:00
MechCoder
ad5773cfca
TST: Added test to check ConvergenceWarning
2014-08-01 12:15:57 +02:00
MechCoder
c8c72fd96e
ENH: Return n_iter_ from liblinear and print convergence warnings
2014-08-01 12:15:57 +02:00
MechCoder
67585f6e6f
MAINT: Improve documentation and coverage
2014-07-22 17:28:16 +02:00
MechCoder
c508965201
MAINT: Fixed a few docstrings and cosmits
2014-07-22 15:09:39 +02:00
MechCoder
d72ca5974f
Added n_iter attribute to OMP (and CV)
2014-07-22 15:09:39 +02:00
MechCoder
06f09730dd
TST: Test that after fitting n_iter is greater than 1
2014-07-22 15:09:39 +02:00
Andreas Mueller
f6e318952c
slight speedup
...
some cleanup
2014-07-18 17:22:03 +02:00
Andreas Mueller
71d4a21974
some cleanups in common_test, speedup.
2014-07-18 17:22:02 +02:00
Andreas Mueller
718f6ad19f
split test_common.py into checks and test file.
...
move dataset generation into estimator_checks
2014-07-18 14:34:51 +02:00
Olivier Grisel
e7d096cc2e
TST faster check_transformer_pickle by fixing n_iter
2014-07-17 17:09:21 +02:00
Gael Varoquaux
814a3ea154
FIX broken test
2014-07-17 12:13:33 +02:00
Gael Varoquaux
bfd546a5d8
COSMIT:
...
Address @amueller's comments
2014-07-17 11:44:08 +02:00
Gael Varoquaux
e42ecd1466
ENH: transformers work on non ndarray subclasses
2014-07-17 11:44:08 +02:00
Gael Varoquaux
c325423e25
ENH: support non-ndarray subclasses in supervised estimator
2014-07-17 11:44:08 +02:00
Gael Varoquaux
7768a3059b
ENH: enable y to only implement the array interface
...
For instance y could be a pandas' dataframe
2014-07-17 11:44:07 +02:00
Olivier Grisel
279d8ce860
MAINT 32 bit unstable tests are unstable on all OSs
2014-07-15 19:01:58 +02:00
Gael Varoquaux
a9ad5a2142
Merge pull request #3363 from ogrisel/appveyor-ci
...
[MRG] Add Windows continuous integration with AppVeyor CI
2014-07-14 21:14:50 +02:00
Olivier Grisel
59b0f61224
MAINT: skip some unstable transformers test under Win 32
2014-07-14 19:16:34 +02:00
Kyle Kastner
3b0aec7980
Added additional skip checking for train and pickle tests
2014-07-14 12:01:03 -05:00
Kyle Kastner
2d7e32bfa7
Put check_travis in the correct place so that other tests are not skipped, and changed the CCA check to be more explicit.
2014-07-14 10:15:54 -05:00
Kyle Kastner
25e11813b7
Additional skipping for omp_cv
2014-07-14 09:59:29 -05:00
Olivier Grisel
514f07306f
FIX #3372 : unstable input check test for RANSACRegressor
2014-07-13 19:39:55 +02:00
Joel Nothman
18c399e20a
MAINT deprecate sequences of sequences support
...
* add warnings
* provide alternative binarizer, sklearn.preprocessing.MultiLabelBinarizer
* fix documentation
2014-06-05 11:20:35 +02:00
Olivier Grisel
eddad02a0f
ENH: more explicit failure messages in test_common
2014-05-26 15:11:09 +02:00
Arnaud Joly
defa6c425f
FIX testing datasets have too few feature for default of SelectKBest
2014-05-08 20:56:21 +02:00
Gael Varoquaux
0d96a480d1
Merge pull request #2929 from ajtulloch/izip-tests
...
[tests] Use Python 3 zip/Python 2 zip consistently in tests
2014-03-05 07:35:57 +01:00
Gael Varoquaux
39f3a76dd6
Merge pull request #2199 from GaelVaroquaux/hc_linkage
...
[MRG+1] Hierarchical Agglomerative Clustering
2014-03-05 07:00:27 +01:00
Andrew Tulloch
8eeda198d2
[tests] Use Python 3 zip/Python 2 zip consistently in tests
2014-03-03 13:02:17 +00:00
Lars Buitinck
0f5685b8ee
FIX predict_proba status on SGD and SVC when disabled
...
Using a property trick suggested by @mblondel. The following now
works:
>>> clf = SVC(probability=False)
>>> hasattr(clf, "predict_proba")
False
This simplifies the smoke tests.
Added a note to SVC stating that this should be done in new code.
2014-02-27 18:30:35 +01:00
Gael Varoquaux
f96331717a
MISC: increase test coverage and cosmetics
2014-02-07 11:08:46 +01:00