Jérémie du Boisberranger
34f9dbf541
MNT Clean fixes and compat for old versions of our dependencies ( #22642 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-02 11:32:06 +01:00
Thomas J. Fan
1fc86b6aac
MNT Update black to stable version ( #22474 )
2022-02-15 11:36:26 +01:00
Sultan Orazbayev
cd892f9688
DOC use the arxiv directive in the docstrings ( #21418 )
...
Co-authored-by: aufarkari <aufar.di.sini@gmail.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-28 17:55:55 +01:00
AJ Druck
6447ec5964
DOC Ensures randomized_range_finder passes numpydoc validation ( #22069 )
2021-12-24 08:01:26 -05:00
Rishabh
8cfbc38ab8
DOC Ensures that extmath.cartesian passes numpydoc validation ( #21513 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-11-02 12:02:58 +01:00
Thomas J. Fan
d1285a9232
DOC Adds missing imports into examples and test them ( #21186 )
2021-09-29 13:51:33 +02:00
Dimitri Papadopoulos Orfanos
f71c031314
DOC Typos found by codespell ( #21069 )
2021-09-17 19:04:54 +02:00
Thomas J. Fan
f812e2a276
ENH Improves memory usage for standard scalar ( #20652 )
2021-08-05 18:32:16 +02:00
Thomas J. Fan
351ace7935
STY Uses black's with target_version >= 3.7 ( #20294 )
2021-06-17 15:50:27 -04:00
Thomas J. Fan
82df48934e
MNT Applies black formatting to most of the code base ( #18948 )
2021-06-17 14:21:09 -04: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
Sylvain Marié
bf0886bae0
[MRG after #12145 ] Add "Randomized SVD" solver option to KernelPCA for faster partial decompositions, like in PCA ( #12069 )
...
Co-authored-by: Sylvain MARIE <sylvain.marie@se.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
2021-04-27 16:06:10 +02:00
Jérémie du Boisberranger
684b7d1955
FIX detect near constant feature in StandardScaler and linear models ( #19788 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-04-14 13:34:22 +02:00
cliffordEmmanuel
77e998db35
ENH Deprecated the default random_state=0 in randomized_svd ( #19670 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: cinbez <cindyb@lightstone.co.za>
2021-03-15 12:22:16 +01:00
Norbert Preining
8066086a85
MNT Consolidate _incremental_weighted_mean_and_var into _incremental_mean_and_var ( #19422 )
2021-02-10 16:37:14 +01:00
Rishi Advani
b474b40969
Modify randomized_svd random_state default in doc ( #18564 )
...
The documentation for the
`utils.extmath.randomized_svd` function lists
`None` as the default value for the `random_state`
parameter. However, the implementation has `0` as
the default value. This commit modifies the
function's documentation to reflect the default
value in the implementation.
2020-10-08 20:58:57 +02:00
Maria Telenczuk
64697c665f
MRG Sample weight for StandardScaler ( #18510 )
2020-10-07 10:10:30 +02:00
Maria Telenczuk
ca0065d3bf
BUG exchanging _safe_accumulator_op for np.average ( #18537 )
2020-10-06 17:14:28 +02:00
Albert Villanova del Moral
3bb138f879
ENH Incremental weighted mean and var ( #18447 )
...
Co-authored-by: Piotr Gaiński <dociebieaniuszlem@gmail.com>
2020-10-01 23:55:41 +02:00
N. Haiat
6a9fe2a48c
DOC Fix docs for default values in sklearn.utils.extmath ( #18399 )
2020-09-17 13:17:08 -04:00
Frans Larsson
e103b53b8d
DOC Fix default values for utils.extmath.py ( #18295 )
2020-08-31 12:48:31 +02:00
Henry
eff1bdf3ee
DOC Add note on the max number of extmath.cartesian arguments ( #16406 )
...
Co-authored-by: Henry <hlc5v@virginia.edu>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-08-07 22:31:03 +02:00
Deeksha Madan
58d74c10a6
Replaces array_like with array-like ( #17463 )
...
* replacing array_like with array-like
* Replacing array_like with array-like
2020-06-06 12:27:11 -04:00
Nicolas Hug
1931e142ed
Remove deprecated utils ( #17133 )
2020-05-20 22:03:54 +02:00
Thomas J Fan
e770715c43
MNT Completes position arg deprecation ( #17272 )
...
* ENH Adds public functions with position args warning
* BUG Circlar import
* STY
* BUG Add keywords
* BUG Fixes warnings
* ENH Adds other public functions
* CLN Suggestion
* CLN Suggestion
* REV Revert pairwise
* ENH Positoinal args for compute_class_weight
2020-05-19 09:07:25 +02:00
Nicolas Hug
226e5c478d
MNT Use Vt instead of V as returned by svd() ( #17100 )
2020-05-05 19:52:07 +02:00
Fabiana
872468f0ac
DOC improve random state docsting for extmath module ( #16239 )
2020-01-27 22:14:24 +01:00
jeremiedbb
61add4d82b
ENH safe_sparse_dot work on 3D+ arrays ( #14538 )
2019-09-10 21:45:57 +02:00
Thomas J Fan
14f5302b70
DOC Link items explictly ( #14817 )
...
* DOC Link items explictly
* STY
* DOC Link another
2019-09-05 11:37:05 +02:00
Roman Yurchak
e3fe559a87
MAINT Deprecate utils.extmath.safe_min ( #14554 )
2019-08-02 14:16:54 -04:00
Stephen Cowley
612a04e4e4
DOC Fix more formatting inconsistencies ( #13787 )
2019-05-05 22:05:58 +08:00
Masstran
e850e7afb4
DOC typo in sklearn.utils.extmath.weighted_mode ( #13655 )
...
1.5+2 = 3.5, not 3.
2019-04-16 20:41:53 +10:00
surgan12
62d2059804
MNT remove __future__ imports ( #12791 )
2019-02-02 22:05:06 +08:00
Raf Baluyot
1f5bcaeb39
FIX float16 overflow on accumulator operations in StandardScaler ( #13010 )
2019-01-26 18:15:18 +01:00
Andreas Mueller
952ef6637a
MRG Drop legacy python / remove six dependencies ( #12639 )
2019-01-03 15:50:05 +02:00
Adrin Jalali
2bd87f6ed8
Remove python < 3.5 from CI ( #12746 )
2018-12-14 10:53:12 +01:00
bauks
a1d0e96791
FIX Increase mean precision for large float32 arrays ( #12338 )
2018-10-16 09:08:39 +02: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
74b56dbc57
MNT Converting http to https ( #12277 )
2018-10-04 22:37:57 +08:00
Roman Yurchak
e0e7387606
Remove unused private functions ( #12253 )
2018-10-03 21:08:17 -04:00
ZJ Poh
adddf00433
[MRG] np.ones -> np.full ( #11628 )
2018-07-23 09:49:01 +02:00
Nicolas Hug
6d15840432
DOC Fixed doc issues for utils module ( #11445 )
2018-07-22 15:23:11 +10:00
Andreas Mueller
8e2c2aa35d
raise DeprecationWarnings and FutureWarnings as errors ( #11570 )
...
Towards #11252 .
In the end we'd like to make these errors so we can keep this cleaner in the future.
2018-07-17 15:31:45 -05:00
Lucija Gregov
f43dd0e650
ENH Ignore and pass-through NaN values in MaxAbsScaler and maxabs_scale ( #11011 )
2018-06-23 19:15:01 +10:00
Guillaume Lemaitre
5718466bb5
[MRG] ENH: Ignore NaNs in StandardScaler and scale ( #11206 )
2018-06-21 15:48:38 +02:00
Joel Nothman
14764061f8
[MRG] DOC fix some sphinx warnings ( #11241 )
2018-06-21 20:43:21 +10:00
Scott Gigante
56dc3742e0
Add sparse efficiency warning to randomized_svd for dok_matrix / lil_matrix ( #11264 )
2018-06-17 14:25:30 +00:00
Joel Nothman
b5cf50c3f7
DOC specify 'of floats' in softmax ( fixes #11226 )
2018-06-14 10:31:27 +10:00
Loïc Estève
20661b5018
TST: only run doctests on numpy 1.14. ( #10835 )
...
Fix doctests due to numpy 1.14 formatting changes.
2018-03-27 07:44:40 +02:00
Hanmin Qin
32ac22870d
[MRG+1] Fix warnings in lgtm.com (remove redundant code) ( #9719 )
2017-09-14 11:42:58 +02:00