Gilles Louppe
|
1784bf3f26
|
Merge pull request #5863 from trevorstephens/cw_util_fix
[MRG] Fix for missing classes found in y - Fixes #4327
|
2016-02-11 11:42:47 +01:00 |
seales
|
0485ada58b
|
General spelling fixes
|
2015-12-16 09:46:42 -08:00 |
trevorstephens
|
2738d59ab4
|
fix for missing classes found in y #4327
|
2015-11-16 16:36:01 -08:00 |
Andrew Lamb
|
9ec03c276f
|
Change formatting of `assert_raise_message`.
|
2015-09-13 09:16:25 -07:00 |
Andrew Lamb
|
f01a695ca8
|
Fix assertion for Python 3, use `assert_raise_message`.
|
2015-09-12 11:48:41 -07:00 |
Andrew Lamb
|
581056774a
|
Fix check in `compute_class_weight`.
In https://github.com/scikit-learn/scikit-learn/issues/4921, if a key in `class_weights`, a user-specified dictionary of classes, is not present in `classes`, an error should be raised.
Added unittest.
|
2015-09-12 10:19:24 -07:00 |
Andreas Mueller
|
2ddb503b59
|
Cosmit readability improvements and better whatsnew.
|
2015-06-01 12:56:21 -04:00 |
Andreas Mueller
|
eedc1cddab
|
Use more natural class_weight="auto" heuristic
|
2015-06-01 12:49:53 -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 |
trevorstephens
|
f2431db3ec
|
add test for None class_weights
|
2015-02-05 07:42:13 -08:00 |
trevorstephens
|
965bf51636
|
use safe in1d, use compute_sample_weight in ridge
|
2015-02-01 14:28:01 -08:00 |
trevorstephens
|
c5fadff91c
|
add compute_sample_weight util
|
2015-01-31 18:26:41 -08:00 |
Lars Buitinck
|
b97fb3c5fc
|
MAINT drop support for NumPy < 1.6.1
|
2014-03-02 20:13:57 +01:00 |
Manoj-Kumar-S
|
566237dbab
|
FIX: Label encoding done in compute_class_weight
Changed API such that weight[i] corresponds to sorted_weight[i].
|
2014-03-01 17:04:55 +01:00 |
Andreas Mueller
|
ffad26a299
|
FIX compute_class_weight edge case
|
2013-03-06 23:41:24 +01:00 |
Lars Buitinck
|
dc2c5c42c9
|
FIX + TST + DOC compute_class_weight
Fixes #1746, #1747. Bug reported and fix proposed by @gatagat.
|
2013-03-06 22:59:02 +01:00 |
Lars Buitinck
|
6bf90fe436
|
TST compute_class_weight in utils
|
2013-03-06 21:35:54 +01:00 |