Enhancement sklearn.utils.estimator_html_repr dynamically adapts
diagram colors based on the browser’s prefers-color-scheme, providing
improved adaptability to dark mode environments.
#26862 by Andrew Goh Yisheng, Thomas Fan, Adrin
Jalali.
Enhancement MetadataRequest and
MetadataRouter now have a consumes method
which can be used to check whether a given set of parameters would be consumed.
#26831 by Adrin Jalali.
Enhancement Make sklearn.utils.check_array attempt to output
int32-indexed CSR and COO arrays when converting from DIA arrays if the number of
non-zero entries is small enough. This ensures that estimators implemented in Cython
and that do not accept int64-indexed sparse datastucture, now consistently
accept the same sparse input formats for SciPy sparse matrices and arrays.
#27372 by Guillaume Lemaitre.
Fix sklearn.utils.check_array should accept both matrix and array from
the sparse SciPy module. The previous implementation would fail if copy=True by
calling specific NumPy np.may_share_memory that does not work with SciPy sparse
array and does not return the correct result for SciPy sparse matrix.
#27336 by Guillaume Lemaitre.
Fix check_estimators_pickle with
readonly_memmap=True now relies on joblib’s own capability to allocate
aligned memory mapped arrays when loading a serialized estimator instead of
calling a dedicated private function that would crash when OpenBLAS
misdetects the CPU architecture.
#27614 by Olivier Grisel.
Fix Error message in check_array when a sparse matrix was
passed but accept_sparse is False now suggests to use .toarray() and not
X.toarray().
#27757 by Lucy Liu.
Fix Fix the function check_array to output the right error message
when the input is a Series instead of a DataFrame.
#28090 by Stan Furrer and Yao Xiao.
API Change sklearn.utils.extmath.log_logistic is deprecated and will be removed in 1.6.
Use -np.logaddexp(0, -x) instead.
#27544 by Christian Lorentzen.
Code and documentation contributors
Thanks to everyone who has contributed to the maintenance and improvement of
the project since version 1.3, including:
101AlexMartin, Abhishek Singh Kushwah, Adam Li, Adarsh Wase, Adrin Jalali,
Advik Sinha, Alex, Alexander Al-Feghali, Alexis IMBERT, AlexL, Alex Molas, Anam
Fatima, Andrew Goh, andyscanzio, Aniket Patil, Artem Kislovskiy, Arturo Amor,
ashah002, avm19, Ben Holmes, Ben Mares, Benoit Chevallier-Mames, Bharat
Raghunathan, Binesh Bannerjee, Brendan Lu, Brevin Kunde, Camille Troillard,
Carlo Lemos, Chad Parmet, Christian Clauss, Christian Lorentzen, Christian
Veenhuis, Christos Aridas, Cindy Liang, Claudio Salvatore Arcidiacono, Connor
Boyle, cynthias13w, DaminK, Daniele Ongari, Daniel Schmitz, Daniel Tinoco,
David Brochart, Deborah L. Haar, DevanshKyada27, Dimitri Papadopoulos Orfanos,
Dmitry Nesterov, DUONG, Edoardo Abati, Eitan Hemed, Elabonga Atuo, Elisabeth
Günther, Emma Carballal, Emmanuel Ferdman, epimorphic, Erwan Le Floch, Fabian
Egli, Filip Karlo Došilović, Florian Idelberger, Franck Charras, Gael
Varoquaux, Ganesh Tata, Hleb Levitski, Guillaume Lemaitre, Haoying Zhang,
Harmanan Kohli, Ily, ioangatop, IsaacTrost, Isaac Virshup, Iwona Zdzieblo,
Jakub Kaczmarzyk, James McDermott, Jarrod Millman, JB Mountford, Jérémie du
Boisberranger, Jérôme Dockès, Jiawei Zhang, Joel Nothman, John Cant, John
Hopfensperger, Jona Sassenhagen, Jon Nordby, Julien Jerphanion, Kennedy Waweru,
kevin moore, Kian Eliasi, Kishan Ved, Konstantinos Pitas, Koustav Ghosh, Kushan
Sharma, ldwy4, Linus, Lohit SundaramahaLingam, Loic Esteve, Lorenz, Louis
Fouquet, Lucy Liu, Luis Silvestrin, Lukáš Folwarczný, Lukas Geiger, Malte
Londschien, Marcus Fraaß, Marek Hanuš, Maren Westermann, Mark Elliot, Martin
Larralde, Mateusz Sokół, mathurinm, mecopur, Meekail Zain, Michael Higgins,
Miki Watanabe, Milton Gomez, MN193, Mohammed Hamdy, Mohit Joshi, mrastgoo,
Naman Dhingra, Naoise Holohan, Narendra Singh dangi, Noa Malem-Shinitski,
Nolan, Nurseit Kamchyev, Oleksii Kachaiev, Olivier Grisel, Omar Salman, partev,
Peter Hull, Peter Steinbach, Pierre de Fréminville, Pooja Subramaniam, Puneeth
K, qmarcou, Quentin Barthélemy, Rahil Parikh, Rahul Mahajan, Raj Pulapakura,
Raphael, Ricardo Peres, Riccardo Cappuzzo, Roman Lutz, Salim Dohri, Samuel O.
Ronsin, Sandip Dutta, Sayed Qaiser Ali, scaja, scikit-learn-bot, Sebastian
Berg, Shreesha Kumar Bhat, Shubhal Gupta, Søren Fuglede Jørgensen, Stefanie
Senger, Tamara, Tanjina Afroj, THARAK HEGDE, thebabush, Thomas J. Fan, Thomas
Roehr, Tialo, Tim Head, tongyu, Venkatachalam N, Vijeth Moudgalya, Vincent M,
Vivek Reddy P, Vladimir Fokow, Xiao Yuan, Xuefeng Xu, Yang Tao, Yao Xiao,
Yuchen Zhou, Yuusuke Hiramatsu