statgpu 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. statgpu/__init__.py +174 -0
  2. statgpu/_base.py +544 -0
  3. statgpu/_config.py +127 -0
  4. statgpu/anova/__init__.py +5 -0
  5. statgpu/anova/_oneway.py +194 -0
  6. statgpu/backends/__init__.py +83 -0
  7. statgpu/backends/_array_ops.py +529 -0
  8. statgpu/backends/_base.py +184 -0
  9. statgpu/backends/_cupy.py +453 -0
  10. statgpu/backends/_factory.py +65 -0
  11. statgpu/backends/_gpu_inference_cupy.py +214 -0
  12. statgpu/backends/_gpu_inference_torch.py +422 -0
  13. statgpu/backends/_numpy.py +324 -0
  14. statgpu/backends/_torch.py +685 -0
  15. statgpu/backends/_torch_safe.py +47 -0
  16. statgpu/backends/_utils.py +423 -0
  17. statgpu/core/__init__.py +10 -0
  18. statgpu/core/formula/__init__.py +33 -0
  19. statgpu/core/formula/_design.py +99 -0
  20. statgpu/core/formula/_parser.py +191 -0
  21. statgpu/core/formula/_terms.py +70 -0
  22. statgpu/core/formula/tests/__init__.py +0 -0
  23. statgpu/core/formula/tests/test_parser.py +194 -0
  24. statgpu/covariance/__init__.py +6 -0
  25. statgpu/covariance/_empirical.py +310 -0
  26. statgpu/covariance/_shrinkage.py +248 -0
  27. statgpu/cross_validation/__init__.py +31 -0
  28. statgpu/cross_validation/_base.py +410 -0
  29. statgpu/cross_validation/_engine.py +167 -0
  30. statgpu/diagnostics/__init__.py +7 -0
  31. statgpu/diagnostics/_regression_diagnostics.py +188 -0
  32. statgpu/feature_selection/__init__.py +24 -0
  33. statgpu/feature_selection/_knockoff.py +870 -0
  34. statgpu/feature_selection/_knockoff_utils.py +1003 -0
  35. statgpu/feature_selection/_stepwise.py +300 -0
  36. statgpu/glm_core/__init__.py +81 -0
  37. statgpu/glm_core/_base.py +202 -0
  38. statgpu/glm_core/_family.py +362 -0
  39. statgpu/glm_core/_fused.py +149 -0
  40. statgpu/glm_core/_gamma.py +111 -0
  41. statgpu/glm_core/_inverse_gaussian.py +62 -0
  42. statgpu/glm_core/_irls.py +561 -0
  43. statgpu/glm_core/_logistic.py +82 -0
  44. statgpu/glm_core/_negative_binomial.py +68 -0
  45. statgpu/glm_core/_poisson.py +60 -0
  46. statgpu/glm_core/_solver_legacy.py +100 -0
  47. statgpu/glm_core/_squared.py +53 -0
  48. statgpu/glm_core/_tweedie.py +74 -0
  49. statgpu/inference/__init__.py +239 -0
  50. statgpu/inference/_distributions_backend.py +2610 -0
  51. statgpu/inference/_multiple_testing.py +391 -0
  52. statgpu/inference/_resampling.py +1400 -0
  53. statgpu/inference/_results.py +265 -0
  54. statgpu/linear_model/__init__.py +75 -0
  55. statgpu/linear_model/_gaussian_inference.py +306 -0
  56. statgpu/linear_model/_glm_base.py +1261 -0
  57. statgpu/linear_model/_ordered_logit.py +52 -0
  58. statgpu/linear_model/_ordered_probit.py +50 -0
  59. statgpu/linear_model/_stats.py +170 -0
  60. statgpu/linear_model/cv/__init__.py +13 -0
  61. statgpu/linear_model/cv/_elasticnet_cv.py +892 -0
  62. statgpu/linear_model/cv/_lasso_cv.py +253 -0
  63. statgpu/linear_model/cv/_logistic_cv.py +895 -0
  64. statgpu/linear_model/cv/_ridge_cv.py +1160 -0
  65. statgpu/linear_model/legacy/__init__.py +1 -0
  66. statgpu/linear_model/legacy/_distributions_legacy_gpu.py +340 -0
  67. statgpu/linear_model/legacy/_elasticnet_legacy.py +936 -0
  68. statgpu/linear_model/legacy/_lasso_legacy.py +4876 -0
  69. statgpu/linear_model/legacy/_penalized_legacy.py +1174 -0
  70. statgpu/linear_model/legacy/_ridge_legacy.py +863 -0
  71. statgpu/linear_model/legacy/_solver_legacy.py +104 -0
  72. statgpu/linear_model/penalized/__init__.py +25 -0
  73. statgpu/linear_model/penalized/_base.py +437 -0
  74. statgpu/linear_model/penalized/_fit_mixin.py +1877 -0
  75. statgpu/linear_model/penalized/_inference_mixin.py +1179 -0
  76. statgpu/linear_model/penalized/_penalized_cv.py +2699 -0
  77. statgpu/linear_model/penalized/_penalized_gamma.py +86 -0
  78. statgpu/linear_model/penalized/_penalized_inverse_gaussian.py +62 -0
  79. statgpu/linear_model/penalized/_penalized_linear.py +236 -0
  80. statgpu/linear_model/penalized/_penalized_logistic.py +100 -0
  81. statgpu/linear_model/penalized/_penalized_negative_binomial.py +65 -0
  82. statgpu/linear_model/penalized/_penalized_poisson.py +62 -0
  83. statgpu/linear_model/penalized/_penalized_tweedie.py +65 -0
  84. statgpu/linear_model/penalized/_predict_mixin.py +182 -0
  85. statgpu/linear_model/wrappers/__init__.py +31 -0
  86. statgpu/linear_model/wrappers/_adaptive_lasso.py +63 -0
  87. statgpu/linear_model/wrappers/_elasticnet.py +75 -0
  88. statgpu/linear_model/wrappers/_gamma.py +67 -0
  89. statgpu/linear_model/wrappers/_inverse_gaussian.py +47 -0
  90. statgpu/linear_model/wrappers/_lasso.py +2124 -0
  91. statgpu/linear_model/wrappers/_linear.py +1127 -0
  92. statgpu/linear_model/wrappers/_logistic.py +1435 -0
  93. statgpu/linear_model/wrappers/_mcp.py +58 -0
  94. statgpu/linear_model/wrappers/_negative_binomial.py +58 -0
  95. statgpu/linear_model/wrappers/_poisson.py +48 -0
  96. statgpu/linear_model/wrappers/_ridge.py +166 -0
  97. statgpu/linear_model/wrappers/_scad.py +58 -0
  98. statgpu/linear_model/wrappers/_tweedie.py +57 -0
  99. statgpu/metrics/__init__.py +21 -0
  100. statgpu/metrics/_classification.py +591 -0
  101. statgpu/nonparametric/__init__.py +50 -0
  102. statgpu/nonparametric/kernel_methods/__init__.py +25 -0
  103. statgpu/nonparametric/kernel_methods/_kernels.py +246 -0
  104. statgpu/nonparametric/kernel_methods/_krr.py +234 -0
  105. statgpu/nonparametric/kernel_methods/_krr_cv.py +380 -0
  106. statgpu/nonparametric/kernel_smoothing/__init__.py +39 -0
  107. statgpu/nonparametric/kernel_smoothing/_bandwidth_selection.py +1083 -0
  108. statgpu/nonparametric/kernel_smoothing/_kde.py +761 -0
  109. statgpu/nonparametric/kernel_smoothing/_kernel_common.py +348 -0
  110. statgpu/nonparametric/kernel_smoothing/_kernel_regression.py +748 -0
  111. statgpu/nonparametric/splines/__init__.py +5 -0
  112. statgpu/nonparametric/splines/_bspline_basis.py +336 -0
  113. statgpu/nonparametric/splines/_penalized.py +349 -0
  114. statgpu/panel/__init__.py +19 -0
  115. statgpu/panel/_covariance.py +140 -0
  116. statgpu/panel/_fixed_effects.py +420 -0
  117. statgpu/panel/_random_effects.py +385 -0
  118. statgpu/panel/_utils.py +482 -0
  119. statgpu/penalties/__init__.py +139 -0
  120. statgpu/penalties/_adaptive_l1.py +313 -0
  121. statgpu/penalties/_base.py +261 -0
  122. statgpu/penalties/_categories.py +39 -0
  123. statgpu/penalties/_elasticnet.py +98 -0
  124. statgpu/penalties/_group_lasso.py +678 -0
  125. statgpu/penalties/_group_mcp.py +553 -0
  126. statgpu/penalties/_group_scad.py +605 -0
  127. statgpu/penalties/_l1.py +107 -0
  128. statgpu/penalties/_l2.py +77 -0
  129. statgpu/penalties/_mcp.py +237 -0
  130. statgpu/penalties/_scad.py +260 -0
  131. statgpu/semiparametric/__init__.py +5 -0
  132. statgpu/semiparametric/_gam.py +401 -0
  133. statgpu/solvers/__init__.py +24 -0
  134. statgpu/solvers/_admm.py +241 -0
  135. statgpu/solvers/_constants.py +15 -0
  136. statgpu/solvers/_convergence.py +6 -0
  137. statgpu/solvers/_fista.py +436 -0
  138. statgpu/solvers/_fista_bb.py +513 -0
  139. statgpu/solvers/_fista_lla.py +541 -0
  140. statgpu/solvers/_lbfgs.py +206 -0
  141. statgpu/solvers/_newton.py +149 -0
  142. statgpu/solvers/_utils.py +277 -0
  143. statgpu/survival/__init__.py +14 -0
  144. statgpu/survival/_cox.py +3974 -0
  145. statgpu/survival/_cox_breslow_triton_kernel.py +106 -0
  146. statgpu/survival/_cox_cv.py +1159 -0
  147. statgpu/survival/_cox_efron_cuda.py +1280 -0
  148. statgpu/survival/_cox_efron_triton.py +359 -0
  149. statgpu/unsupervised/__init__.py +29 -0
  150. statgpu/unsupervised/_agglomerative.py +307 -0
  151. statgpu/unsupervised/_dbscan.py +263 -0
  152. statgpu/unsupervised/_dbscan_cpu.pyx +125 -0
  153. statgpu/unsupervised/_gmm.py +332 -0
  154. statgpu/unsupervised/_incremental_pca.py +176 -0
  155. statgpu/unsupervised/_kmeans.py +261 -0
  156. statgpu/unsupervised/_minibatch_kmeans.py +299 -0
  157. statgpu/unsupervised/_minibatch_nmf.py +252 -0
  158. statgpu/unsupervised/_nmf.py +190 -0
  159. statgpu/unsupervised/_pca.py +189 -0
  160. statgpu/unsupervised/_truncated_svd.py +132 -0
  161. statgpu/unsupervised/_tsne.py +192 -0
  162. statgpu/unsupervised/_umap.py +224 -0
  163. statgpu/unsupervised/_utils.py +134 -0
  164. statgpu-0.1.0.dist-info/METADATA +245 -0
  165. statgpu-0.1.0.dist-info/RECORD +168 -0
  166. statgpu-0.1.0.dist-info/WHEEL +5 -0
  167. statgpu-0.1.0.dist-info/licenses/LICENSE +199 -0
  168. statgpu-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,245 @@
