Commit Graph

35 Commits

Author SHA1 Message Date
Lars Buitinck b77804dcb4 BUG NaN handling in SelectPercentile and SelectKBest
Including non-regression test.
2012-10-16 12:53:27 +02:00
Lars Buitinck 19a1a41379 ENH perform feature selection on scores, not p-values, when possible
More stable in the case of chi2; allows for feature selectors that do not
perform significance tests.
2012-10-04 12:13:50 +02:00
Lars Buitinck 2e48248531 COSMIT + DOC univariate feature selection
rm deprecated properties
input validation in SelectPercentile
use super()
docstring fixes
2012-09-18 14:38:52 +02:00
Andreas Mueller 66c8a706d2 ENH fix percentile tiebreaking, add warning 2012-09-17 21:40:58 +01:00
Lars Buitinck ae24236681 BUG allow array-like y in RFE
+ cosmit: use np.ravel to flatten np.matrix
2012-09-17 19:37:19 +02:00
Andreas Mueller 57574dc031 ENH issue 1115: grid search support for rfe via ``estimator_params`` 2012-09-12 20:09:58 +01:00
Andreas Mueller e14dd67d1b ENH address issue 1028: clone estimator in RFE 2012-09-12 20:09:58 +01:00
Andreas Mueller eb89d5a173 FIX Worst feature in RFECV missing. closes issue #681. 2012-08-26 18:34:15 +02:00
Andreas Mueller bef749b4e8 ENH sparse matrix support for RFE and RFECV. Closes issue #1018. 2012-08-16 18:05:16 +01:00
Andreas Mueller fc3cdc7472 TST Simplified tests, test that sparse and dense versions give the same result, always return arrays, not matrices. 2012-08-16 17:51:00 +01:00
Andreas Mueller c520275f06 ENH sparse matrix support in univariate feature selection 2012-08-16 17:50:59 +01:00
Mathieu Blondel 80745240da Test default input. 2012-07-24 22:31:29 +09:00
Lars Buitinck 4701319d9c TST: improve coverage of feature_selection.SelectorMixin 2012-07-24 12:40:54 +02:00
Andreas Mueller 1ebcc4a486 COSMIT pep8 2012-05-15 21:18:30 +02:00
Gael Varoquaux 065b905aed BUG: casting error with recent numpys 2012-05-12 00:02:30 +02:00
Andreas Mueller eeb6dcc4cc ENH use random states everywhere, never call np.random. 2012-05-06 18:35:14 +02:00
Andreas Mueller 3e5f2e5e08 ENH backport "assert_less" and "assert_greater", rename "assert_lower" and use it everywhere :) 2012-05-06 15:43:29 +02:00
Andreas Mueller 77954f292e FIXed many tests 2012-05-05 21:57:04 +02:00
Lars Buitinck 258f19383c BUG ensure that SelectKBest actually selects k features
Fixes Issue #805
2012-04-30 17:25:13 +02:00
Lars Buitinck b17a82023c ENH export f_oneway from feature_selection module
+ import in test as a user would
2012-04-30 17:10:55 +02:00
Lars Buitinck b22eb2ac9c BUG chi² feature selection didn't work for COO matrices
Reported via StackOverflow, http://stackoverflow.com/q/10373317/166749
2012-04-30 14:32:32 +02:00
Alexandre Gramfort eb9ad47594 ENH : speed up f_regression 2012-03-29 15:21:08 +02:00
Satrajit Ghosh 239039c84c tst: added test for feature selection. this test would have failed in the previous case. closes #727 2012-03-26 09:59:07 -04:00
Alexandre Gramfort ad8e4912cb TST: use assert_true instead of assert + remove some relative imports 2012-02-11 15:43:03 +01:00
Alexandre Gramfort f0dc6116ad API: set scale_C to True by default in libsvm/liblinear models 2012-02-11 14:42:47 +01:00
Andreas Mueller aa3a161087 COSMIT pep8 2012-02-01 22:32:17 +01:00
Mathieu Blondel 362852add6 Better default threshold for L1-regularized models. 2012-01-25 18:34:41 +09:00
Mathieu Blondel 77d83b61f9 Remove CoefSelectTransformerMixin and use SelectorMixin instead.
This fixes issue #518.
2012-01-25 18:04:27 +09:00
Andreas Mueller b0d10fc9c2 COSMIT: more pep8. enough for today... 2011-11-29 00:03:19 +01:00
Olivier Grisel 78dd8b5626 batch trailing spaces cleanup 2011-09-06 23:12:26 +02:00
Gilles Louppe a03f8362c0 Improved test coverage to 100% 2011-09-04 14:21:50 +02:00
Gilles Louppe 769714e9ea Merge remote-tracking branch 'upstream/master' 2011-09-03 17:28:04 +02:00
Fabian Pedregosa ddf4b72109 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
Fabian Pedregosa 68f27e3790 Revert "Move project directory from scikits.learn to sklearn"
This reverts commit fd0d3b879d.
2011-09-02 12:03:18 +02:00
Fabian Pedregosa fd0d3b879d Move project directory from scikits.learn to sklearn 2011-09-02 11:38:24 +02:00