Commit Graph

116 Commits

Author SHA1 Message Date
Thomas J. Fan 67a3feed2f
ENH Adds get_feature_names_out for AdditiveChi2Sampler (#22137)
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-08 15:02:18 +01:00
Thomas J. Fan d616e43947
ENH Adds feature_names_out for most of kernel_approximation (#22694) 2022-03-08 14:01:03 +01:00
Thomas J. Fan ff85a34c95
DOC Fix docstring for AdditiveChi2Sampler (#22138) 2022-01-28 13:26:56 +01:00
kxytim 6600994d84
FIX incorrect `component_indices_` in Nystroem (#20554)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-09-02 16:14:36 +02:00
genvalen 642127806a
DOC use backticks for n_samples and n_features in X docstring (#20914) 2021-09-02 13:35:03 +02:00
Thomas J. Fan baa90d4b08
API Adds feature_names_in_ to kernel_approximation (#20841)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-26 18:01:38 +02:00
Thomas J. Fan 416898b7f4
ENH Adds Column name consistency (#18010)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-17 14:48:21 +02:00
genvalen 6738563d79
DOC Ensures that SkewedChi2Sampler passes numpydoc validation (#20748) 2021-08-16 14:56:18 +02:00
genvalen 4ea5066d6b
DOC Ensures that PolynomialCountSketch passes numpydoc validation (#20747) 2021-08-16 14:55:16 +02:00
genvalen c289f07892
DOC Ensures that RBFSampler passes numpydoc validation (#20731) 2021-08-16 10:28:32 +02:00
genvalen 21eb4686c5
DOC Ensures that Nystroem passes numpydoc validation (#20730) 2021-08-11 11:47:35 +02:00
Reshama Shaikh 5088a40225
DOC fix indent in docstring of AdditiveChi2sampler (#20710)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-08 18:31:32 +02:00
Reshama Shaikh 137bfb381d
DOC Ensures that AdditiveChi2Sampler passes numpydoc validation (#20536)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-20 17:25:47 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Thomas J. Fan 9a13bdfaf1
MNT Adds black config and fixes formatting before black (#19031)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-06-12 17:14:09 +02:00
Guillaume Lemaitre 1cd282d600
DOC add n_features_in_ in the documentation (#20236) 2021-06-09 16:58:03 +02:00
Tom Dupré la Tour f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args (#20002)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
Thomas J. Fan 10a5a19d53
ENH Adds n_features_in_ checking in kernel_* (#18740)
* ENH Adds n_features_in_ checking in kernel_approximiation

* ENH Checks n_features_in in kernel_ridge
2020-11-20 13:45:39 -08:00
Laurenz Reitsam fdb9233f72
ENH Adding n_jobs to kernel_approximation.Nystroem (#18545)
* Update kernel_approximation.py

component_indices_ is not needed

* adding n_jobs to nystroem

* adding description for n_jobs for nystroem

* undo changes of component_indices_

* n_jobs: adding more detailed description
2020-10-12 16:58:22 -04:00
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