1
+ Metadata-Version: 2.4
2
+ Name: statgpu
3
+ Version: 0.1.0
4
+ Summary: GPU-accelerated statistical methods with sklearn-compatible API
5
+ Author: TheHiddenObserver
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/TheHiddenObserver/statgpu
8
+ Project-URL: Repository, https://github.com/TheHiddenObserver/statgpu
9
+ Keywords: statistics,gpu,cuda,machine-learning,sklearn
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Science/Research
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
21
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
22
+ Requires-Python: >=3.8
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Requires-Dist: numpy>=1.20
26
+ Requires-Dist: joblib>=1.0
27
+ Requires-Dist: scipy>=1.7
28
+ Provides-Extra: gpu11
29
+ Requires-Dist: cupy-cuda11x>=13.0; extra == "gpu11"
30
+ Provides-Extra: gpu12
31
+ Requires-Dist: cupy-cuda12x>=13.0; extra == "gpu12"
32
+ Provides-Extra: torch
33
+ Requires-Dist: torch>=2.0; extra == "torch"
34
+ Requires-Dist: scipy>=1.7; extra == "torch"
35
+ Provides-Extra: dev
36
+ Requires-Dist: pytest>=6.0; extra == "dev"
37
+ Requires-Dist: black; extra == "dev"
38
+ Requires-Dist: flake8; extra == "dev"
39
+ Requires-Dist: mypy; extra == "dev"
40
+ Provides-Extra: validation
41
+ Requires-Dist: pytest>=6.0; extra == "validation"
42
+ Requires-Dist: scikit-learn>=1.0; extra == "validation"
43
+ Requires-Dist: statsmodels>=0.13; extra == "validation"
44
+ Provides-Extra: formula
45
+ Requires-Dist: patsy>=0.5.3; extra == "formula"
46
+ Requires-Dist: pandas>=1.5; extra == "formula"
47
+ Provides-Extra: cpu-ext
48
+ Requires-Dist: Cython>=3.0; extra == "cpu-ext"
49
+ Dynamic: license-file
50
+
51
+ # statgpu
52
+
53
+ [![PyPI version](https://img.shields.io/pypi/v/statgpu.svg)](https://pypi.org/project/statgpu/)
54
+ [![Python versions](https://img.shields.io/pypi/pyversions/statgpu.svg)](https://pypi.org/project/statgpu/)
55
+ [![License](https://img.shields.io/github/license/TheHiddenObserver/statgpu.svg)](https://github.com/TheHiddenObserver/statgpu/blob/master/LICENSE)
56
+ [![GitHub stars](https://img.shields.io/github/stars/TheHiddenObserver/statgpu.svg)](https://github.com/TheHiddenObserver/statgpu/stargazers)
57
+ [![Downloads](https://img.shields.io/pypi/dm/statgpu.svg)](https://pypi.org/project/statgpu/)
58
+
59
+ GPU-accelerated statistical methods with sklearn-compatible API.
60
+
61
+ ## Why statgpu?
62
+
63
+ | Feature | statgpu | sklearn | glmnet (R) |
64
+ |---------|---------|---------|------------|
65
+ | GPU acceleration | ✅ CuPy + PyTorch | ❌ | ❌ |
66
+ | 7 GLM families | ✅ | Partial | ✅ |
67
+ | 10 penalty types | ✅ (SCAD, MCP, Group) | L1/L2 only | L1/L2 only |
68
+ | sklearn API | ✅ | ✅ | ❌ |
69
+ | Debiased Lasso inference | ✅ | ❌ | ❌ |
70
+ | Cross-backend | ✅ NumPy/CuPy/Torch | NumPy only | R only |
71
+
72
+ ## Quick Start
73
+
74
+ ```python
75
+ import numpy as np
76
+ from statgpu.linear_model import Lasso, LassoCV, PenalizedGLM_CV
77
+
78
+ # Lasso with cross-validation
79
+ X, y = np.random.randn(1000, 50), np.random.randn(1000)
80
+ model = LassoCV(cv=5).fit(X, y)
81
+ print(f"Optimal alpha: {model.alpha_:.4f}")
82
+
83
+ # Penalized GLM: Poisson + SCAD on GPU
84
+ model = PenalizedGLM_CV(
85
+ loss="poisson", penalty="scad", cv=5, device="cuda"
86
+ ).fit(X, y_counts)
87
+ ```
88
+
89
+ ## Documentation
90
+
91
+ - **English docs**: [docs/en/](docs/en/) — full documentation index
92
+ - **Chinese docs**: [docs/](docs/) — 中文文档
93
+ - **Quickstart**: [Quickstart](docs/en/getting-started/quickstart.md)
94
+ - **GLM + Penalty**: [Generalized Linear Model](docs/en/models/generalized-linear-model.md) — 7 families × 10 penalties × 3 backends
95
+ - **Cross-Validation**: [Cross-Validation Guide](docs/en/guides/cross-validation.md) — PenalizedGLM_CV, LassoCV, RidgeCV
96
+ - **Solver-Penalty Matrix**: [Solver × Penalty](docs/en/guides/solver-penalty-matrix.md) — solver dispatch and penalty routing
97
+ - **Device & Memory**: [Device and GPU Memory](docs/en/guides/device-and-memory.md)
98
+ - **PyTorch Backend**: [PyTorch Backend](docs/en/guides/pytorch-backend.md)
99
+ - **Distribution API**: [Distribution API](docs/en/guides/distribution-api.md) — 15 distributions across 3 backends
100
+ - **Multiple Testing**: [Multiple Testing](docs/en/guides/multiple-testing-combine-pvalues.md) — p-value adjustment and combination
101
+ - **Changelog**: [Changelog](docs/en/changelog.md)
102
+
103
+ ## Features
104
+
105
+ - 🚀 **3 Backends**: NumPy (CPU), CuPy (CUDA), PyTorch (CUDA) — automatic device selection
106
+ - 🔧 **sklearn-compatible**: `fit`/`predict`/`score` API, `sklearn.base.clone()` supported
107
+ - 📊 **7 GLM Families**: squared_error, logistic, poisson, gamma, inverse_gaussian, negative_binomial, tweedie
108
+ - 🔥 **10 Penalties**: l1, l2, elasticnet, scad, mcp, adaptive_l1, group_lasso, group_mcp, group_scad
109
+ - ⚡ **6 Solvers**: exact, newton, lbfgs, irls, fista, fista_bb — `solver="auto"` selects optimal
110
+ - 🧮 **Inference**: HC0-HC3/HAC robust SE, debiased Lasso, bootstrap, simultaneous CI
111
+ - 📈 **Nonparametric**: KDE, kernel regression, B-splines, GAM
112
+ - 🧬 **Unsupervised**: PCA, KMeans, DBSCAN, GMM, UMAP, t-SNE (12 classes)
113
+ - 📐 **Distributions**: 15 distributions across 3 backends via `get_distribution()` — [API docs](docs/en/guides/distribution-api.md)
114
+ - 🧪 **Multiple Testing**: `adjust_pvalues` + `combine_pvalues` + `permutation_test`
115
+ - 🔥 **Cross-Validation**: PenalizedGLM_CV (all 7 losses × 10 penalties), RidgeCV, LassoCV, ElasticNetCV
116
+
117
+ ## Implemented Methods
118
+
119
+ > **[Full method list with solvers, penalties, link functions →](docs/en/guides/implemented-methods.md)**
120
+
121
+ | Category | Classes | Highlights |
122
+ |---|---|---|
123
+ | **Regression & GLM** | 12 classes | LinearRegression, Ridge, Lasso, ElasticNet, Logistic, Poisson, Gamma, InvGauss, NB, Tweedie, Ordered models |
124
+ | **Penalized GLM** | 8 classes | PenalizedGLM + 7 family wrappers (Linear, Logistic, Poisson, Gamma, InvGauss, NB, Tweedie) × 10 penalties × 6 solvers |
125
+ | **Cross-Validation** | 6 classes | RidgeCV, LassoCV, ElasticNetCV, LogisticCV, PenalizedGLM_CV, CoxPHCV |
126
+ | **ANOVA** | 1 function | `f_oneway` — GPU-accelerated |
127
+ | **Covariance** | 3 classes | EmpiricalCovariance, LedoitWolf, OAS |
128
+ | **Panel Data** | 2 classes | PanelOLS, RandomEffects |
129
+ | **Nonparametric** | 5 classes | KernelRidge, KernelRidgeCV, pairwise_kernels, bspline_basis, natural_cubic_spline_basis |
130
+ | **Semiparametric** | 1 class | GAM (penalized B-splines + GCV) |
131
+ | **Unsupervised** | 12 classes | PCA, SVD, NMF, UMAP, t-SNE, KMeans, DBSCAN, GMM, AgglomerativeClustering |
132
+ | **Survival** | 1 class | CoxPH (Breslow/Efron ties, robust SE) |
133
+ | **Feature Selection** | 2 functions | fixed-X / model-X knockoff filters |
134
+ | **Multiple Testing** | 3 functions | adjust_pvalues, combine_pvalues, permutation_test |
135
+
136
+ ## Installation
137
+
138
+ ```bash
139
+ # CPU only
140
+ pip install statgpu
141
+
142
+ # With GPU support (choose by CUDA major version)
143
+ # CUDA 11.x runtime:
144
+ pip install statgpu[gpu11]
145
+
146
+ # CUDA 12.x runtime:
147
+ pip install statgpu[gpu12]
148
+
149
+ # With PyTorch backend (CUDA 11.x)
150
+ pip install statgpu[torch]
151
+
152
+ # Development
153
+ pip install statgpu[dev]
154
+
155
+ # Formula interface
156
+ pip install statgpu[formula]
157
+ ```
158
+
159
+ ## Quick Start
160
+
161
+ ```python
162
+ import numpy as np
163
+ from statgpu.inference import norm, poisson
164
+ from statgpu.linear_model import LinearRegression, PenalizedGLM_CV
165
+ from statgpu import adjust_pvalues, combine_pvalues
166
+
167
+ # Generate data using statgpu distributions (scipy-compatible API)
168
+ X = norm.rvs(size=(10000, 100))
169
+ y = X @ norm.rvs(size=100) + norm.rvs(size=10000) * 0.5
170
+
171
+ # Linear regression with GPU
172
+ model = LinearRegression(device='cuda')
173
+ model.fit(X, y)
174
+ print(f"R²: {model.score(X, y):.4f}")
175
+
176
+ # Penalized GLM with cross-validation
177
+ y_pois = poisson.rvs(mu=np.exp(X[:, :5] @ np.ones(5) * 0.1), size=X.shape[0])
178
+ cv_model = PenalizedGLM_CV(
179
+ loss="poisson", penalty="elasticnet", l1_ratio=0.5,
180
+ cv=5, device="cpu",
181
+ )
182
+ cv_model.fit(X[:, :5], y_pois)
183
+ print(f"Best alpha: {cv_model.alpha_:.4f}")
184
+
185
+ # Multiple-testing correction
186
+ reject, pvals_adj = adjust_pvalues(np.array([0.003, 0.02, 0.5]), method='bh')
187
+
188
+ # Global p-value combination
189
+ stat, p_global = combine_pvalues(np.array([0.01, 0.07, 0.03, 0.40]), method='fisher')
190
+ ```
191
+
192
+ ## Device Control
193
+
194
+ ```python
195
+ import statgpu as sg
196
+
197
+ # Global setting
198
+ sg.set_device('cuda') # Force GPU
199
+ sg.set_device('cpu') # Force CPU
200
+ sg.set_device('auto') # Auto-detect (default)
201
+
202
+ # Per-model setting
203
+ from statgpu.linear_model import LinearRegression
204
+ model = LinearRegression(device='cuda', n_jobs=4)
205
+ ```
206
+
207
+ ## Benchmark Results (RTX 4090)
208
+
209
+ Full report: `dev/tests/_bench_realdata_report.md`
210
+
211
+ Test environment: RTX 4090 (24GB), CuPy 14.1.0, PyTorch 2.8.0+cu128, scikit-learn 1.8.0, statsmodels 0.14.6, lifelines 0.30.3
212
+
213
+ ### Real-Data Performance
214
+
215
+ | Module | Dataset | n | p | Best Speedup | Precision |
216
+ |--------|---------|---|---|-------------|-----------|
217
+ | Poisson GLM | freMTPL2 | 678K | 42 | 196.9x vs sklearn | coef_corr=1.000000 |
218
+ | Gamma GLM | synthetic | 678K | 42 | 97.9x vs sklearn | coef_corr=0.9995 |
219
+ | CoxPH | synthetic | 1.9K | 500 | 1.2x vs CPU | coef_corr=1.000 |
220
+ | adjust_pvalues (BH) | synthetic | — | 1M | 0.55x | 100% agreement |
221
+ | PenalizedPoisson(L1) | freMTPL2 | 678K | 42 | — | OK |
222
+ | PenalizedCoxPH(L2) | synthetic | 1.9K | 500 | — | C-index match |
223
+
224
+ ### Precision Summary
225
+
226
+ | Module | Metric | Result |
227
+ |--------|--------|--------|
228
+ | Poisson GLM | coef correlation vs sklearn | 1.000000 (full freMTPL2) |
229
+ | Gamma GLM | coef correlation vs sklearn | 0.9995 |
230
+ | CoxPH | coef correlation vs lifelines | 1.000 |
231
+ | adjust_pvalues (BH) | reject agreement vs statsmodels | 100% (100K to 5M p-values) |
232
+ | Penalized (L1/L2) | self-consistency | C-index match across penalties |
233
+
234
+ ## Requirements
235
+
236
+ - Python >= 3.8
237
+ - NumPy >= 1.20
238
+ - CuPy (optional, for GPU; choose wheel matching CUDA major version)
239
+ - CUDA 11.x: `cupy-cuda11x`
240
+ - CUDA 12.x: `cupy-cuda12x`
241
+ - CUDA runtime compatible with selected CuPy wheel
242
+
243
+ ## License
244
+
245
+ Apache License 2.0 — see [LICENSE](LICENSE) for details.
@@ -0,0 +1,168 @@
1
+ statgpu/__init__.py,sha256=55tXQJ0SUMCTHPCYY00U7a08sKhQ7PkUrIdcNu92wok,4308
2
+ statgpu/_base.py,sha256=jYq94_8Ek3Nhz9_2WPdkrJTueR09fyYwJ_xn0TPpxrw,19194
3
+ statgpu/_config.py,sha256=4ixuU55fxauQkr2KQ3eijvEkqo8NfiUYRUG8wXR1-gE,4018
4
+ statgpu/anova/__init__.py,sha256=d4TPKGFtaG6nLvM0cSrsne_QAOP78zufCjn7ghWjyPE,131
5
+ statgpu/anova/_oneway.py,sha256=Z8BQ5Js-Ke-hAJZfTKu0_7PEUhS709VvxitFkcWOzOE,6047
6
+ statgpu/backends/__init__.py,sha256=IVqEB9Yc7uEt7xQlBn_l4ug0ibjFuMOAMqAeKmI21Fk,2029
7
+ statgpu/backends/_array_ops.py,sha256=AFT45lZsLqn4qv9Ae72qVSu6aCe5SxRLdnwiu7Kgugc,17375
8
+ statgpu/backends/_base.py,sha256=VlkkxNxsnmirSfxlqJcw5CS_MzdrUUXKB2uZsO0Psc8,6187
9
+ statgpu/backends/_cupy.py,sha256=-UcsISd6KWihdXr6I8Jjou14l899FqeFiuFTmKw5wLU,14578
10
+ statgpu/backends/_factory.py,sha256=-0lOJbj9ptjHB0K7Djk1z6rwRapK44sBbEyftyLfxWY,2182
11
+ statgpu/backends/_gpu_inference_cupy.py,sha256=u_ZrkECwYx__kFl-FNBllenQOpvAXJwPEb-caWHShuw,5686
12
+ statgpu/backends/_gpu_inference_torch.py,sha256=XEWYb2mvEe_vQmf_8Npm-QNY_aya1D2bSkV0afPpFHk,12194
13
+ statgpu/backends/_numpy.py,sha256=LTU2Q2Zs_2gBn2ubuy_hj4QpMIoT3YQ84YUm2FTT8pU,9374
14
+ statgpu/backends/_torch.py,sha256=BiBXACDD_vX5VeTf67KtkZ5oJNnRC6iwjXorjiGkIk8,21813
15
+ statgpu/backends/_torch_safe.py,sha256=eoPTXvxBxHqTDQD5U4Yjt15oUU1q2Qs-UVDUgi0No3U,1474
16
+ statgpu/backends/_utils.py,sha256=ffNqNJ_Vc5UP43Uxpby2EYXwMynNydCU4HeL9hFFRGc,14753
17
+ statgpu/core/__init__.py,sha256=GHWhOr2qbQgjPHOSqgcYhmO7rMCiVmXeevSGymgH2gc,252
18
+ statgpu/core/formula/__init__.py,sha256=fYhuLi8-PgukXPEqXWuHsfg2xYrIGHK56SrBfJk_gsA,889
19
+ statgpu/core/formula/_design.py,sha256=luUrRiANkOiW2HGYSDbrzy2s8JTSmjr1oFJ8w8U2iro,2813
20
+ statgpu/core/formula/_parser.py,sha256=qn4U8S0YPKBg3amKJztPbP0c3JnC51vXUg6wbwC27_k,6095
21
+ statgpu/core/formula/_terms.py,sha256=prSHrypWanuSUr1Ps9GlRwiRbR6i6m92atU8-sXQIhY,1972
22
+ statgpu/core/formula/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
+ statgpu/core/formula/tests/test_parser.py,sha256=38UJGlTaIAgXhsLyJITrGT5wQCoA1_hwYh9cG01dNIA,6317
24
+ statgpu/covariance/__init__.py,sha256=ljuThSpuQ6SdNa24KaddbXZGa_GtPhoO7Lgo2plSZBo,198
25
+ statgpu/covariance/_empirical.py,sha256=FKEqf_Er9l0jXwBNAJwimi6KkY88lzndso9jMepyDug,9853
26
+ statgpu/covariance/_shrinkage.py,sha256=q9e-X13H9_N1Jrwe6RPwC2Koy8MLez1mu_8FSBc7x_c,8404
27
+ statgpu/cross_validation/__init__.py,sha256=q4DyBI4KzB0KKYACL-EGfGF6EkW0Pqh-lZU8pxsb8ow,662
28
+ statgpu/cross_validation/_base.py,sha256=znMuPWo8Gt7zURSgaY2IviZOO4ZS4UYM5SiVpt_RS4o,13967
29
+ statgpu/cross_validation/_engine.py,sha256=LDb-3DYe0LEIkKbY_2aP2DWmqfPp_MSzkjXrG89ydmA,5835
30
+ statgpu/diagnostics/__init__.py,sha256=9Ol-b5NuVOYjtCcO0lBNkuHf8K8I9IH1dNDI26AOqV8,181
31
+ statgpu/diagnostics/_regression_diagnostics.py,sha256=_maz3tv2coB0XmmNDb7GYpjs4Q9D7i7WVBTGAVU4cns,6176
32
+ statgpu/feature_selection/__init__.py,sha256=dxPQWvuttfHJDmWsil75EuJepmMWOwQhDeDsJpecCTo,534
33
+ statgpu/feature_selection/_knockoff.py,sha256=OK2YiJN1gDMmV56U6p7DMmvFNMT5Sox513O1SFtEjFE,30274
34
+ statgpu/feature_selection/_knockoff_utils.py,sha256=BKwv8VR-PfgVgfyCkRMje1VfUEtbFHYvt4A8mqcxziA,36127
35
+ statgpu/feature_selection/_stepwise.py,sha256=lFEmILM4vwzCYsXIg8G06e6JZeICMUEcbsUVNed9ma8,10892
36
+ statgpu/glm_core/__init__.py,sha256=Sm9EPw63V9z1Ccmmp1oI65fE62u3Ear2ieN0GTnwOw0,1668
37
+ statgpu/glm_core/_base.py,sha256=C-EKfQUq9_HD00JekeyaAGx9gs4uVsTwtZBZhHz3uw8,7660
38
+ statgpu/glm_core/_family.py,sha256=6i_u38O9HIHA00orD3nnOHIrZkHaiPGoDupvY_4wxIs,9427
39
+ statgpu/glm_core/_fused.py,sha256=H1e9Qy3bDIPG8kKejd4ib-JBXWP9Bb66jNuzkDOxic4,4889
40
+ statgpu/glm_core/_gamma.py,sha256=Mm4AKeOUuokhRhDNZFbpT5Aw8mrD5jTagGE_Rtf4LQ4,4018
41
+ statgpu/glm_core/_inverse_gaussian.py,sha256=GHOKyQwueMhC7Hh2XTk37sVfTeynv5_L37QZcrGK-Vk,2208
42
+ statgpu/glm_core/_irls.py,sha256=loPPhkE7ygcJxuYv8ISSLwwUzDGqhtGqGyjDHm4JKM0,21304
43
+ statgpu/glm_core/_logistic.py,sha256=rs07I2FMChffK590rW6q8R6Pxjl26NwRrXwleIebfeo,3108
44
+ statgpu/glm_core/_negative_binomial.py,sha256=7rNcjJQypqcaTwhENjtqUafwfpmNQ5DsxUDDDhVCWYI,2526
45
+ statgpu/glm_core/_poisson.py,sha256=cUbMgZQs2mNeK8pzSnxumgNaLknq2iNJ8-jDugSt2DM,2184
46
+ statgpu/glm_core/_solver_legacy.py,sha256=8NfNVFTBfWqi0YUh8lpaiqBLJZrNe5ObGvsa0bwbquc,3114
47
+ statgpu/glm_core/_squared.py,sha256=evUAuysKhCg0xLPZJk62Cciq2fe4pkKzCctROS87qsU,1978
48
+ statgpu/glm_core/_tweedie.py,sha256=3RtoFUCZZ-8uXpGdo2D-Vfhscc0O0fVktN9_8Z2bbGY,2717
49
+ statgpu/inference/__init__.py,sha256=RPJV53_061quV3NshYjh4lH-k6ONuvkDVeMnnTZBAAU,6076
50
+ statgpu/inference/_distributions_backend.py,sha256=Z5GBxTkkyzKZfEJ4zed3TIxMt175hVg7VpBvdyvVaW4,101093
51
+ statgpu/inference/_multiple_testing.py,sha256=pVZOMeAfRO7PpLtr4WZ7RJJu8VHc5b6pdoog2OjMqJI,14162
52
+ statgpu/inference/_resampling.py,sha256=Nz0vGcyiSGwC3NLyHJrjAF3Y3r-w1p_qlSmrSCLn9BE,52123
53
+ statgpu/inference/_results.py,sha256=R3QQ6-WfRCXAdpcowy9rM7yV2ePpTSpme0sdQ_clXsY,9650
54
+ statgpu/linear_model/__init__.py,sha256=lZOwwsrN957KYWcvRbXdMCgo5j-Fd7LXjt8Gcs1UxUk,2284
55
+ statgpu/linear_model/_gaussian_inference.py,sha256=TC8a50z1t3T1tdsMRuxIv22FC4CyN58v6ujw1OOr0DI,10203
56
+ statgpu/linear_model/_glm_base.py,sha256=iZPiNgAmTq8OddvfIv-a1s7c6gvFgLKFok62XgMDBCg,51249
57
+ statgpu/linear_model/_ordered_logit.py,sha256=z5bdHND858v6GYEeqoKxWSwhqlAUL_x7axk5RU1521w,1496
58
+ statgpu/linear_model/_ordered_probit.py,sha256=Qaa8GftrhZYJCxJ2DV1UI4w1b1063Gy525162WnTAZY,1405
59
+ statgpu/linear_model/_stats.py,sha256=jGtdRJU0rUEOm46lkg6Y_rkUd0H-iLvkg5s3VWK4PQM,5802
60
+ statgpu/linear_model/cv/__init__.py,sha256=H_1oXNELiEDd5QWCmzrSzVzWBCxUl7mKHxuMAU3vdNY,337
61
+ statgpu/linear_model/cv/_elasticnet_cv.py,sha256=gb1KRk91eqNyEWllvcu73A9iewMwwcbGes7pSK2Wibw,31489
62
+ statgpu/linear_model/cv/_lasso_cv.py,sha256=VtcdMg6QW71NWMjjHNZ33J5V_NC_y4d7a-SJYUJ9VHo,8902
63
+ statgpu/linear_model/cv/_logistic_cv.py,sha256=Id26-fjDZYpI8Cf2-2R3lB1WKAogFf3rofwSOUR7-IE,32292
64
+ statgpu/linear_model/cv/_ridge_cv.py,sha256=ARdktXV0Y1EBuAKjaMMJ_0DNyrEUeo-_qUmzSV_FA9Q,46922
65
+ statgpu/linear_model/legacy/__init__.py,sha256=EZZB_JKKJmR76Wr-2BVwsKyoxw2rVI9QrS0vxQRcUlc,73
66
+ statgpu/linear_model/legacy/_distributions_legacy_gpu.py,sha256=H0-fHNdTvmO91-vIpFNGYdgz4GN4JeVJBdBKIiDBfYE,8784
67
+ statgpu/linear_model/legacy/_elasticnet_legacy.py,sha256=MSRTD11DrXilEfXRTxjxYgJngjf36rCv2f9ObGrQ94I,33015
68
+ statgpu/linear_model/legacy/_lasso_legacy.py,sha256=b3kB9HaFoDNb8uOoAzsU66iE8CjYypSiquSwO2REslg,187148
69
+ statgpu/linear_model/legacy/_penalized_legacy.py,sha256=qfgnzew9_Wyb3laz8uhhZLWLPlA1qO5LfS4a4cQCrP0,50832
70
+ statgpu/linear_model/legacy/_ridge_legacy.py,sha256=MNC59IIZdcbS8tLMte0lWEUzBC1lbxLq5GB_ql02eE0,33331
71
+ statgpu/linear_model/legacy/_solver_legacy.py,sha256=k22iDda_Q5dW-e4D6VvBuUvMPwe8CXj4f6cvRy9djgs,3322
72
+ statgpu/linear_model/penalized/__init__.py,sha256=TgdgoCuKbHc-WhP3hiHcNEZ4af4_MLbjC352419A5Mw,1016
73
+ statgpu/linear_model/penalized/_base.py,sha256=O9XqAl2AD0s9yDxlVcy6fgMagXyFLLkPS16QbPwYaXw,16162
74
+ statgpu/linear_model/penalized/_fit_mixin.py,sha256=-qDsfLqvJDFN8adMEAg1-iLkE1iuq3W2QACH91nc5tQ,86525
75
+ statgpu/linear_model/penalized/_inference_mixin.py,sha256=Ri0JQ-Z9GBHxmdr596ppPMyfKH3-BEnZlBBFJr5D1kQ,53344
76
+ statgpu/linear_model/penalized/_penalized_cv.py,sha256=t8hwmDPD-9ZASDqymqEOBXnFkNIRZAhhUkHpQ_gZ9XA,114973
77
+ statgpu/linear_model/penalized/_penalized_gamma.py,sha256=YXgYUn-ZXwBGXz9qeCiUPzNNfbYkGrtbSkOL8t8MepQ,2918
78
+ statgpu/linear_model/penalized/_penalized_inverse_gaussian.py,sha256=HGYQBb3NoEOr7SJrYILjkTo93PT6GFnJaX81TEaH6vQ,2113
79
+ statgpu/linear_model/penalized/_penalized_linear.py,sha256=jgbzN34prWVy6BFeXv_sZjkLaz4ARS-GpNARyHLPP_8,9047
80
+ statgpu/linear_model/penalized/_penalized_logistic.py,sha256=LFitbprOWkgFpTcEP2hk1u5gTiSTyFto-wU0OxSZhHE,3702
81
+ statgpu/linear_model/penalized/_penalized_negative_binomial.py,sha256=W9OdtP2EX8_cefhV-Mor24Qq9KQU7gjRZ3oj5G2jZF8,2296
82
+ statgpu/linear_model/penalized/_penalized_poisson.py,sha256=SE7ZDMQ7alhW8wEme6dh6NdLzu9l-K5AAc9XfvoJ_SA,2071
83
+ statgpu/linear_model/penalized/_penalized_tweedie.py,sha256=-QEDdM-01Sro1lAGXJbr_QWCUEKAAb16ZOExC-uqcD8,2246
84
+ statgpu/linear_model/penalized/_predict_mixin.py,sha256=E1GFGB1YGf1V2PqA6fbJgVdKXyTimC0xq4Er8QuQVqo,7552
85
+ statgpu/linear_model/wrappers/__init__.py,sha256=HjDabERPkIuZFBhuKWfSB6ACTJ9nM3aUPNR_-aZTp1M,896
86
+ statgpu/linear_model/wrappers/_adaptive_lasso.py,sha256=AxSB_C_9aakYARq7UBQQWX08q5wVevIxGjVf9ECxzuY,2000
87
+ statgpu/linear_model/wrappers/_elasticnet.py,sha256=B8PbDwvqUJEIvGYm-yYstPUPhGNDPkDz_mlJOu73X3s,2549
88
+ statgpu/linear_model/wrappers/_gamma.py,sha256=VyQVZNwLNaltkud5lorZdaMY2DwJMLkKSFKB17193cI,1977
89
+ statgpu/linear_model/wrappers/_inverse_gaussian.py,sha256=VSmBWK3HmHN9_wOI0yuBC1Byt3-pCRwHOJ_m_rQK34o,1345
90
+ statgpu/linear_model/wrappers/_lasso.py,sha256=u2qaVQKnB57cDtMP-xwlsaHBhLo2AWwyJQNWSh9WhbE,78717
91
+ statgpu/linear_model/wrappers/_linear.py,sha256=l8hSg93R3-mubF82O7-Pzd7gUTEruujXpY6-ThbXpH4,44380
92
+ statgpu/linear_model/wrappers/_logistic.py,sha256=FnStlPbF-wl4UrKU_pSWUoEC0ED4d2ItNtFJMkbojGY,53349
93
+ statgpu/linear_model/wrappers/_mcp.py,sha256=jCpGyDXNFIm4x7W8RX0HyOPzePFFuQ_csi81JO1QfPc,1836
94
+ statgpu/linear_model/wrappers/_negative_binomial.py,sha256=8e9VeW3TdBxdk4R7VNVZBPqvw65VeZXF9CXhFoyV-bo,1782
95
+ statgpu/linear_model/wrappers/_poisson.py,sha256=dO_E9pH0RggCibDChzfhI_kESH2MkzKk2mYiUWaBUyY,1355
96
+ statgpu/linear_model/wrappers/_ridge.py,sha256=R9vGxO-4qQVkctx2_us0y7_Myz4VLQ55FR7_3TAhMoU,6431
97
+ statgpu/linear_model/wrappers/_scad.py,sha256=rhppxwKxlxBMZirsseaFZA0a8vz3lOtAOYiLrJN3mYY,1800
98
+ statgpu/linear_model/wrappers/_tweedie.py,sha256=eKeTV6oFF2kf3C3PswQ2mTyhA_dmAWcES2JQeF3q5y0,1708
99
+ statgpu/metrics/__init__.py,sha256=9JY3FfjxY5Bx9PWng-CDCqxVfpSrBc4SVmwlYJzEsxI,558
100
+ statgpu/metrics/_classification.py,sha256=Q-mUh1u9K3E9RtAhj-WPYu-HX3B6CcfpbZwyM-M46so,23172
101
+ statgpu/nonparametric/__init__.py,sha256=5oSTldfvbqZwktN1JZ7JSyxtc10Rd7OiMS1ronY0E-A,1281
102
+ statgpu/nonparametric/kernel_methods/__init__.py,sha256=eQxgTuNd8WQz2H-hTcRq5cmOq2DYRoc9nJNnckRjgVQ,512
103
+ statgpu/nonparametric/kernel_methods/_kernels.py,sha256=knd6UchU1ySDjVfL4OUcZ1gMg20p6QLo5rNXkJikl4g,6699
104
+ statgpu/nonparametric/kernel_methods/_krr.py,sha256=mBZ7I1RqfmFw6Xc4ecfBZQTcc52nLdGhWMBlRtQAzQo,7918
105
+ statgpu/nonparametric/kernel_methods/_krr_cv.py,sha256=Q3x5fItZ4sxwO2-3dy3tzb_VfhMxHAFleH6zHakWwPk,13966
106
+ statgpu/nonparametric/kernel_smoothing/__init__.py,sha256=iXDrGw8UWSt8r2CtMtsLSREW9ODHSL7-LFcQFHbnjKM,948
107
+ statgpu/nonparametric/kernel_smoothing/_bandwidth_selection.py,sha256=0YynHiPqEbBAmIs9iwDIY_EeBhI-vTJKoDbAGoE08es,37768
108
+ statgpu/nonparametric/kernel_smoothing/_kde.py,sha256=yfWAof5hsUlJWGV20hp2nVeD9fwYFpZVSlfl8iryuVA,28402
109
+ statgpu/nonparametric/kernel_smoothing/_kernel_common.py,sha256=TwD-2-ferMdteISzB5oPryusFHqPUX-z_XlbFntu0U8,11450
110
+ statgpu/nonparametric/kernel_smoothing/_kernel_regression.py,sha256=M6Wh35apKNMWjHilA4qaxDPM24NmxPx5YReJfoW6zcI,27792
111
+ statgpu/nonparametric/splines/__init__.py,sha256=aAmzsnfdAzNaU2wJcyOIUabqJ7-AuyEjXPeXx00yG3w,174
112
+ statgpu/nonparametric/splines/_bspline_basis.py,sha256=iJsbr2D6T4qPv4laRFATDb3aLd67G2y_g7pX6VLmzY8,12496
113
+ statgpu/nonparametric/splines/_penalized.py,sha256=BVfFQki-FluN2futtJrVTV8i022xv7SNLREqjYoyiMg,10687
114
+ statgpu/panel/__init__.py,sha256=4Wdw8fxyod3Jxtll2eG5QVX0QVnXfNXlFYcBMMM0vrI,521
115
+ statgpu/panel/_covariance.py,sha256=g0IWbdJ3rLVQwyFA5QTwQJUqX5gQtwIApbWtN1sm0_E,4510
116
+ statgpu/panel/_fixed_effects.py,sha256=4HyHKoT6zDlzZ9nrUGfsrl1rH2cslbYF4s912PpoTMM,16085
117
+ statgpu/panel/_random_effects.py,sha256=zt2u0VghpfVW_zt1v14H1FEa9baFFKEG-QGDiGfYcwY,13472
118
+ statgpu/panel/_utils.py,sha256=DZY7hSHDQGeJXnuJYBNZPkcd3Lh3k4uPWlU1fqHph7U,16714
119
+ statgpu/penalties/__init__.py,sha256=VNbOdrl7V4bBC1dMoF5mkSiRs5jRuUsrkkvx6_7U2rQ,3489
120
+ statgpu/penalties/_adaptive_l1.py,sha256=8640r7kDFM-NQd-ckRwYY2Jz3x41cAhi5xU7r3pbJd0,13360
121
+ statgpu/penalties/_base.py,sha256=6Ta1qJYjdzajwV3UwzYFkQ655-PsIjM0E9DEJ7tiE98,7703
122
+ statgpu/penalties/_categories.py,sha256=1UONfmyU54So_lUrz0gmz5W1dG1gSX4tQl0EVn8m_X0,1214
123
+ statgpu/penalties/_elasticnet.py,sha256=5-JQJFHi_OhVyFgngnn7IOTUKAd2oB87ZhZ6vtz3Q1c,3039
124
+ statgpu/penalties/_group_lasso.py,sha256=JZqhoiZ0WV9Bzv7BxgU4r39C7HHc9eGxXJmdE-S84-Q,27940
125
+ statgpu/penalties/_group_mcp.py,sha256=u6QCIk13ebO9LhtUoqkDS42L58nVD3z5VmqFerW7UN8,22912
126
+ statgpu/penalties/_group_scad.py,sha256=pTcB2SQsq-iLxKF7iSAeR3iKmBShqiV320S2uKz7kAE,24804
127
+ statgpu/penalties/_l1.py,sha256=W4F2bl6asy8P6h2Q_VkWLciYKmk2mpBBC0w6jvDnY38,2942
128
+ statgpu/penalties/_l2.py,sha256=m_pi2iPMaJyZlwyTI-H-iZNIKvU6NAL9mZGb8E6rFdE,1772
129
+ statgpu/penalties/_mcp.py,sha256=E0AuqUw1l2qhRdwgGaDU49rZoTnBQ1OWARgwgVIokmU,8267
130
+ statgpu/penalties/_scad.py,sha256=7og1x-QVcrRvBEPgGFxAYoxHT30wRZwJZLbSfTXwCtA,9606
131
+ statgpu/semiparametric/__init__.py,sha256=eGDpA3TOFq7aOKR8_8HDPFfI3QPT0OXfGkbsODTnTWA,93
132
+ statgpu/semiparametric/_gam.py,sha256=ZAlh8OXpFc01kbTjvEQJzUQFrhIPQR8H0IZwNwVbZGk,13322
133
+ statgpu/solvers/__init__.py,sha256=VtoPegkV06enlX8MxmZVl8v7b2sfmqVEO_Xy599278s,678
134
+ statgpu/solvers/_admm.py,sha256=CWRJ0beOmfWI0GL0g3HaMiUTz2lCS8B0B2Pks_Te27U,9036
135
+ statgpu/solvers/_constants.py,sha256=r0D_F5aaBvPovfdZrgwEugpzMofDOY-palcnOXVKTUs,635
136
+ statgpu/solvers/_convergence.py,sha256=mO7dPmn3F5XwyPjjwkvz_nk1HGmYDFahFUQ6qUaYHc8,151
137
+ statgpu/solvers/_fista.py,sha256=WVtiJWOqwW5QpGgAD2qUkMiXtqwbZBdGvyRJyowCS68,18914
138
+ statgpu/solvers/_fista_bb.py,sha256=GoHI7lLuMh9Mnl3yayiVR38OKO8apKpfyV2m_dip4g4,24213
139
+ statgpu/solvers/_fista_lla.py,sha256=qv3a0lnMZhGR88adEric6qNSE1qkJ3Wzf-t2KjD0iMU,23459
140
+ statgpu/solvers/_lbfgs.py,sha256=aUdOAMVarKdUG4giEvkBw6RShdB95NvOZYvfrZ_TFLo,6747
141
+ statgpu/solvers/_newton.py,sha256=jCpObVuXOn7Gp0ogvbFbE_GYmVVZuTcVCqYtZRQfFY4,5035
142
+ statgpu/solvers/_utils.py,sha256=1bovoaDHZzp7zxmeKGKCm2JbzcGknWKiNtwp9J73F5Q,9462
143
+ statgpu/survival/__init__.py,sha256=y6n7mk0DMyceUjpC9heYCObRLLRDoK96-5OPKI54sVc,340
144
+ statgpu/survival/_cox.py,sha256=vKBqPjSrKf5Eg-nfevBliwFVD6t-oL8dW666gPjlSJM,179167
145
+ statgpu/survival/_cox_breslow_triton_kernel.py,sha256=-l_QspWbE6fKnvAw1kGLwF7iHZYgSJftNfHV0sjKkYQ,3596
146
+ statgpu/survival/_cox_cv.py,sha256=21ghu0OrT9GlWHczAZSFC-gNg2_-GLD9I4lYBqAEsRs,41752
147
+ statgpu/survival/_cox_efron_cuda.py,sha256=9V0m6EmgHoLGfWi5A9gAPQ6viiEH5rw6S0_I6SPZzog,47490
148
+ statgpu/survival/_cox_efron_triton.py,sha256=9TJoVLjouoO-FsuAMNiQIRA1I48kGcoRuivKAvpdR8I,14374
149
+ statgpu/unsupervised/__init__.py,sha256=ufMj0OkPxQ4y2JcJtGx1TTSaZk3_ODGk-ruTpAMf40Q,706
150
+ statgpu/unsupervised/_agglomerative.py,sha256=GMevmQp5DHug9573dUj0ZGJrvLxu7KSeI1rIuh3YC9w,12130
151
+ statgpu/unsupervised/_dbscan.py,sha256=dMo7nfzcpsjiA4lR7ZkAIATFTXwqk1TQKpLaX8lF3vk,12265
152
+ statgpu/unsupervised/_dbscan_cpu.pyx,sha256=TGKhankc0hgF-xwSRmVUd5mdz0AYI4jV8PgXnlT9fds,4208
153
+ statgpu/unsupervised/_gmm.py,sha256=PWzqYrVBZWCov7-N4DaUFB7LQMR0YzVvfKHVe70fO-g,15226
154
+ statgpu/unsupervised/_incremental_pca.py,sha256=lOEJZya2h6i-2HsBC4J_4suTbqwZ0thCtMnL6zOKTCc,7988
155
+ statgpu/unsupervised/_kmeans.py,sha256=d-CpUdF-45TD3cTLHF4PthCeMumGaTP2SdffWeVO6Js,12502
156
+ statgpu/unsupervised/_minibatch_kmeans.py,sha256=GMSicRDQLsVL-VcXJ7CjQUsRtZJIHNTSnioI0TVoCT4,13952
157
+ statgpu/unsupervised/_minibatch_nmf.py,sha256=nMPfPc9Wy7nE2mNCrIhO0XUo-KqHBh-qOcqoTnG3l0Y,11421
158
+ statgpu/unsupervised/_nmf.py,sha256=m-Sl3oIVFr3UVdi4LBU1CQWTT-aSB145AIjXpVnXcU0,7628
159
+ statgpu/unsupervised/_pca.py,sha256=PcSkQ7zcR1O99kHamFIUsdY54Wg77Cmz7KD6mLyN5No,8682
160
+ statgpu/unsupervised/_truncated_svd.py,sha256=XExyWq3Z5cRw6EoZAKjXLueXCrTWm9OH9GFOaH0U2nw,5414
161
+ statgpu/unsupervised/_tsne.py,sha256=4jJG7KkMYeMHMJrSMeazi3YA-hjVC33qnh97a57HkCA,8091
162
+ statgpu/unsupervised/_umap.py,sha256=CULlmf7j2D0GRTXNNemsXdbqR6ix62CwsoTOlj3umHI,9469
163
+ statgpu/unsupervised/_utils.py,sha256=XZOd20BKRTmbHdXe8c46LvoSlzavDU9ECE4bkefyKMM,5204
164
+ statgpu-0.1.0.dist-info/licenses/LICENSE,sha256=D9qSynVpTADXR5EU4Md7GeSALTU2HNECIx3o9zVRn7c,11442
165
+ statgpu-0.1.0.dist-info/METADATA,sha256=Vr3TVTfMeGJdjHxC3KuY2sS_e9CCWHCxTOV6xUaqdNM,10394
166
+ statgpu-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
167
+ statgpu-0.1.0.dist-info/top_level.txt,sha256=BLP8VIw80xPKFbKkiGo-gXKp8oRkNdSec10crEgLz54,8
168
+ statgpu-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,199 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work.
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship. For the purposes
43
+ of this License, Derivative Works shall not include works that remain
44
+ separable from, or merely link (or bind by name) to the interfaces of,
45
+ the Work and Derivative Works thereof.
46
+
47
+ "Contribution" shall mean any work of authorship, including
48
+ the original version of the Work and any modifications or additions
49
+ to that Work or Derivative Works thereof, that is intentionally
50
+ submitted to the Licensor for inclusion in the Work by the copyright owner
51
+ or by an individual or Legal Entity authorized to submit on behalf of
52
+ the copyright owner. For the purposes of this definition, "submitted"
53
+ means any form of electronic, verbal, or written communication sent
54
+ to the Licensor or its representatives, including but not limited to
55
+ communication on electronic mailing lists, source code control systems,
56
+ and issue tracking systems that are managed by, or on behalf of, the
57
+ Licensor for the purpose of discussing and improving the Work, but
58
+ excluding communication that is conspicuously marked or otherwise
59
+ designated in writing by the copyright owner as "Not a Contribution."
60
+
61
+ "Contributor" shall mean Licensor and any individual or Legal Entity
62
+ on behalf of whom a Contribution has been received by the Licensor and
63
+ subsequently incorporated within the Work.
64
+
65
+ 2. Grant of Copyright License. Subject to the terms and conditions of
66
+ this License, each Contributor hereby grants to You a perpetual,
67
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
68
+ copyright license to reproduce, prepare Derivative Works of,
69
+ publicly display, publicly perform, sublicense, and distribute the
70
+ Work and such Derivative Works in Source or Object form.
71
+
72
+ 3. Grant of Patent License. Subject to the terms and conditions of
73
+ this License, each Contributor hereby grants to You a perpetual,
74
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
75
+ (except as stated in this section) patent license to make, have made,
76
+ use, offer to sell, sell, import, and otherwise transfer the Work,
77
+ where such license applies only to those patent claims licensable
78
+ by such Contributor that are necessarily infringed by their
79
+ Contribution(s) alone or by combination of their Contribution(s)
80
+ with the Work to which such Contribution(s) was submitted. If You
81
+ institute patent litigation against any entity (including a
82
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
83
+ or a Contribution incorporated within the Work constitutes direct
84
+ or contributory patent infringement, then any patent licenses
85
+ granted to You under this License for that Work shall terminate
86
+ as of the date such litigation is filed.
87
+
88
+ 4. Redistribution. You may reproduce and distribute copies of the
89
+ Work or Derivative Works thereof in any medium, with or without
90
+ modifications, and in Source or Object form, provided that You
91
+ meet the following conditions:
92
+
93
+ (a) You must give any other recipients of the Work or
94
+ Derivative Works a copy of this License; and
95
+
96
+ (b) You must cause any modified files to carry prominent notices
97
+ stating that You changed the files; and
98
+
99
+ (c) You must retain, in the Source form of any Derivative Works
100
+ that You distribute, all copyright, patent, trademark, and
101
+ attribution notices from the Source form of the Work,
102
+ excluding those notices that do not pertain to any part of
103
+ the Derivative Works; and
104
+
105
+ (d) If the Work includes a "NOTICE" text file as part of its
106
+ distribution, then any Derivative Works that You distribute must
107
+ include a readable copy of the attribution notices contained
108
+ within such NOTICE file, excluding any notices that do not
109
+ pertain to any part of the Derivative Works, in at least one
110
+ of the following places: within a NOTICE text file distributed
111
+ as part of the Derivative Works; within the Source form or
112
+ documentation, if provided along with the Derivative Works; or,
113
+ within a display generated by the Derivative Works, if and
114
+ wherever such third-party notices normally appear. The contents
115
+ of the NOTICE file are for informational purposes only and
116
+ do not modify the License. You may add Your own attribution
117
+ notices within Derivative Works that You distribute, alongside
118
+ or as an addendum to the NOTICE text from the Work, provided
119
+ that such additional attribution notices cannot be construed
120
+ as modifying the License.
121
+
122
+ You may add Your own copyright statement to Your modifications and
123
+ may provide additional or different license terms and conditions
124
+ for use, reproduction, or distribution of Your modifications, or
125
+ for any such Derivative Works as a whole, provided Your use,
126
+ reproduction, and distribution of the Work otherwise complies with
127
+ the conditions stated in this License.
128
+
129
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
130
+ any Contribution intentionally submitted for inclusion in the Work
131
+ by You to the Licensor shall be under the terms and conditions of
132
+ this License, without any additional terms or conditions.
133
+ Notwithstanding the above, nothing herein shall supersede or modify
134
+ the terms of any separate license agreement you may have executed
135
+ with Licensor regarding such Contributions.
136
+
137
+ 6. Trademarks. This License does not grant permission to use the trade
138
+ names, trademarks, service marks, or product names of the Licensor,
139
+ except as required for reasonable and customary use in describing the
140
+ origin of the Work and reproducing the content of the NOTICE file.
141
+
142
+ 7. Disclaimer of Warranty. Unless required by applicable law or
143
+ agreed to in writing, Licensor provides the Work (and each
144
+ Contributor provides its Contributions) on an "AS IS" BASIS,
145
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
146
+ implied, including, without limitation, any warranties or conditions
147
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
148
+ PARTICULAR PURPOSE. You are solely responsible for determining the
149
+ appropriateness of using or redistributing the Work and assume any
150
+ risks associated with Your exercise of permissions under this License.
151
+
152
+ 8. Limitation of Liability. In no event and under no legal theory,
153
+ whether in tort (including negligence), contract, or otherwise,
154
+ unless required by applicable law (such as deliberate and grossly
155
+ negligent acts) or agreed to in writing, shall any Contributor be
156
+ liable to You for damages, including any direct, indirect, special,
157
+ incidental, or consequential damages of any character arising as a
158
+ result of this License or out of the use or inability to use the
159
+ Work (including but not limited to damages for loss of goodwill,
160
+ work stoppage, computer failure or malfunction, or any and all
161
+ other commercial damages or losses), even if such Contributor
162
+ has been advised of the possibility of such damages.
163
+
164
+ 9. Accepting Warranty or Additional Liability. While redistributing
165
+ the Work or Derivative Works thereof, You may choose to offer,
166
+ and charge a fee for, acceptance of support, warranty, indemnity,
167
+ or other liability obligations and/or rights consistent with this
168
+ License. However, in accepting such obligations, You may act only
169
+ on Your own behalf and on Your sole responsibility, not on behalf
170
+ of any other Contributor, and only if You agree to indemnify,
171
+ defend, and hold each Contributor harmless for any liability
172
+ incurred by, or claims asserted against, such Contributor by reason
173
+ of your accepting any such warranty or additional liability.
174
+
175
+ END OF TERMS AND CONDITIONS
176
+
177
+ APPENDIX: How to apply the Apache License to your work.
178
+
179
+ To apply the Apache License to your work, attach the following
180
+ boilerplate notice, with the fields enclosed by brackets "[]"
181
+ replaced with your own identifying information. (Don't include
182
+ the brackets!) The text should be enclosed in the appropriate
183
+ comment syntax for the file format. Please also get an
184
+ "Applicable Licenses" webpage at apache.org/licenses to confirm
185
+ the Apache 2.0 license is acceptable for your project.
186
+
187
+ Copyright 2026 TheHiddenObserver
188
+
189
+ Licensed under the Apache License, Version 2.0 (the "License");
190
+ you may not use this file except in compliance with the License.
191
+ You may obtain a copy of the License at
192
+
193
+ http://www.apache.org/licenses/LICENSE-2.0
194
+
195
+ Unless required by applicable law or agreed to in writing, software
196
+ distributed under the License is distributed on an "AS IS" BASIS,
197
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
198
+ See the License for the specific language governing permissions and
199
+ limitations under the License.
@@ -0,0 +1 @@
1
+ statgpu