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
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
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
Olivier Grisel
70d49de695
ENH ensure that a warning is raised when sample_weight is not supported
...
Also: make it possible to fix the random_state used to break the jitter
for isotonic calibration.
2015-02-20 19:37:12 +01:00
Olivier Grisel
eee0e67fa6
MAINT mark _sigmoid_calibration private
2015-02-20 19:37:12 +01:00
Alexandre Gramfort
7376309e81
TST improve coverage of calibration.py
2015-02-20 19:37:11 +01:00
Alexandre Gramfort
6b0f75ccc5
COSMIT : pep8 + 2 spaces
2015-02-20 19:37:11 +01:00
Jan Hendrik Metzen
6ec7a0efbb
TST Tests for the calibration module
2015-02-20 19:37:11 +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
774eec5468
Merge pull request #3891 from ragv/decision_function_ovo_1523
...
[MRG+2.5] Add decision_function for OneVsOneClassifier.
2015-02-14 17:56:26 -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
Raghav R V
e20d1a4391
ENH decision_function now returns #votes and scaled scores.
...
ENH use the decision_function to compute the prediction
TST Added test to assertain correlation of decision function and prediction
Add test to check if ties are broken using decision function
Add decision_function tests to check for votes/scores
ovo_ties test will use decision function to calculate votes and score.
DOC Add entry to OvO's doc regarding how ties are broken
DOC Clean up the predict / decision_function methods' docstring.
PEP8 Minor PEP8 clean up.
2015-02-09 14:39:11 +05:30
Lars
ba2c9a7fdb
Merge pull request #4179 from amueller/nystroem_singular_kernel
...
FIX Make nystroem approximation robust to singular kernel.
2015-02-06 21:47:17 +01:00
Olivier Grisel
620301b371
Merge pull request #4064 from amueller/pipeline_scoring_y_none
...
[MRG+1] FIX Pipelined fitting of Clustering algorithms, scoring of K-Means in pipelines
2015-02-06 19:22:40 +01: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
bhsu
13b6aec5f3
non-inheriting estimator added for rfe, cross validation, and pipeline tests
...
non-inheriting estimator added for cross validation
non-inheriting estimator added for pipeline
reconciled diffs
2015-01-29 22:02:38 -05:00
Andreas Mueller
e3f94351f2
TST Silence some tests.
2015-01-29 17:24:41 -05:00
Andreas Mueller
8db11a8c74
Make nystroem approximation robust to singular kernel.
2015-01-29 12:11:52 -05:00
trevorstephens
291447f29e
fix nb partial_fit w class_prior #3186
2015-01-24 11:47:07 -08:00
Lars
17726d2481
Merge pull request #4141 from amueller/bootstrap_int_one_fix
...
[FIX] Bootstrap with test_size=1 fix
2015-01-24 15:24:18 +01:00
Andreas Mueller
edb73cc693
FIX check for integer 1 before checking for floating 1 (isinstance(1, numbers.real) == True)
2015-01-21 15:53:03 -05:00
Thomas Unterthiner
a6723edca5
ENH: cross-validate over predefined splits
2015-01-21 13:04:50 +01:00
Andreas Mueller
edc9bbb5c7
remove duplicated test, probably caused by rebase issues.
2015-01-20 15:48:35 -05:00
jnothman
6c07cd44f3
Merge pull request #3850 from amueller/randomized_search_no_replacement
...
[MRG] Make ParameterSampler sample without replacement
2015-01-18 21:30:05 +11:00
Mathieu Blondel
5b577843f3
Remove singular matrix warning.
2015-01-18 11:55:48 +09:00
Jan Hendrik Metzen
a2c8d1214a
TEST Use make_regression instead of make_classification when testing kernel_ridge
2015-01-18 11:01:44 +09:00
Jan Hendrik Metzen
6011193b8a
MINOR Fixed typo in test name (test_kernel_ridge_singular_kernel)
2015-01-18 11:01:44 +09:00
Jan Hendrik Metzen
ff1ec8d963
REFACTOR Using lstsq rather than manual pinv in _solve_cholesky_kernel
2015-01-18 11:01:44 +09:00
Jan Hendrik Metzen
a67899f175
TEST Extending tests for kernel_ridge
...
* Testing more precomputed kernels
* Testing sample_weights and comparing to Ridge
2015-01-18 11:01:43 +09:00
Jan Hendrik Metzen
0db77c23b8
TEST Added tests for KernelRidge based on @mblondel's code in lightning
2015-01-18 11:01:42 +09: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
Andreas Mueller
2e2eebf4ab
Make ParameterSampler sample without replacement if all parameters are given as lists.
2015-01-15 10:55:31 -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
Raghav R V
88555987cc
PEP8 Fix E101, E111 errors and W191, W293, W293 and W391 warnings.
2015-01-08 04:28:24 +05:30
Raghav R V
24c0efd12f
PEP8 Fix E112 and E113 errors
2015-01-08 04:00:28 +05:30
Andreas Mueller
704472875a
Merge pull request #4049 from akshayah3/sparse
...
[MRG+1] Sparse inputs for fit_params
2015-01-06 12:05:08 -05:00
akshayah3
91c03a433a
Added helper function
2015-01-06 19:21:08 +05:30
akshayah3
5b9653334f
Sparse inputs for fit_params
2015-01-05 16:14:36 +05:30
Andreas Mueller
e2d163a148
address @jnothman's comments
2014-12-30 10:28:07 -05:00
Andreas Mueller
ed26caeb40
make gridsearch_no_predict test stricter.
2014-12-29 20:51:30 -05:00
Andreas Mueller
6dce07733d
remove bad estimator test as it was enforcing too many restrictions, instead test that we don't enforce these restrictions.
2014-12-29 20:40:34 -05:00
x0l
94b2e9471c
ignore warnings, change docstring
2014-12-27 19:14:32 +01:00
x0l
36932d7994
tests
2014-12-27 19:12:24 +01:00
Lars
8e3f21d8a9
Merge pull request #3982 from amueller/metaestimator_delegation
...
Metaestimator delegation/ducktyping. Fixes #1805 .
2014-12-27 13:59:04 +01:00
Joel Nothman
79eabdda25
FIX correct name due to rebase error
2014-12-25 23:33:27 +11:00
Andreas Mueller
3d1ede915a
TST add tests for nd grid-search can train_test_split
2014-12-25 23:08:44 +11:00