Vighnesh Birodkar
735dd1fdca
Fix warnings during tests
2015-10-08 14:52:21 -04:00
Matti Lyra
e648fb9bc4
Added the option of passing in a sparse X matrix into decision function, plus tests for sparse for all prediction functions.
2015-09-07 18:05:42 +02:00
Andreas Mueller
a8626b36a6
TST/COSMIT remove nose call boilerplate
2015-05-28 14:54:01 -04:00
Tim Head
8add36bdb9
Better assert_raises use, API compliance, better ordering
...
Removed the need for printing attributes to raise
exceptions in the tests
Removed unnecessary setting of attributes in the
initialisation.
Moved check for warm_start and oob_score
2015-05-06 15:14:06 +02:00
Tim Head
fb9e7254c6
oob_score will only be calculated if warm_start=False
2015-05-06 15:14:06 +02:00
Tim Head
51a51ef675
Test oob_score for warm_start'ed bagging classifiers
...
Test that oob_score is a good estimate of generalization
error in case of warm_start.
Test that oob_score is computed only on most recent
training samples with newly added classifiers
2015-05-06 15:14:06 +02:00
Tim Head
4408a180cc
Test for unchanged n_estimator and indentation fix
...
Added a test to check nothing happens when calling
fit() without changing n_estimators. Fixed indentation
in fit() for this case.
2015-05-06 15:14:06 +02:00
Tim Head
b03af5760b
Fix random_state to make test reproducible
2015-05-06 15:14:05 +02:00
Tim Head
2f563df512
Added warm_start to bagging
...
BaggingClassifier and BaggingRegressor now support warm_starts. Added
basic tests and documentation of the new functionality. Heavily
inspired by work on warm_start for Random forests.
2015-05-06 15:14:05 +02:00
Arnaud Joly
c78f2624eb
FIX raise ValueError if sample weight are passed but unsupported by the base estimator
2015-04-29 11:34:48 +02: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
8f2780f579
Make BaggingClassifier use if_delegate_has_method in decision_function
2015-02-26 10:53:37 +01:00
Arnaud Joly
d7c17a1ff5
TST bagging of pipeline of classifier
2014-10-07 10:50:36 +02:00
murad
d31dee1244
BaggingClassifer/BaggingRegressor tests for sparse input
2014-04-17 18:11:05 -04:00
murad
6982977c3c
added tests for sparse matrix inputs to BaggingClassifier and BaggingRegressor
2014-04-16 14:57:06 -04:00
Lars Buitinck
91a45af295
ENH micro-optimize a few tests
2014-04-04 11:27:07 +02:00
Mikhail Korobov
261da69b3d
TST remove n_jobs=-1 usages in tests
2014-03-24 15:35:37 +06:00
Mikhail Korobov
88a85e0621
TST fix sklearn.ensemble.tests.test_bagging.test_parallel
...
n_jobs variable was unused previously, leaving n_jobs=-1 case untested for BaggingRegressor.
2014-03-21 03:52:32 +06:00
Joel Nothman
dbc26ce996
COSMIT remove unused imports and variables
2014-02-03 19:43:56 +11:00
Gilles Louppe
f8bf44a251
FIX: logaddexp(-inf, -inf) == -inf and not NaN
2013-09-11 21:31:46 +02:00
Gilles Louppe
74d395215b
ENH bagging meta-estimator
2013-09-11 13:51:09 +02:00