Commit Graph

61 Commits

Author SHA1 Message Date
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
Vlad Niculae 30e1597635 fit_transform in PLS to support y 2012-09-02 15:29:22 +03:00
Vlad Niculae f0585934d2 Support y-dependent transform as in PLS 2012-09-02 14:51:56 +03:00
Vlad Niculae 2769dbd770 Remove _get_params
This was scheduled for removal in 0.12.
2012-09-01 20:02:13 +02:00
Vlad Niculae d0efa6f6b3 Remove deprecated _set_params and the call in grid_search
This was added prior to 0.9 as far as I can tell.
2012-09-01 20:02:12 +02:00
Andreas Mueller d33c2ea26f COSMIT remove commented out score 2012-09-01 18:51:19 +02:00
Andreas Mueller 069936c627 ENH add ClassifierMixin with ``fit_predict`` and some tests. 2012-09-01 18:51:19 +02:00
Andreas Mueller 04d81608a1 ENH Add MetaEstimatorMixin, make RFE default constructible 2012-06-26 14:16:03 +02:00
GaelVaroquaux 1cf592ee2c BUG: make clone work on 2D arrays 2012-02-01 23:22:42 +01:00
Andreas Mueller b28e6e4671 ENH: Replace asserts by appropriate errors. Fixes the rest of issue #570. 2012-01-20 20:27:34 +01:00
Mathieu Blondel 8126e5fc61 Rename _get_params() to get_params(). 2012-01-17 15:06:09 +09:00
Olivier Grisel bbeec6d035 FIX: make sklearn.base.clone robust to empty params 2012-01-15 19:29:00 +01:00
Fabian Pedregosa 9d638ec41e DOC: complete docstring for regression score function 2012-01-10 15:13:35 +01:00
Andreas Mueller 5ed5da5f09 DOC score returns accuracy, not error 2012-01-04 21:58:19 +01:00