Commit Graph

79 Commits

Author SHA1 Message Date
Arnaud Rachez 5db2adf93c MAINT Removed deprecated stuff. 2015-10-21 10:24:23 +02:00
Raghav R V 882c346abd DOC Make cv documentation consistent across our codebase 2015-09-10 09:15:13 +05:30
Raghav R V 62325cbb58 MAINT merge _check_cv into check_cv as indices argument is removed in 0.17 2015-06-08 16:37:03 +05:30
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Andreas Mueller f369d3ab0f Fix RFE / RFECV estimator tags 2015-05-29 11:36:38 -04:00
Wei Xue c165327940 Add regression test for the number of subsets of features 2015-04-20 12:58:29 -04:00
Wei Xue 7bbf10a598 ENH optimize rfecv by eliminating the for loop 2015-04-20 12:27:31 -04:00
Vincent Michel 0f0e58d35e Fix RFE - Add the possibility to use feature_importances rather than coef_ when existing, see #2121 2015-04-02 14:56:48 +02:00
Wei Xue 17ee7dd79b DOC & COSMIT deprecate estimator_params in RFE and RFE_CV in docstring 2015-03-29 12:47:53 -04:00
Wei Xue 9f312a72b3 Correct warning messages and move warnings to fit method #4292 2015-03-10 10:47:15 -04:00
Wei Xue 08b97b32c2 Deprecate estimator_params in RFE and RFECV #4292 2015-03-09 16:45:46 -04:00
Andreas Mueller 9bc4de8dae some fixes for sphinx and in examples 2015-03-02 12:50:53 -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 41e2c10a9e rename decorator 2014-12-19 17:27:27 -05:00
Andreas Mueller 86f4ee1fa4 don't give names to decorators 2014-12-18 17:49:46 -05:00
Joel Nothman 94f37f43fa FIX ducktyping for meta-estimators 2014-12-18 17:48:56 -05:00
Joel Nothman 0597c23e85 TST/FIX ensure correct ducktyping for metaestimators 2014-12-18 17:48:56 -05:00
Nikolay Mayorov ad7e772422 Fixed a bug in RFECV when step != 1 2014-12-15 02:53:27 +03:00
Borja Ayerdi 5474983fd2 If step is explicitly zero or negative, raise a ValueError exception. 2014-11-27 18:23:25 +01:00
Borja Ayerdi 2fecf6facf Fix RFE n_features minimum value #3812 and make it simpler. 2014-11-24 18:05:00 +01:00
Borja Ayerdi 60cadce9d1 Fix RFE n_features minimum value #3812 2014-11-20 19:19:40 +01:00
Sam Nicholls 812242042a FIX Verbose message in RFE to count from 1, not 0 2014-08-07 21:35:37 +10: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
lesteve b12d1ac487 Remove deprecated 'score_func' and 'loss_func' parameters from sklearn.metrics.scorer.check_scoring. Amend the code in all the other places they were used. 2014-07-17 13:53:06 +01:00
Lagacherie Matthieu 9248948344 test case on rtfe grid_scores fix 2014-07-15 16:35:04 +02:00
MLG 85d39c3d0d Quick fix on grid_scores, updating final value with len(cv)
self.grid_scores_ = scores / len(cv)
2014-07-15 16:35:04 +02:00
staubda b8073a4e01 Improved documentation of the "estimator_params" argument for RFE and RFECV.
Changed the documentation for the "estimator_params" argument for both
RFE and RFECV to better indicate how it could be useful for doing a
grid search. Previously the documentation may have indicated that RFE
and RFECV would perform a grid search if "estimator_params" was passed
a grid of parameter values, which is not the actual behavior.
2014-05-27 10:44:58 -05:00
Mathieu Blondel d818519c13 Rename _split_with_kernel to _safe_split.
Kernels are not always used so I find this name better.
2014-01-16 12:43:16 +09:00
Alexander Fabisch aaa4f81b67 Rename '_split' to '_split_with_kernel' 2014-01-16 12:43:16 +09:00
Alexander Fabisch 64dbd450a4 Remove wrong variable names 2014-01-16 12:43:16 +09:00
Alexander Fabisch f95219f05d Clean up 2014-01-16 12:43:16 +09:00
Alexander Fabisch 526d1dd945 check_scorable returns scorer 2014-01-16 12:43:16 +09:00
Alexander Fabisch 37e7c0a1cf Refactor RFE and add _check_scorable 2014-01-16 12:43:15 +09:00
Joel Nothman d0c981fa1d MAINT deprecate indices=False for cross validation generators 2013-09-10 10:58:24 +02:00
Olivier Grisel b0035bf9e8 Rename cv_scores(_) back to grid_scores(_) to keep the name free for a future refactoring 2013-07-28 17:10:14 +02:00
Nelle Varoquaux 83e952dbd4 DOC fixed the optional arguments 2013-07-28 10:50:14 +02:00
Nicolas Trésegnie 45d65c1635 Fix 'scoring' docstrings 2013-07-28 10:45:44 +02:00
Nicolas Trésegnie 11dfe44b1b Add deprecation warnings in rfe 2013-07-28 10:45:44 +02:00
Lars Buitinck 9c162a86d2 ENH micro-optimize RFECV
Skip repeated indexing into X and y.
2013-06-30 15:50:57 +02:00
Daniel Velkov 11023d1443 Fix wrong argument name in RFECV docstring 2013-06-15 13:31:04 -06:00
Joel Nothman 9a8845e913 ENH Create FeatureSelectionMixin for shared [inverse_]transform code
Also rename FeatureSelectionMixin -> SelectorMixin -> _LearntSelectorMixin
And rename sklearn.feature_selection.{selector_mixin -> from_model}
2013-05-21 13:53:12 +10:00
Joel Nothman 489d294a87 ENH Feature selection should use CSC matrices 2013-05-07 22:31:23 +10:00
Robert Layton dacfd8bd5d DOC: Replaced all BSD style licenses with "BSD 3 clause"
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!

Removed duplicate "3 clause, 3 clause"

Removed trailing period if exists

Fixed some missed licences, still about 50 to do, but those can be automated

Think I got the last of them.

Apparently me and sed have different ideas of regex.

Found a few more
2013-04-30 08:34:46 +02:00
Olivier Grisel 1967a0b323 P3K use six to have a python 2 & 3 compatible code base 2013-02-09 18:08:44 +01:00
Andreas Mueller 71d00d94f4 ENH use an array instead of a dict in RFECV 2012-12-24 23:44:27 +01:00
Andreas Mueller 754c2d9533 COSMIT pep8 2012-12-22 16:48:17 +01:00
Lars Buitinck b4aa0cbca1 DOC RFE docstring + link RFECV in narrative docs 2012-09-17 20:16:38 +02: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