Commit Graph

315 Commits

Author SHA1 Message Date
YenChenLin 46fc1be145 Remove redundant words in sklearn 2016-02-23 16:54:03 +08:00
Andrew McCulloh 19f109ce87 The presort parameter is never acutally used 2015-11-16 15:07:09 -08:00
Andrew McCulloh 6ec1c38ab3 Change super call to pass presort value to super 2015-11-16 14:47:03 -08:00
KamalakerDadi f2e35411fa Added more versions of 0.17 2015-11-04 00:02:52 +01:00
yelite fea218e5cf In tree, min_samples_split and min_samples_leaf now accept float number as percentage. 2015-10-24 23:18:52 +02:00
Raghav R V e3afc0e8c9 MAINT move custom error/warning classes into sklearn.exceptions
ENH NonBLASDotWarning -> EfficiencyWarning; Improve error message
DOC Add exceptions module to modules/classes.rst
MAINT Move ConvergenceWarning, UndefinedMetricWarning et al into exceptions
MAINT Remove ChangedBehaviorWarning from base
DOC/FIX Improve DataConversionWarning's docstring
2015-10-19 22:35:35 +02:00
Jiali Mei 85223b9bcc a common test to check if classifiers fail when fed regression targets 2015-10-14 14:46:13 -04:00
Jacob Schreiber 02c0029baa ENH gbt sparse support 2015-09-28 13:44:12 -07:00
Andreas Mueller 6dd6f8ffe8 minor fixes to the doc build 2015-09-11 17:32:51 -04:00
Jacob Schreiber bc225a5e1a ENH apply method added to Gradient Boosting 2015-09-10 10:32:51 +02:00
Jacob Schreiber 5978c0bbdf ENH split _tree.pyx into several files 2015-09-09 11:28:24 +02:00
Jungkook Park 8453daa6b9 Use expit function to compute the probability in ExponentialLoss class. 2015-06-08 13:03:52 -04:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Andreas Mueller 0aea95c715 DOC add random_state to parameter docstring in gradient boosting 2015-05-11 12:11:41 -04:00
Andreas Mueller 72450ea8a3 DOC GradientBoostingX.estimators_ docstring shape. 2015-04-06 13:19:39 -04:00
Andreas Mueller d89c215013 Add tags to classifiers and regressors to identify them as such. 2015-03-31 19:59:49 -04:00
Peter Prettenhofer 6f335af7ee fix issue 4447 : min_weight_leaf not properly passed to PresortBestSplitter 2015-03-25 14:11:13 +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
Andreas Mueller 0036dd0319 ENH make defensive copies in GradientBoosting*.staged_decision function. 2015-02-24 16:28:33 -05:00
Andreas Mueller 96d4b3e709 more robust check for dtype object 2015-02-18 14:11:58 -08: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
Lars 38104ff4e8 Merge pull request #4193 from lesteve/deactivate-travis-default-venv
CI: test with NumPy 1.6.1, fix for its broken bincount
2015-02-03 16:25:36 +01:00
Lars cfd68ef435 Merge pull request #4198 from arjoly/gbrt-fix-percent-max_features
FIX Ensure at least 1 feature is sampled when max_features is a float
2015-02-03 15:59:56 +01:00
Arnaud Joly 92ed5eee42 FIX ensure that negative float max_features will lead to an error 2015-02-03 13:39:18 +01:00
Arnaud Joly 92b90815a6 FIX Ensure at least 1 feature is sampled when max_features is a float 2015-02-03 13:30:17 +01:00
Loïc Estève 67dcd99d82 TST fix tests with numpy 1.6.1
np.bincount raises an Exception with empty input arrays for numpy versions < 1.6.2
Add utils.fixes.bincount to tackle this issue and use it instead of np.bincount
2015-02-01 15:49:49 +01:00
Mehdi Cherti b35b2fdad3 Add predict_log_proba method to GradientBoostingClassifier 2015-01-29 20:09:48 +01:00
Lars 247ad47361 Merge pull request #4153 from hsalamin/remove_exp_warning
FIX get rid of overflow warning in gradient boosting
2015-01-23 17:33:31 +01:00
Hugues SALAMIN 9ca04c24fe Fix for overflow warning
Use expit function to compute the negative gradient and
avoid exp overflow.
2015-01-23 11:43:54 +01:00
Andreas Mueller f6c7252ded DOC staged_* returns generators. Fixes #3831. 2015-01-22 17:34:41 -05:00
Andreas Mueller a413f875f1 DOC minor fixes do docstrings, don't document deprecated parameters. 2015-01-16 11:55:02 -05:00
Raghav R V b3fbccca38 FIX various mismatch between docstring and signature params
DOC max_iterations -> max_iter. Make it consistent with kmeans

MAINT Replace the deprecated dx parameter with d in the docstrings

MAINT Deprecation warning for max_iterations parameter.
2015-01-16 11:54:57 -05:00
Andreas Mueller c970fb51e7 COSMIT spelling 2015-01-15 15:09:35 -05:00
Raghav R V 129e319f99 FIX the try except block to recognize NotFittedError 2015-01-12 00:33:40 +05:30
Raghav R V abd31d2cad MAINT Make uniform the error raised for not fitted condition 2015-01-12 00:33:40 +05:30
akshayah3 e77aac8e58 Documentation of max depth parameter
Changed the docstring

Few docstring changes
2014-12-29 20:04:25 +05:30
trevorstephens 7c50e6c8eb various docstring fixes for web docs 2014-11-30 17:59:42 -08:00
Arnaud Joly 373e641c52 MAINT refactor gradient boosting code
Fixes gh-3790
2014-11-25 17:23:00 +01:00
Manoj Kumar e6835a7aac Merge pull request #3779 from arjoly/sw-dummy-regressor
[MRG+1] Add sample_weight support to Dummy Regressor
2014-11-04 09:50:01 +01:00
Arnaud Joly 6b548f96f1 MAINT remove deprecated loss in gradient boosting 2014-10-24 12:58:13 +02:00
Arnaud Joly d4405cbf6c MAINT remove deprecated oob_score_ 2014-10-21 17:33:48 +02:00
Arnaud Joly da31344751 Add sample_weight support to Dummy Regressor 2014-10-16 16:41:49 +02:00
trevorstephens 0241b65afb GradientBoostingClassifier docstring incorrectly specified default for max_features as "auto" when it is None. 2014-09-28 13:45:12 -07:00
Peter Prettenhofer 85b2c783ce add probability output for exponential loss 2014-09-22 00:29:38 +02:00
Peter Prettenhofer 4966b12e33 cosmit arr -> array 2014-09-18 10:44:31 +02:00
Peter Prettenhofer 05fbc6423d fix: sample_weight is None in Huber.deviance
fix: sample_weight multiplication in Huber leaf updates
more tests (non-uniform weights, weight consistency and invariance to scaling, deviance consistence)
2014-09-18 10:42:36 +02:00
Peter Prettenhofer 73a8c3a555 cosmit 2014-09-17 12:14:26 +02:00
Peter Prettenhofer d9925961df fix: add **kwargs to Multinomial loss' negative_gradient 2014-09-17 12:14:26 +02:00
Peter Prettenhofer 93b2b7dae1 fix: consider sample_weights in robost init estimator and negative_gradient 2014-09-17 12:14:26 +02:00
Peter Prettenhofer fd952cc0ec sample weight support for robust regression via weighted percentile algo 2014-09-17 12:14:26 +02:00