Thomas J. Fan
1170f21ec4
MAINT Remove deprecated kwargs support in density ( #27925 )
2023-12-11 11:16:12 +01:00
Christian Lorentzen
3076f297cd
MNT replace log_logistic by logaddexp ( #27544 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-10-10 08:23:36 +00:00
Yao Xiao
a823012281
TST Extend tests for `scipy.sparse/*array` in `sklearn/utils/tests/test_extmath` ( #27262 )
2023-09-12 23:14:37 +05:00
Mateusz Sokół
702316c271
ENH Array API support for PCA ( #26315 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-07-13 16:58:06 -05:00
Adrin Jalali
42173fdb34
MNT add isort to ruff's rules ( #26649 )
2023-06-21 17:50:07 +02:00
Jérémie du Boisberranger
9be4d8d897
MAINT Remove outdated fixes ( #26442 )
2023-06-01 16:57:13 +02:00
Adrin Jalali
893d5accaf
MNT Update black to 23.3.0 ( #26110 )
2023-04-06 12:14:16 -04:00
Guillaume Lemaitre
b0bf2315a7
MAINT fix deprecation raised in scipy-dev build ( #25175 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-12-15 18:15:56 -05:00
Guillaume Lemaitre
86080bbd5f
ENH cartesian accepts mixed dtypes arrays ( #25067 )
...
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2022-11-29 17:02:41 +01:00
Mia Bajić
5d8a199462
API Deprecate the extra keyword arguments of utils.extmath.density ( #24523 )
...
Co-authored-by: Meekail Zain <34613774+Micky774@users.noreply.github.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-10-07 10:24:34 +02:00
Guillaume Lemaitre
02a4b34218
MAINT fix the way to call stats.mode ( #23633 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Meekail Zain <34613774+Micky774@users.noreply.github.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-08-05 09:09:39 +02:00
Srinath Kailasa
0c618b2910
ENH Add lapack driver argument to randomized svd function ( #20617 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-05-17 12:26:35 +02:00
Thomas J. Fan
1fc86b6aac
MNT Update black to stable version ( #22474 )
2022-02-15 11:36:26 +01:00
Juan Martin Loyola
0d343bb2d2
Replace assert_warns* with pytest context manager in sklearn/utilst/tests/* ( #20421 )
2021-06-30 23:57:16 +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
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
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
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
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
Roman Feldbauer
9b39c4c4d2
TST Fix unreachable code in tests ( #16110 )
2020-02-16 14:41:26 +01:00
Nicolas Hug
19ad136223
MNT Replace DeprecationWarning with FutureWarning ( #15080 )
...
* bruteforce renaming
* WIP
* WIP
* some more
* removed weird line
* update -Werror
* testiforest
* again
* Fixed some tests
* fixed some tests
* removed -Werror
* fixed test_docstring_param issue
* fixed some tests
* some more
* renamed to SklearnDeprecationWarning
* pep8
* updated docs
* pep8
* merge
* changed to FutureWarning
* fixes
* Update doc/developers/tips.rst
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
* avoid duplicates
* fixed warning for deprecations
* Still make CI break if DeprecationWarning isn't caught
* updated one warning
* fixed test
* fixed some renamings
* updated new dep warnings
* fixed bad import
* ignore warnings
* update again
* ignore futurewarning when walking packages
* Fixed test
* pep8
* Added whatsnew
2019-10-29 15:39:26 +01:00
Nicolas Hug
b92455a6b2
MAINT Deprecate all of utils.testing except all_estimators ( #15367 )
2019-10-28 17:28:56 +01:00
Thomas J Fan
4a95e33e63
MNT Make modules private in sklearn.datasets ( #15307 )
2019-10-27 17:17:23 -04:00
jeremiedbb
61add4d82b
ENH safe_sparse_dot work on 3D+ arrays ( #14538 )
2019-09-10 21:45:57 +02:00
Roman Yurchak
e3fe559a87
MAINT Deprecate utils.extmath.safe_min ( #14554 )
2019-08-02 14:16:54 -04:00
Adrin Jalali
19c068a2ec
MNT towards removing assert_equal, etc ( #14222 )
2019-07-01 09:13:32 -04:00
Roman Yurchak
cf9a740598
[MRG+1] Use astype(.., copy=False) when possible ( #11973 )
...
* Use astype(.., copy=False) when possible
* Use Use astype(.., copy=False) also in tests
* Fix CI
* Guillaume's comments
* Address review comments
* Add what's new
* Fix CI
* Lint
* Fix merge issues
* More merge conflict fixes
* Fix failing test
* Lint
* Use copy=True in cluster/hierarchical
* More fixes
2019-03-01 11:07:10 +01:00
Rohan Lekhwani
e0697b01a7
MNT Used scipy.special.expit for the inverse of the logit function ( #12931 )
2019-01-08 18:35:19 +11: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
Bartosz Michałowski
fa98a72dcc
MNT Replaced all occurrences of assert_true and assert_false with assert ( #12588 )
2018-11-28 09:16:26 +08:00
Hanmin Qin
43e3a02085
MNT Remove unused assert_true imports ( #12560 )
2018-11-11 11:08:37 +08:00
Yaroslav Halchenko
362cb3bcab
TST autoreplace assert_true(...==...) with plain assert ( #12547 )
2018-11-11 09:05:34 +08: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
ZJ Poh
adddf00433
[MRG] np.ones -> np.full ( #11628 )
2018-07-23 09:49:01 +02:00
Guillaume Lemaitre
5718466bb5
[MRG] ENH: Ignore NaNs in StandardScaler and scale ( #11206 )
2018-06-21 15:48:38 +02: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
Roman Yurchak
e8d8b8eeb0
TST: parametrize unit tests ( #11074 )
...
yield tests are deprecated in pytest and will be removed in pytest 4.0.
They all have been replaced by parametrize.
2018-06-08 14:59:33 +02:00
Roman Yurchak
d551227d97
ENH Add 64 bit indices support in csr_row_norms and inplace L2/L1 csr norm ( #9663 )
2017-09-05 18:35:44 +10:00
Sebastin Santy
dc43486806
Remove unused imports ( #9235 )
2017-07-01 05:57:54 -07:00
(Venkat) Raghav, Rajagopalan
1c1566edc5
[MRG + 1] ENH Ensure PCA and randomized_svd_low_rank don't upcast float to double ( #9067 )
...
* ENH Ensure randomized_svd_low_rank doesn't upcast float to double
* ENH ensure PCA does not upcase f32 to f64; (int is upcast to f32)
* ENH ensure that when input is of type int, the output is float32/64
* ENH prefer float64 over float32; Use float64 for int inputs
* Make sure int types are upcasted to float64; Address Olivier's comments
* FIX check only for 4 decimals when dtype is float32
* Fix spurious line removal
2017-06-21 17:53:15 +02:00
Naoya Kanai
6579220588
[MRG+1] Drop NumPy < 1.8 ( #8874 )
2017-06-07 17:06:06 +02:00
Naoya Kanai
bd0fc236e0
[MRG+1] MAINT drop SciPy < 0.13 ( #8854 )
...
Remove sklearn.utils.fixes functions that are not needed for scipy >= 0.13 and keep deprecated wrappers in other modules.
2017-06-02 23:36:33 +02:00
Clement Joudet
6252f99c16
[MRG+1] Fixing Math domain error on NMF due to numpy.dot ( #8765 )
...
* Fixing overflow error on NMF due to numpy.dot
2017-05-20 09:47:43 +02:00
Denis A. Engemann
8694278c02
FIX/MAINT: update my mail etc ( #8375 )
...
* update mail etc
* fix utf8
2017-02-16 19:21:26 +01:00