Commit Graph

74 Commits

Author SHA1 Message Date
Raghav R V a228016585 Leading underscores for warnings imported from sklearn.exceptions
in other modules where warnings are deprecated.

Prefix warnings imported from sklearn.exceptions instead of
suffixing to prevent showing both the suffixed warning
and the deprecated warning during tab completion.
2016-01-08 12:40:10 -05:00
Raghav R V 857cb09254 FIX/ENH Make the moved class resilient to the deprecation patching 2015-10-20 01:24:35 +02:00
Raghav R V 61ae8d56c4 MAINT move deprecated into deprecation.py 2015-10-19 22:35:36 +02:00
Raghav R V e3afc0e8c9 MAINT move custom error/warning classes into sklearn.exceptions
ENH NonBLASDotWarning -> EfficiencyWarning; Improve error message
DOC Add exceptions module to modules/classes.rst
MAINT Move ConvergenceWarning, UndefinedMetricWarning et al into exceptions
MAINT Remove ChangedBehaviorWarning from base
DOC/FIX Improve DataConversionWarning's docstring
2015-10-19 22:35:35 +02:00
Olivier Grisel 6966881328 MAINT use inspect.signature for introspection 2015-09-23 16:30:53 +02:00
Eric Larson cf2a875cd7 FIX: Fix for changing mode 2015-08-20 09:58:28 -04:00
banilo 3a82309d98 extend R^2 description 2015-07-12 01:25:52 +02:00
Joshua Loyal 9a4b75a7e3 ENH Document how to get valid parameters in set_params
Issue #4690
2015-06-11 23:25:57 +10:00
Andreas Mueller 6d4bcda876 ENH refactor OVO decision function, use it in SVC for sklearn-like decision_function shape 2015-06-05 13:14:45 -04:00
Olivier Grisel 1abb41a3ca DOC add comment for np.nan equality test in clone 2015-05-19 16:17:49 +02:00
Skipper Seabold 1bf81b1926 ENH: Avoid equality comparison for nans. 2015-05-18 11:40:47 -05:00
Andreas Mueller 669a4ea853 ENH add high-level estimator-validation function 2015-04-28 16:46:13 -04:00
Andreas Mueller d89c215013 Add tags to classifiers and regressors to identify them as such. 2015-03-31 19:59:49 -04:00
Raghav R V 24c0efd12f PEP8 Fix E112 and E113 errors 2015-01-08 04:00:28 +05:30
Lars Buitinck c453711bc6 MAINT big refactor of sklearn.cluster.bicluster
* Removed dead and useless code in the utils submodule;
* decoupled sklearn.base from the bicluster module (no more deep import);
* rewrote tests to test the API, not the implementation;
* added input validation to the get_submatrix method (but it still needs
  documentation, because I've no idea what to pass for data);
* got rid of the subdirectory when it turned out only one file was left.
2014-09-04 16:13:05 +02:00
Arnaud Joly c03b987a8a DOC typo + not forgetting single output case 2014-07-19 15:47:27 +02:00
Arnaud Joly 16870ffd46 ENH + DOC set a default scorer in the multiclass module 2014-07-19 15:13:23 +02:00
Andreas Mueller 67b8601314 Minor fixes in the docs 2014-06-07 16:38:53 +02:00
Noel Dawe e9d660d80c add sample_weight to base score and weight_boosting staged_score 2014-04-21 10:52:31 +02:00
Olivier Grisel 90ce739061 FIX: more robust skip of implicit constructor
Parameter introspection requires introspecting the keyword arguments of the
constructor of Python classes deriving from BaseEstimator.

This can be problematic for classes that do not override the default
constructor. Introspecting the implicit constructor used to raise a TypeError
but this is no longer the case in Python 3.4+. Hence with use a explicit check
for the implicit constructor prior to using inspection.
2014-03-26 11:06:15 +01:00
Joel Nothman ffd1e9aaa9 FIX remove confusing BaseEstimator.__str__ 2014-01-14 13:16:45 +11:00
Guilherme Trein 912d550f5c Fix exception message when cloning a estimator that does not implement 'get_params' method. 2013-12-08 23:16:23 -05:00
Lars Buitinck 7643f44d07 DOC add sklearn.base to generated docs
Fixes #1449.
2013-12-05 13:03:43 +01:00
Lars Buitinck 0d2c8c17e8 DOC improve biclustering docstrings
I had to figure out by experimentation what the methods were doing.
2013-09-30 12:33:24 +02:00
Lars Buitinck 2c48bad54a DOC improve docstrings in sklearn.base
These show up on almost all estimators!
2013-08-04 17:15:11 +02:00
Kemal Eren 9308d4a7de made bicluster utilities for dealing with indicator vectors 2013-07-25 19:19:22 +02:00
Kemal Eren 5ad0dfb69b wrote bicluster scoring using jaccard index and hungarian matching 2013-07-25 19:19:21 +02:00
Kemal Eren a591ff9310 fixed a few things in examples, documentation, and docstrings 2013-07-25 19:19:21 +02:00
Kemal Eren 871d92b6ee re-added bicluster mixin, this time with some functionality 2013-07-25 19:19:21 +02:00
Kemal Eren d53f470d55 removed empty mixin 2013-07-25 19:19:17 +02:00
Kemal Eren e0b64025b2 implement spectral biclustering and spectral co-clustering 2013-07-25 19:19:13 +02:00
Lars Buitinck edbeb6401e DOC pep257 + c/e in sklearn.base 2013-07-25 10:49:44 +02:00
Nelle Varoquaux b285bd02aa ENH better error message when estimators don't specify their parameters in the signature. 2013-07-22 15:58:45 +02:00
Justin Vincent 23a1a56a1e Comment change 2013-07-12 20:57:04 -04:00
Justin Vincent 6121367995 Pop off the recently added filter after testing for deprecation warnings. 2013-07-12 20:46:47 -04:00
Justin Vincent f1a40a4df4 Make the fixes 2.6 compatible 2013-07-10 16:01:10 -04:00
Justin Vincent 73e0492da9 Force warning to be heeded in deprecated args check. Possibly fixed a test bug (but maybe I just got it wrong) 2013-07-10 15:42:23 -04:00
Justin Vincent ef2cff1d33 Forcing the deprecation warnings to happen while in get_params. 2013-07-10 15:03:03 -04: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
Lars Buitinck 264a1f6b58 DOC fix clone and get_params documentation 2013-03-17 11:57:17 +01:00
Olivier Grisel 1967a0b323 P3K use six to have a python 2 & 3 compatible code base 2013-02-09 18:08:44 +01:00
Nelle Varoquaux 1271b4d2cd DOC: small fix in the regression's score method documentation 2013-01-28 17:20:37 +01:00
Andreas Mueller 68bfc9024d ENH don't return deprecated parameters by get_params. 2013-01-19 17:16:43 +01:00
Andreas Mueller d5ce8dced0 COSMIT pep8 2013-01-17 12:51:12 +01:00
Arnaud Joly 8d901badc5 ENH ClassifierMixin use a metrics from sklearn.metrics 2013-01-09 15:31:57 +01:00
Andreas Mueller 11cdef7e6d ENH common test that set_params returns self. 2013-01-09 09:27:53 +01:00
Andreas Mueller 050b78c7c3 ENH lazy import of metrics in base, not preprocessing in metrics. 2013-01-05 14:08:40 +01:00
Andreas Mueller e12c67306e cosmit pep8 2012-12-16 23:28:10 +01:00
Lars Buitinck ed1d5e244e DOC move implementation details on mixins to comments
If the default fit_transform or fit_predict is optimal for a given estimator,
then don't bother the user with the fact that it's the default.
2012-10-23 17:58:53 +02:00
Andreas Mueller f18295c8ae TST improve test-coverage in base, remove unreachable code-path 2012-10-07 22:25:06 +01:00