TomDLT
d439dc4d9e
FIX class_weight in LogisticRegression and LogisticRegressionCV
2015-10-21 17:41:39 +02:00
Vighnesh Birodkar
735dd1fdca
Fix warnings during tests
2015-10-08 14:52:21 -04:00
TomDLT
94eb61960a
ENH add sag solver in LogisticRegression and Ridge
2015-09-10 13:28:02 -04:00
Danny Sullivan
4ceffe05a1
Adding Implementation of SAG
2015-09-10 13:27:04 -04:00
Vighnesh Birodkar
2f099334f9
MAINT deprecate 1d input arrays for all estimators
...
Passing 1D arrays to check_array, without setting `ensure_2d` to false now
raises a deprecation warning before reshaping it. This will later throw an
error.
All Scaler classes also throw warnings when 1D arrays are passed.
All unit tests/doctests are modified to ensure that no 1D arrays are passed,
except in explicit 1D array tests where the warnings have been silenced.
Additional tests are also included which check for different 1D array cases.
2D array tests with one samples and one features are also added and where
they failed, `check_array` call has been modified to give a more useful error
message
2015-09-09 15:49:58 +02:00
Olivier Grisel
ff64c3a744
MAINT remove referrence to HMM in common tests
2015-06-18 15:20:10 +02:00
Andreas Mueller
eedc1cddab
Use more natural class_weight="auto" heuristic
2015-06-01 12:49:53 -04:00
Andreas Mueller
669a4ea853
ENH add high-level estimator-validation function
2015-04-28 16:46:13 -04:00
Andreas Mueller
932726fe9d
Merge pull request #4467 from giantoak/param_invariance
...
[MRG + 1] BUG: get_param in FeatureUnion disjoint for shallow/deep params
2015-04-19 14:55:17 -05:00
Sam Zhang
edf60c0ee2
BUG: get_param in FeatureUnion disjoint for shallow/deep params
...
- Previously params in a FeatureUnion or Pipeline were different
when deep=False and deep=True, making it impossible to set shallow
params during GridSearch (issue #4461 )
- Added test to enforce deep=True results to be superset of deep=False.
- Updated deep get_param output in pipeline estimators with shallow params.
TST: Test estimators for get_params invariance
- Estimators that support get_params should always be consistent
in that get_params(deep=False) should be a subset of get_params(deep=True)
- Implemented test over all "normal" and "other" estimators provided by
all_estimators
- Ignoring grid_search estimators for now
TST: Amended init_pipeline test to only compare non-estimators
2015-04-03 21:33:29 +00:00
Varoquaux
6c81fbcf7b
Merge pull request #4420 from amueller/cca_low_rank
...
FIX CCA low rank doesn't crash any more
2015-04-02 19:02:15 +02:00
Andreas Mueller
d89c215013
Add tags to classifiers and regressors to identify them as such.
2015-03-31 19:59:49 -04:00
Raghav R V
cd2ee7e454
MAINT docstring --> comments to prevent nose from using doc in verbose mode
2015-03-21 11:16:49 +05:30
Andreas Mueller
6bbd7c0e0e
make cross_decomposition pass common tests
2015-03-19 19:09:50 -04:00
Andreas Mueller
82e44154b9
FIX Minor shape fixes in PLS
2015-03-19 19:02:09 -04:00
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