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
Peter Prettenhofer
6fe6c34c15
adressed Olivier's feedback
2014-09-17 12:14:26 +02:00
Peter Prettenhofer
58329985d9
more elegant PriorProbabilityEstimator
2014-09-17 12:14:26 +02:00
Peter Prettenhofer
7064e2013b
bincount supports weights
2014-09-17 12:14:26 +02:00
Peter Prettenhofer
2503d35039
cosmit: doc
...
raise ValueError for sample_weights and robust regression
2014-09-17 12:14:26 +02:00
Peter Prettenhofer
f98388e31f
more tests
2014-09-17 12:14:26 +02:00
Peter Prettenhofer
7f4c974d6b
Sample weights for gradient boosting
...
Exponential loss for classification + predict_proba refactoring
2014-09-17 12:14:26 +02:00
Lars Buitinck
d9288f012f
ENH micro-optimize gradient boosting
2014-09-05 13:33:34 +02:00
jnothman
e1891d801b
Merge pull request #3489 from jnothman/attributes-doc
...
[MRG] DOC fix formatting of Attributes sections in documentation
2014-08-02 20:14:53 +10:00
Peter Prettenhofer
ffd13c389b
fix: i might be undefined
2014-07-31 23:47:51 +02:00
Joel Nothman
b3bdb08964
DOC fix formatting of attributes etc. in docstrings
2014-07-28 19:04:59 +10:00
Andreas Mueller
6e2a83b4e1
remove check_arrays stuff and old input validation
2014-07-20 13:31:45 +02:00
Andreas Mueller
e23d9c9462
ENH Make all decision functions have the same shape. Fixes SVC and GradientBoosting. Closes #1490 .
2014-07-19 10:22:03 +02:00
Noel Dawe
7e9c093585
tree: add min_weight_fraction_leaf
2014-07-02 11:47:31 +02:00
Gilles Louppe
99f2860c8a
Merge pull request #2966 from maheshakya/feature_selector
...
[MRG] Added _LearntSelectorMixin in BaseGradientBoosting
2014-03-19 08:19:01 +01:00
Gilles Louppe
71ce1d5ac7
DOC: the search for a split does not until one valid partition is found
2014-03-18 14:19:40 +01:00
maheshakya
ffb89eb3a2
Added _LearntSelectorMixin in BaseGradientBoosting
2014-03-13 23:46:23 +05:30
abhishek thakur
1d0da8a5bd
staged_predict predicts classes, not probabilites
2014-03-13 17:23:24 +01:00