|
1 |
| -import sys |
2 |
| -from importlib import resources as resources |
3 |
| -from typing import Literal, Mapping |
4 |
| - |
5 |
| -import numpy as np |
6 |
| -import scipy |
7 |
| -import scipy.stats |
8 |
| -import sklearn |
9 |
| -import threadpoolctl |
10 |
| -from numpy import percentile as percentile |
11 |
| -from scipy.linalg import eigh as _eigh |
12 |
| -from scipy.optimize._linesearch import ( # explicitly re-exported |
13 |
| - line_search_wolfe1 as line_search_wolfe1, |
14 |
| - line_search_wolfe2 as line_search_wolfe2, |
15 |
| -) |
16 |
| -from threadpoolctl import _ThreadpoolLimiter |
17 |
| - |
18 |
| -from ..externals._lobpcg import lobpcg as lobpcg |
19 |
| -from ..externals._packaging.version import parse as parse_version |
20 |
| -from .deprecation import deprecated |
21 |
| -from .parallel import delayed |
| 1 | +# Version-based re-exports |
| 2 | +from numpy import ComplexWarning as ComplexWarning, VisibleDeprecationWarning as VisibleDeprecationWarning |
| 3 | +from scipy.integrate import trapezoid as trapezoid |
| 4 | +from scipy.optimize._linesearch import line_search_wolfe1 as line_search_wolfe1, line_search_wolfe2 as line_search_wolfe2 |
| 5 | +from scipy.sparse.csgraph import laplacian as laplacian |
22 | 6 |
|
23 | 7 | np_version = ...
|
| 8 | +np_base_version = ... |
24 | 9 | sp_version = ...
|
25 |
| - |
26 |
| -class loguniform(scipy.stats.reciprocal): ... |
27 |
| - |
28 |
| -def threadpool_limits( |
29 |
| - limits: None | Mapping | str | int = None, |
30 |
| - user_api: None | Literal["blas", "openmp"] = None, |
31 |
| -) -> _ThreadpoolLimiter: ... |
32 |
| - |
33 |
| -threadpool_limits.__doc__ = ... |
34 |
| - |
35 |
| -def threadpool_info() -> list[dict[str, int | str] | dict[str, str | None | int]]: ... |
36 |
| - |
37 |
| -threadpool_info.__doc__ = ... |
38 |
| - |
39 |
| -@deprecated( |
40 |
| - "The function `delayed` has been moved from `sklearn.utils.fixes` to " |
41 |
| - "`sklearn.utils.parallel`. This import path will be removed in 1.5." |
42 |
| -) |
43 |
| -def delayed(function): ... |
| 10 | +sp_base_version = ... |
| 11 | +CSR_CONTAINERS = ... |
| 12 | +CSC_CONTAINERS = ... |
| 13 | +COO_CONTAINERS = ... |
| 14 | +LIL_CONTAINERS = ... |
| 15 | +DOK_CONTAINERS = ... |
| 16 | +BSR_CONTAINERS = ... |
| 17 | +DIA_CONTAINERS = ... |
| 18 | +SPARRAY_PRESENT: bool |
| 19 | +SPARSE_ARRAY_PRESENT: bool |
| 20 | +percentile = ... |
| 21 | + |
| 22 | +def pd_fillna(pd, frame): ... |
| 23 | +def tarfile_extractall(tarfile, path) -> None: ... |
0 commit comments