Commit Graph

89 Commits

Author SHA1 Message Date
Rüdiger Busche d300f406ae MAINT Simplify super() calls (#12812) 2019-01-10 22:27:06 +01:00
Andreas Mueller 952ef6637a MRG Drop legacy python / remove six dependencies (#12639) 2019-01-03 15:50:05 +02:00
Matthew Roeschke 5af272ac61 MNT Remove unused variables (#12230) 2018-10-22 12:48:40 +11:00
TakingItCasual f4e7d2b19a Converting http to https (3)... (#12302) 2018-10-05 18:50:31 +02:00
David Beach c34c5626aa MNT Fix bug in formatting of error message in random_projection.py (#11718) 2018-08-16 23:04:26 +08:00
Adrin Jalali 8a00e225cc DOC add random_projection examples to docstrings (#11801) 2018-08-15 09:45:41 +10:00
Joel Nothman c3bdc0a89a
DOC clean up assorted type specifications (#10441) 2018-01-11 09:11:17 +11:00
Jean Helie ac41281451 [MRG+1] Fix alerts found with lgtm (#9278)
* compare values rather than references

* add __ne__ to class

* add missing self parameter

* properly initialise child class using super()

* remove useless loop variables and assigments

* remove useless return statements

* respect PEP8 style

* fix another flake8 check
2017-07-05 17:22:21 +10:00
(Venkat) Raghav, Rajagopalan 763d93b72e [MRG+1] Do not transform y (#9180)
* we do not transform y

* more

* added Deprecation Warning to transform() to remove Y parameter

* more

* ENH ensure FunctionTransformer's transform/inverse_transform doesn't permit y

* Undo changes to pls_. It will be done in a separate PR (see #9160)

* flake8

* Update whatsnew

* Fully undo PLS changes
2017-06-22 23:24:12 +02:00
Alexandre Gramfort 04ac57e898 [MRG+1] y not needed in transform in Birch (#9066)
* y not needed in transform

* y not needed in transform

* more
2017-06-09 00:03:08 +02:00
Guillaume Lemaitre e3c9ae204f [MRG+1] DOC improve description and consistency of random_state (#8689)
* DOC improve description of random_state in train_test_split

* DOC Make random_state consistent through documentation

* FIX reverse doc mistake

* FIX address comment of Tom

* DOC address comments

* DOC remove empty line

* DOC remove unecessary white spaces
2017-04-05 17:43:21 -07:00
Loïc Estève e542efafe2 TST Ensure that attributes ending _ are not set in __init__ (#7464) 2016-12-12 21:57:43 +11:00
Joel Nothman 8570622a44 [MRG+1] DOC insert spaces before colons in parameter lists (#7920)
* DOC insert spaces before colons in parameter lists

Complies with numpydoc to improve rendering and automatic quality
assurance such as #7793. Affects listings of Parameters Attributes,
Returns.

Performed with the help of:

    grep -nE '^(    )+[a-zA-Z][a-zA-Z0-9_]*: ' sklearn -R | grep -v -e
    externals -e tests | grep -v -e default: -e else: -e Warning: -e Note:
    -e TRAIN: -e Default: -e True: -e False: -e DOI: -e In: | gsed
    's|\([^:]*\):\([0-9]*\):\([^:]*\):\(.*\)|--- a/\1\n+++ b/\1\n@@ -\2,1
    +\2,1 @@\n-\3:\4\n+\3 :\4|' | git apply --unidiff-zero -

* DOC fix numpydoc format for param
2016-11-25 10:59:22 +01:00
Nate George 9b25f5d37a Fix docs links (#7005)
* docs: fix broken and redirect links

see #7000

* docs: fix links

see #7000

* docs: merge with master

* docs: fix fnrs and tinyclues logo links

* docs: fix link reference in text

* docs: fix typo

* docs: added back in metaoptimize-qa paragraph

* docs: update language for defunct site

* docs: update stackexchange section

* docs: remove defunct site, move quora to top

* docs: remove defunct link and rearrange links
2016-07-27 16:58:25 -04:00
Rémy Léone 9b7176dd9d [DOC] Fix broken links 2016-03-23 12:45:34 -07: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
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Raghav R V abd31d2cad MAINT Make uniform the error raised for not fitted condition 2015-01-12 00:33:40 +05:30
Olivier Grisel fe553b755a ENH use specific warning class for RP 2014-11-18 14:55:56 +01:00
jnothman e1891d801b Merge pull request #3489 from jnothman/attributes-doc
[MRG] DOC fix formatting of Attributes sections in documentation
2014-08-02 20:14:53 +10:00
Arnaud Joly 9a6287b0e1 MAINT Fix regression random projections work sparse matrices 2014-07-30 18:34:26 +02:00
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10:00
Andreas Mueller c235c3b566 ENH add allowed_sparse named argument for @ogrisel 2014-07-20 15:31:28 +02:00
Andreas Mueller 6e2a83b4e1 remove check_arrays stuff and old input validation 2014-07-20 13:31:45 +02:00
Lars Buitinck e8bad3d24a DOC ASCII only in docstrings
As discussed on the mailing list.
2013-08-28 18:22:57 +02:00
Brooke Osborn 2eddb1a29f BUG fix whitespace in error messages
Partial fix for #2380.

Signed-off-by: Lars Buitinck <L.J.Buitinck@uva.nl>
2013-08-26 17:02:52 +02:00
Jaques Grobler 2ffb484adb COSMIT pep8 2013-05-04 10:43:39 +02: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
Mikhail Korobov eae18a3784 PY3 fix metaclasses. See #1829. 2013-04-04 01:07:20 +06:00
Andreas Mueller 1d958b222e FIX don't compare strings with "is". that is really not robust! 2013-02-20 21:25:32 +01:00
Lars Buitinck 541987802f P3K range vs. xrange 2013-02-14 02:05:35 +01:00
Arnaud Joly aa61247587 Typo 2013-01-10 14:06:06 +01:00
Arnaud Joly bb1b795b2d COSMIT (don't change anything see sparse_random_matrix) 2013-01-09 18:54:09 +01:00
Arnaud Joly 38868a6abf DOC add default values 2012-12-23 12:53:49 +01:00
Arnaud Joly 8340489b41 ENH make jl lemma work even with non numpy array 2012-12-23 12:53:49 +01:00
Arnaud Joly 2d4624d67b DOC + FIX density to Ping and al. recommandation 2012-12-23 12:53:49 +01:00
Arnaud Joly 8931e67bb5 DOC improve + fix mistakes + TST added 2012-12-21 14:48:01 +01:00
Arnaud Joly 7732a5f49e pep8 2012-12-21 14:48:01 +01:00
Arnaud Joly 918d337f5b DOC add see also 2012-12-21 14:48:01 +01:00
Arnaud Joly 616e2b5d64 ENH Rename Bernoulli random projection to sparse random projection 2012-12-21 14:48:01 +01:00
Arnaud Joly 12c8d3be79 ENH Rename Bernoulli random projection to sparse random projection 2012-12-21 14:48:01 +01:00
Arnaud Joly 311faa5947 typo 2012-12-21 14:48:01 +01:00
Arnaud Joly a75a3dd2d2 DOC improve doc for jl lemma function 2012-12-21 14:48:01 +01:00
Arnaud Joly 114e3fa3fb Remove unused line 2012-12-21 14:48:00 +01:00
Arnaud Joly a08b3c116f COSMIT 2012-12-21 14:48:00 +01:00
Arnaud Joly a7ea4eef22 pep257 + COSMIT: naming consistency 2012-12-21 14:48:00 +01:00
Arnaud Joly 7af51768fe DOC improve layout (url) 2012-12-21 14:48:00 +01:00
Arnaud Joly 980600b67e ENH refactor matrix generation BaseRandomProjectiona and subclass 2012-12-21 14:48:00 +01:00
Arnaud Joly a6ed58dc4d ENH flatten random_projection module + add sklearn.utils.random 2012-12-21 14:48:00 +01:00
Arnaud Joly f014ed52db ENH optim sparse bernouilli matrix 2012-12-21 14:34:23 +01:00