8000 ENH fetch_file to fetch data files by URL with retries, checksuming a… · scikit-learn/scikit-learn@2b2e290 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2b2e290

Browse files
ogriselglemaitrelesteve
authored
ENH fetch_file to fetch data files by URL with retries, checksuming and local caching (#29354)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com> Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
1 parent afee65a commit 2b2e290

File tree

5 files changed

+892
-451
lines changed

5 files changed

+892
-451
lines changed

doc/whats_new/v1.6.rst

+9
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,15 @@ Changelog
139139
on the input data.
140140
:pr:`29124` by :user:`Yao Xiao <Charlie-XIAO>`.
141141

142+
143+
:mod:`sklearn.datasets`
144+
.......................
145+
146+
- |Feature| :func:`datasets.fetch_file` allows downloading arbitrary data-file
147+
from the web. It handles local caching, integrity checks with SHA256 digests
148+
and automatic retries in case of HTTP errors. :pr:`29354` by :user:`Olivier
149+
Grisel <ogrisel>`.
150+
142151
:mod:`sklearn.discriminant_analysis`
143152
....................................
144153

0 commit comments

Comments
 (0)
0