scikit-learn/sklearn/ensemble
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
..
tests MAINT deprecate 1d input arrays for all estimators 2015-09-09 15:49:58 +02:00
__init__.py votingclassifier 2015-04-20 19:27:30 -04:00
_gradient_boosting.c ENH split _tree.pyx into several files 2015-09-09 11:28:24 +02:00
_gradient_boosting.pyx ENH split _tree.pyx into several files 2015-09-09 11:28:24 +02:00
bagging.py Changed predict_log_proba so that it accepts sparse matrices. 2015-09-08 08:43:11 +02:00
base.py FIX Support for negative values of n_jobs 2015-01-21 12:58:31 +01:00
forest.py fixes bug in oob_score when X is sparse.csc matrix [refs #4744] 2015-07-17 14:46:14 +05:30
gradient_boosting.py ENH split _tree.pyx into several files 2015-09-09 11:28:24 +02:00
partial_dependence.py DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
setup.py added gbrt extension module (faster prediction methods) 2012-03-29 08:34:45 +02:00
voting_classifier.py FIX: ensure that get_params returns VotingClassifier own params 2015-07-23 08:34:26 +02:00
weight_boosting.py AdaBoostRegressor should not raise errors if the base_estimator 2015-09-06 23:30:37 -04:00