MechCoder
80e22b3ddf
Patch liblinear for sample_weights in LogisticRegression(and CV)
2015-10-23 00:00:31 -04:00
MechCoder
bb2acedac9
AdaBoostRegressor should not raise errors if the base_estimator
...
does not support sample_weights
2015-09-06 23:30:37 -04:00
Gael Varoquaux
190abde442
Merge pull request #4881 from sonnyhu/weighted_least_squares
...
[MRG + 1] add sample_weight into LinearRegression
2015-08-30 16:35:00 +01:00
Sonny Hu
a88f6ecf9d
add sample_weight into LinearRegression
2015-08-13 14:32:07 -04:00
Raghav R V
664d78eb7c
MAINT Remove support for the deprecated sequence of sequences
...
MAINT Remove sequence of sequence support from datasets
MAINT Remove return_indicator param
MAINT Remove multilabel-seq test in OVR
MAINT Remove multilable-seq test in check_cv
MAINT Remove multilabel seq test in label_binarizer
TST type_of_target returns "unknown" for multilabel-sequence types
TST _check_targets should raise a ValueError
DOC show multilabel indicator as an example; remove return_indicator param
DOC use consistent lower case y for target
2015-08-11 22:26:44 +05:30
Stephen Hoover
0156dcf114
BUG Use epsilon threshold in `_samme_proba` and `_boost_real`
...
Instead of thresholding <0 probabilities to 1e-5, threshold <epsilon to epsilon. This avoids the issue of, e.g., probability values of 0 becoming larger than values of 1e-7.
Add a unit test for `_samme_proba` which checks that probability ordering is unchanged.
Resolves issue #4944 .
2015-07-12 13:34:40 -05:00
Andreas Mueller
a8626b36a6
TST/COSMIT remove nose call boilerplate
2015-05-28 14:54:01 -04: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
Lars Buitinck
5b90e97ebf
TST remove SVR(probability=True) from AdaBoost tests
...
Doesn't seem to have been testing anything, because CustomSVR doesn't
have predict_proba.
2014-12-17 10:37:33 +01:00
Lars Buitinck
ee53f51f15
TST stronger non-regression test for #3815
...
Also fixed the testing imports.
2014-11-17 23:00:33 +01:00
Matti Lyra
248a5037f6
Fixed issue 3815. Discrete AdaBoostClassifier now fails early if the base classifier if worse than random.
2014-11-07 13:42:19 +00:00
akshayah3
4d94392b49
Added _check_sample_weight
2014-09-28 19:23:36 +05:30
akshayah3
16bc265ed8
dded tests to test_boosting
2014-09-28 14:58:55 +05:30
Lars Buitinck
c9789c7edf
COSMIT clean up tests with pyflakes
...
test_ridge.py contained two duplicate functions.
2014-07-22 16:10:16 +02:00
Olivier Grisel
46c1c0ac82
MAINT faster test_weight_boosting
2014-07-17 17:09:21 +02:00
hamsal
32f006914f
Fixed paramaters to make_multilabel_classification and make_regression to keep tests under 1 second, reformated some blank lines
2014-06-03 11:25:59 -04:00
hamsal
bb752bd70e
Remove exectuable permision bit
2014-06-02 20:30:38 -04:00
hamsal
483796ca75
Fix score function parameter mistake in test_weighted_boosting
2014-06-02 20:13:49 -04:00
hamsal
e7eb17c3d4
Assert sample weight negative sum value error, add authors entry
2014-06-02 20:13:48 -04:00
hamsal
ecba04f057
Included testing of the all of the predict/score functions of AdaBoost
2014-06-02 20:13:48 -04:00
hamsal
fef730a36f
Revied test_sparse_{regression,classification} to use make_multilabel_classification, revised import statements to adhere to one name per import conventions
2014-06-02 20:13:48 -04:00
hamsal
9e7351dd2e
Removed prints statements used for debugging
2014-06-02 20:13:48 -04:00
hamsal
63934fbd86
Revised recuring import statement to respect conventions
2014-06-02 20:13:48 -04:00
hamsal
ea8f1945f8
In functions def test_sparse_classification() and test_sparse_regression() added tests for coo, lil, and dok sparse matricies. Removed parameter set feautre since there are not parameters that alter sparse/dense data usage. Revised data set to use dataset.make_{regression/classification} for improved test time.
2014-06-02 20:13:48 -04:00
hamsal
04b73a45c4
Included sprse testing functions test_sparse_classification() and test_sparse_regression() in test_weighted_boosting.py, based on the corresponding testing functions found in test_bagging.py
2014-06-02 20:13:48 -04:00
Noel Dawe
3965205f67
weight_boosting: include sample_weight in test_staged_predict
2014-04-21 10:52:32 +02:00
Jacques Kvam
ed928ad983
Remove superfluous AdaBoostRegressor call.
2014-02-11 23:41:31 -08:00
Joel Nothman
dbc26ce996
COSMIT remove unused imports and variables
2014-02-03 19:43:56 +11:00
Gilles Louppe
ccb7a6eb2a
TST: fix random_state in test_weight_boosting
2013-09-11 13:51:12 +02:00
Gilles Louppe
94bd0e9a31
BUG: do not force base estimators to inherit from sklearn in AdaBoost
2013-09-11 13:51:12 +02:00
Gilles Louppe
74d395215b
ENH bagging meta-estimator
2013-09-11 13:51:09 +02:00
Justin Vincent
d420aafb0f
TST + PY3 various fixes
...
* Little hack in fixes.py that can be removed when NumPy's
https://github.com/numpy/numpy/issues/3484 is fixed.
* Little cleanup to the fixes implementation.
* Change the numpy workaround and added a test. Fixed some xrange usage.
* Fix the weight boosting test.
* None is not comparable in python3
* Fix a test that depended on dictionary iteration order.
* Python3 removed execfile
* More test fixes.
Fixes #2122 .
2013-07-05 20:17:23 +02:00
Lars Buitinck
ac3801648a
TST + DOC AdaBoostClassifier.predict_proba fix
2013-05-17 17:20:36 +02:00
Lars Buitinck
10ee464177
TST strengthen AdaBoost tests
2013-04-26 12:11:19 +02:00
Jim Holmström
e5cc09de2a
Added random_state=0 for AdaBoostRegressor
2013-04-26 12:04:17 +02:00
Andreas Mueller
2297306edf
COSMIT pep8
2013-02-08 22:10:40 +01:00
Gilles Louppe
a54809edcc
Merge pull request #1657 from glouppe/feature-importances
...
[MRG] Remove compute_importances
2013-02-07 12:05:32 -08:00
Gilles Louppe
f7f5424464
Remove compute_importances parameter
2013-02-05 16:19:32 +01:00
Andreas Mueller
7d4034a21c
COSMIT removed unused imports, fixed error message in test of boosting
2013-02-04 20:53:20 +01:00
Gilles Louppe
8ecc50458e
FIX: some of Gael comments
2013-02-03 18:45:33 +01:00
Noel Dawe
f04e36823f
fix importance test and test both SAMME and SAMME.R algs
2013-02-02 20:27:21 +01:00
Gilles Louppe
3d89ae17e3
ENH: remove boost_method parameter and use a string as switch
2013-01-23 08:53:49 +01:00
Gilles Louppe
e335f646fe
Cleanup
2013-01-11 21:11:20 +01:00
Gilles Louppe
03f67a5a52
ENH: set default parameter values
2013-01-11 21:08:44 +01:00
Gilles Louppe
493f972cae
Cosmits, code structure and tests
2013-01-11 14:14:40 +01:00
Gilles Louppe
de392c2299
FIX: @amueller comments
2013-01-11 13:33:51 +01:00
Gilles Louppe
fe1acac676
FIX: broken test
2013-01-11 13:23:04 +01:00
Noel Dawe
4aea9a8d90
combine real and discrete algorithms under one class
2013-01-11 01:12:53 -08:00
Noel Dawe
534831b818
update adaboost hastie example and weight_boosting tests
2013-01-11 00:13:57 -08:00
Noel Dawe
e024e81124
Make BaseWeightBoosting abstract and other misc changes
2013-01-08 22:20:56 -08:00