geds-python 0.1.0__tar.gz
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.
- geds_python-0.1.0/.gitignore +10 -0
- geds_python-0.1.0/CHANGELOG.md +68 -0
- geds_python-0.1.0/CITATION.cff +19 -0
- geds_python-0.1.0/LICENSE +674 -0
- geds_python-0.1.0/PKG-INFO +406 -0
- geds_python-0.1.0/README.md +367 -0
- geds_python-0.1.0/RELEASING.md +70 -0
- geds_python-0.1.0/pyproject.toml +72 -0
- geds_python-0.1.0/src/geds/__init__.py +25 -0
- geds_python-0.1.0/src/geds/_backend.py +458 -0
- geds_python-0.1.0/src/geds/_estimators.py +844 -0
- geds_python-0.1.0/src/geds/_plotting.py +69 -0
- geds_python-0.1.0/src/geds/_validation.py +148 -0
- geds_python-0.1.0/src/geds/check.py +64 -0
- geds_python-0.1.0/src/geds/py.typed +1 -0
- geds_python-0.1.0/tests/test_estimators.py +835 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to GeDS for Python are documented in this file.
|
|
4
|
+
|
|
5
|
+
The project follows [Semantic Versioning](https://semver.org/). Versions use
|
|
6
|
+
the Python packaging form of pre-release identifiers, such as `0.1.0a1` for
|
|
7
|
+
the first alpha release.
|
|
8
|
+
|
|
9
|
+
## Unreleased
|
|
10
|
+
|
|
11
|
+
## 0.1.0 - 2026-09-25
|
|
12
|
+
|
|
13
|
+
- Expose R's boosted base-learner importance alongside its existing iteration
|
|
14
|
+
count, and clarify remaining specialized R-only utilities in the feature audit.
|
|
15
|
+
- Add a Gaussian-only Python interface to R's specialized `crossv_GeDS()`
|
|
16
|
+
grid search and its MSE/knot/iteration summaries.
|
|
17
|
+
- Save R's single-learner boosting-iteration visualization as a multipage PDF
|
|
18
|
+
through a Python model method.
|
|
19
|
+
- Expose R's `Derive()`, `Integrate()`, `PPolyRep()`, and `shapeConstrain()`
|
|
20
|
+
through fitted-model methods, with direct R parity tests and explicit model
|
|
21
|
+
restrictions.
|
|
22
|
+
- Check alternate spline orders, generalized-model utilities, mixed-term
|
|
23
|
+
additive constraints, and sequential scikit-learn cross-validation.
|
|
24
|
+
- Add additive GAM and gradient-boosting estimators backed by the R package's
|
|
25
|
+
`NGeDSgam()` and `NGeDSboost()` functions, with independently checked R/Python
|
|
26
|
+
predictions and no duplicate statistical implementation.
|
|
27
|
+
- Support named additive spline terms, joint spline terms, parametric features,
|
|
28
|
+
selected loss families, and individual base-learner predictions.
|
|
29
|
+
|
|
30
|
+
## 0.1.0a4 - release candidate (not published)
|
|
31
|
+
|
|
32
|
+
- Begin an R-to-Python feature audit for the next coordinated release.
|
|
33
|
+
- Add order-specific access to R's deviance, log likelihood, and coefficient
|
|
34
|
+
confidence intervals.
|
|
35
|
+
- Add univariate fit/prediction offsets and named `predict_terms()` output,
|
|
36
|
+
delegated to the locally fixed R package. These require the corresponding
|
|
37
|
+
R GitHub changes before publication.
|
|
38
|
+
- Expand independent R/Python parity tests for weighted normal and Poisson
|
|
39
|
+
fits, bivariate fits and confidence intervals; clarify joint-spline feature
|
|
40
|
+
selection.
|
|
41
|
+
- Copy arrays extracted from R into Python-owned memory so later R calls cannot
|
|
42
|
+
change stored coefficients, knots, or predictions.
|
|
43
|
+
- Require GeDS 0.3.6 with the Python bridge capability marker, and pin the
|
|
44
|
+
tested GitHub commit in installation and CI instructions.
|
|
45
|
+
|
|
46
|
+
## 0.1.0a3 - 2026-09-23
|
|
47
|
+
|
|
48
|
+
- Add `python -m geds.check` for human-readable or JSON environment checks.
|
|
49
|
+
- Add `geds.plot_fit()` for Python-native visualization of univariate fits and
|
|
50
|
+
internal knots.
|
|
51
|
+
- Expand installation and R-library troubleshooting guidance.
|
|
52
|
+
|
|
53
|
+
## 0.1.0a2 - 2026-09-20
|
|
54
|
+
|
|
55
|
+
- Preload R's core numerical DLLs on Windows so embedded R 4.6 can load
|
|
56
|
+
recommended packages without requiring Rtools on the user's `PATH`.
|
|
57
|
+
|
|
58
|
+
## 0.1.0a1 - 2026-09-20
|
|
59
|
+
|
|
60
|
+
Initial alpha release.
|
|
61
|
+
|
|
62
|
+
- Add scikit-learn-style estimators for normal and generalized GeDS models.
|
|
63
|
+
- Delegate all statistical fitting, prediction, coefficient extraction, and
|
|
64
|
+
knot extraction to the GeDS R package.
|
|
65
|
+
- Support pandas and NumPy inputs, numeric and categorical parametric terms,
|
|
66
|
+
sample weights, model serialization, and environment diagnostics.
|
|
67
|
+
- Support Windows and Linux with R 4.6.1 and Python 3.10 or 3.12 in CI.
|
|
68
|
+
- Add a nonlinear regression example illustrating adaptive knot placement.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "If you use GeDS for Python, please cite this software and the GeDS methodology references."
|
|
3
|
+
title: "GeDS for Python"
|
|
4
|
+
type: software
|
|
5
|
+
version: 0.1.0
|
|
6
|
+
license: GPL-3.0-only
|
|
7
|
+
repository-code: "https://github.com/emilioluissaenzguillen/GeDS-python"
|
|
8
|
+
authors:
|
|
9
|
+
- family-names: Dimitrova
|
|
10
|
+
given-names: "Dimitrina S."
|
|
11
|
+
- family-names: Kaishev
|
|
12
|
+
given-names: "Vladimir K."
|
|
13
|
+
- family-names: Lattuada
|
|
14
|
+
given-names: Andrea
|
|
15
|
+
- family-names: "Sáenz Guillén"
|
|
16
|
+
given-names: "Emilio L."
|
|
17
|
+
email: "emilioluissaenzguillen@gmail.com"
|
|
18
|
+
- family-names: Verrall
|
|
19
|
+
given-names: "Richard J."
|