Commit Graph

96 Commits

Author SHA1 Message Date
Guillaume Lemaitre 21569e719c
TST Common test preserve dtype (#18054)
Co-authored-by: Sebastian Kießling <sebkies@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-09-08 10:13:53 +02:00
Albert Villanova del Moral 647fcb1ac1
DOC Fix A to uppercase in See Also docstring section (#18332) 2020-09-04 10:35:01 -04:00
Albert Villanova del Moral 875d32fe55
DOC Fix versionadded/versionchanged for 0.24 (#18312) 2020-09-01 10:51:01 +02:00
Daniel López daebcac781
FEA Add PolynomialCountSketch to Kernel Approximation module (#13003)
* Add Tensor Sketch algorithm

* Add user guide entry

* Add example

* Add benchmark

Co-authored-by: Christian Lorentzen <lorentzen.ch@googlemail.com>
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-08-18 08:44:20 +02:00
Katarina Slama 1349cd5365
DOC added missing attributes in SkewedChi2Sampler (#15514)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-18 09:43:29 +02:00
Archana Subramaniyan 3c0e30a847
DOC Update default values in kernel_approximation doc string (#17536)
Updated default values of parameter in kernel_approximation doc string
2020-06-08 17:59:56 -04:00
Mariam-ke aeffba3217
DOC Made required changes to kernel_approximation.py (#17473)
* updated file changes

* changed random state possible value

* changed random state possible value

* changed suggested changes

* changed suggested changes

* changed suggested changes

Co-authored-by: Mariam <mariam@Mariams-MacBook-Pro.local>
Co-authored-by: Mariam-ke <mariam.haji01@gmail.com>
2020-06-06 19:16:39 -04:00
Pierre Delanoue b568f203ed
[DOC Update random_state descriptions for Kernel Approximation (#16838) 2020-04-05 12:11:20 +02:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
Adrin Jalali 2467e1b84a
API make a few estimators' inits kw-only (#16474) 2020-02-20 22:48:28 +11:00
Sebastian Kießling 8666f570e4
[MRG] Add requires_positiv_X tag to AdditiveChi2Sampler (#16332)
* add tag requires postivie X

* add check_non_negative to additivechi2Sampler

* add test for right error message in additive chi2 sampler

* change test upon suggestion
2020-02-01 12:29:09 +01:00
judithabk6 6b646da89c
fix space missing around parameter in documentation (#16351) 2020-01-31 18:58:04 +01:00
judithabk6 c664df47cc
DOC ensure all attributes are documented for RBFSampler (#16276) 2020-01-31 16:46:23 +01:00
Natasha Borders 3ca653af12 DOC adding versionadded labels to several estimators (#15476) 2019-11-04 18:25:24 +11:00
Adrin Jalali 0eebade264 DOC docstring (shape= -> of shape) (#14640) 2019-10-02 20:54:32 -04:00
Andreas Mueller 03ea20db0f Fix mixin inheritance order, allow overwriting tags (#14884) 2019-09-05 10:13:30 +02:00
Venkatachalam N e55e37c4ac FIX Nystroem failing with precomputed kernel (#14706) 2019-08-28 14:43:48 -07:00
m-clare 95e7e2547e DOC adds Attribute documentation for AdditiveChi2Sampler (#14754) 2019-08-24 23:19:53 -04:00
Andreas Mueller 92af3dabbb MAINT simplify check_is_fitted to use any fitted attributes (#14545) 2019-08-13 22:09:07 +02:00
Tilen Kusterle a8efe00876 EXA Use return_X_y=True with load_digits where appropriate (#14359) 2019-07-14 17:10:54 +02:00
Thomas J Fan 2e7e06b78f [MRG] Doctest with print change only adjusts default options for doctest (#13991) 2019-06-01 10:53:45 +02:00
Clément Doumouro 01bc8b18ac FIX non deterministic behavior in SGD (#13422) 2019-04-04 21:31:09 +11:00
jeremiedbb e574990d1a [MRG] MNT Clean some deprecation stuff for 0.21 (#13443) 2019-03-21 15:55:32 +01:00
Andreas Mueller ab2f539a32 API: Estimator tags (#8022) 2019-02-23 22:54:41 +01:00
Nicolas Hug a50c03f975 [MRG] Add pprint for estimators - continued (#11705)
* add pprint for estimators

* strip color from length, add color option

* Minor cleaning, fixes, factoring and docs

* Added some basic tests

* Fixed line length issue

* fixed flake8 and added visual test for review

* Fixed test

* Fixed Python 2 issues (inspect.signature import)

* Trying to fix flake8 again

* Added special repr for functions

* Added some other visual tests

* Changed _format_function in to _format_callable

because callable() returns True also for class objects (which we want to
reprensent with their name as well anyway)

* Consistent output in Python 2 and 3

* WIP

* Now using the builtin pprint module

* pep8

* Added changed_only param

* Fixed printing when string would fit in less than line width

* Fixed printing of steps parameter

* Fixed changed_only param for short estimators

* fixed pep8

* Added some more description in docstring

* changed_only is now an option from set_config()

* Put _pprint.py into sklearn/utils, added tests

* Added doctest NORMALIZE_WHITESPACE where needed

* Fixed tests

* fix test-doc

* fixing test that passed before....

* Fixed tests

* Added test for changed_only and long lines

* typo

* Added authors names

* Added license file

* Added ellipsis based on number of elements in sequence + added increasinly aggressive repr strategies

* Updated whatsnew

* dont use increaingly aggressive strategy

* Fixed tests

* Removed LICENSE file and put license text in _pprint.py

* fixed test_base

* Sorted parameters dictionary for consistent output in 3.5

* Actually using OrderedDict...

* Addressed comments

* Added test for NaN changed parameter

* Update whatsnew

* Added example to set_config()

* Removed example

* Added example in gallery

* Spelling
2018-12-19 23:48:21 -05:00
Nicolas Hug 4e2da4af92 [MRG] Added FutureWarning in sgd models for tol parameter (#12399)
* Added ChangedBehaviorWarning in sgd models

if tol is None while max_iter is set

* Changed to FutureWarning and clarified None meaning

* Ignored warningin tests

* Ignore warnings in tests, round 2
2018-10-24 11:00:43 -04:00
Matthew Roeschke 5af272ac61 MNT Remove unused variables (#12230) 2018-10-22 12:48:40 +11:00
Andreas Mueller 0f94f2962b
MNT simple deprecations and removals for 0.21 (#12238)
Part of #11992.
These were all the things that seemed pretty straight-forward. It's actually a bit bulky but should still be easy to review, hopefully.
2018-10-11 14:56:37 -04:00
TakingItCasual f4e7d2b19a Converting http to https (3)... (#12302) 2018-10-05 18:50:31 +02:00
Olivier Grisel 40e6c43cb4
Joblib 0.12.2 (#11741)
* joblib 0.12.2

* Export _joblib's register_parallel_backend

* Use latest version of coverage
2018-08-03 12:34:25 +02:00
Adrin Jalali 3b24a4855d DOC Add AdditiveChi2Sampler example to docstring (#11651) 2018-07-31 21:43:35 +08:00
Nicolas Hug 813d7de9b4 DOC Added docstring checks for feature_selection, kernel_approximation and neighbors modules (#11421) 2018-07-20 08:24:39 +10:00
Adrin Jalali 888a018a38 DOC Nystroem example added to its class's docstring [See #3846] (#11483) 2018-07-16 09:17:30 +08:00
Adrin Jalali e23c6aea3b SkewedChi2Sampler example added to its class's docstring (#11479) 2018-07-12 14:27:08 -05:00
Adrin Jalali 9e1d9efad1 [MRG] RBFSampler example added to its class docstring [See #3846] (#11478)
* RBFSampler example added to its class docstring

* fix SGDClassifier repr
2018-07-12 14:25:59 -05:00
Andreas Mueller 896f9d97cf Fix handling of Nystroem params with a callable kernel (#9166) 2017-06-30 18:16:10 +02: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
Mathieu Blondel e2d011d953 Division. 2017-06-06 23:13:42 +09:00
Romain Brault 15b7d47a2f relax skewness assumption (#7573)
relax skewedness assumption

relax skewedness assumption

relax skewedness assumption

relax skewedness assumption

relax skewedness assumption

last corrections

whats_new

merge

complying whats_new

removed unnecessary _assert_X

increased coverage

relax skewness assumption

relax skewedness assumption

relax skewedness assumption

relax skewedness assumption

relax skewedness assumption

relax skewedness assumption

last corrections

whats_new

merge

complying whats_new

removed unnecessary _assert_X

increased coverage

remove cythonize.dat and merge

simplify tests

simplify tests
2017-05-18 14:17:10 -04:00
Milen Paskov 3a3637c571 [MRG+1] Misleading gamma description (#8699) (#8716)
[DOC] update description of gamma for kernel methods
2017-04-22 15:45: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
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
Raghav R V 71c004b555 REF Correct the reference link for additive chi squared sampler. 2015-06-21 07:24:18 +05:30
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Vinayak Mehta 6b5e63b899 Added Random Kitchen Sink reference 2015-03-02 11:16:03 +05:30
Olivier Grisel feceab6f62 FIX test for consistent handling on empty input data 2015-02-26 10:45:06 +01:00
Andreas Mueller 8db11a8c74 Make nystroem approximation robust to singular kernel. 2015-01-29 12:11:52 -05:00
Raghav R V abd31d2cad MAINT Make uniform the error raised for not fitted condition 2015-01-12 00:33:40 +05:30
Dougal J. Sutherland f0f26bce33 fix factor of 2 in RBFSampler; make test more rigorous
http://nbviewer.ipython.org/gist/dougalsutherland/11fd9895924c3c1aed19
demonstrates the problem in pictures.
2014-09-22 18:19:40 -04: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