ordboost 0.3.0__tar.gz → 0.3.0.dev0__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.
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/PKG-INFO +4 -5
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/README.md +2 -4
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/pyproject.toml +1 -0
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/src/ordboost/__init__.py +1 -15
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/src/ordboost/models.py +1 -1
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/src/ordboost.egg-info/PKG-INFO +4 -5
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/LICENSE +0 -0
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/setup.cfg +0 -0
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/src/ordboost/distributions.py +0 -0
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/src/ordboost/mappers.py +0 -0
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/src/ordboost/metrics.py +0 -0
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/src/ordboost.egg-info/SOURCES.txt +0 -0
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/src/ordboost.egg-info/dependency_links.txt +0 -0
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/src/ordboost.egg-info/requires.txt +0 -0
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/src/ordboost.egg-info/top_level.txt +0 -0
- {ordboost-0.3.0 → ordboost-0.3.0.dev0}/tests/test_metrics.py +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ordboost
|
|
3
|
-
Version: 0.3.0
|
|
3
|
+
Version: 0.3.0.dev0
|
|
4
4
|
Summary: Non-parametric discrete ordinal gradient boosting with probabilistic prediction calibration.
|
|
5
5
|
Author-email: Mathias Roesler <mathias.roesler@auckland.ac.nz>
|
|
6
6
|
License: Apache-2.0
|
|
7
7
|
Keywords: calibration,gradient-boosting,machine-learning,ordinal-regression,probabilistic-forecasting,scikit-learn
|
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
|
8
9
|
Classifier: Intended Audience :: Science/Research
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
10
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -61,9 +62,7 @@ By framing continuous regression as a dynamic ordinal binning problem, **ordboos
|
|
|
61
62
|
* **Non-Parametric Probabilistic Output**: Obtains complete predictive distribution objects capable of extracting probability mass functions (PMF), cumulative distribution functions (CDF), percentiles (`ppf`), and dynamic prediction intervals.
|
|
62
63
|
* **Flexible Continuous Target Mapping**: Maps continuous values to discrete target spaces using configurable binning strategies (`QuantileBinMapper`, `UniformBinMapper`, `EmpiricalMeanBinMapper`, `EmpiricalMedianBinMapper`, `ContinuousBinMapper`).
|
|
63
64
|
* **Monotonic Ordinal Constraints**: Supports constrained ordinal boosting (e.g., isotonic constraints) across sequential boundaries.
|
|
64
|
-
* **Probabilistic Evaluation**: Evaluates probabilistic predictions directly using CRPS (`crps_score`), quantile loss (`pinball_loss`), and
|
|
65
|
-
* **Prediction Intervals Measures**: Measures the prediction interval coverage (`interval_coverage_rate`), sharpness (`sharpness`), and Winkler score (`winkler_score`).
|
|
66
|
-
* **Calibration Diagnostics**: Computes marginal calibration (`marginal_calibration_curve`) and probabilistic calibration (`pit_diagnostics`).
|
|
65
|
+
* **Built-in Probabilistic Evaluation**: Evaluates probabilistic predictions directly using CRPS (`crps_score`), quantile loss (`pinball_loss`), prediction interval coverage (`interval_coverage_rate`), and Winkler scores (`winkler_score`).
|
|
67
66
|
|
|
68
67
|
---
|
|
69
68
|
|
|
@@ -174,4 +173,4 @@ for i in range(len(X_test)):
|
|
|
174
173
|
|
|
175
174
|
## Acknowledgements
|
|
176
175
|
|
|
177
|
-
This package was developed using Gemini 3.6 Thinking
|
|
176
|
+
This package was developed using Gemini 3.6 Thinking. The code was reviewed and edited by humans.
|
|
@@ -29,9 +29,7 @@ By framing continuous regression as a dynamic ordinal binning problem, **ordboos
|
|
|
29
29
|
* **Non-Parametric Probabilistic Output**: Obtains complete predictive distribution objects capable of extracting probability mass functions (PMF), cumulative distribution functions (CDF), percentiles (`ppf`), and dynamic prediction intervals.
|
|
30
30
|
* **Flexible Continuous Target Mapping**: Maps continuous values to discrete target spaces using configurable binning strategies (`QuantileBinMapper`, `UniformBinMapper`, `EmpiricalMeanBinMapper`, `EmpiricalMedianBinMapper`, `ContinuousBinMapper`).
|
|
31
31
|
* **Monotonic Ordinal Constraints**: Supports constrained ordinal boosting (e.g., isotonic constraints) across sequential boundaries.
|
|
32
|
-
* **Probabilistic Evaluation**: Evaluates probabilistic predictions directly using CRPS (`crps_score`), quantile loss (`pinball_loss`), and
|
|
33
|
-
* **Prediction Intervals Measures**: Measures the prediction interval coverage (`interval_coverage_rate`), sharpness (`sharpness`), and Winkler score (`winkler_score`).
|
|
34
|
-
* **Calibration Diagnostics**: Computes marginal calibration (`marginal_calibration_curve`) and probabilistic calibration (`pit_diagnostics`).
|
|
32
|
+
* **Built-in Probabilistic Evaluation**: Evaluates probabilistic predictions directly using CRPS (`crps_score`), quantile loss (`pinball_loss`), prediction interval coverage (`interval_coverage_rate`), and Winkler scores (`winkler_score`).
|
|
35
33
|
|
|
36
34
|
---
|
|
37
35
|
|
|
@@ -142,4 +140,4 @@ for i in range(len(X_test)):
|
|
|
142
140
|
|
|
143
141
|
## Acknowledgements
|
|
144
142
|
|
|
145
|
-
This package was developed using Gemini 3.6 Thinking
|
|
143
|
+
This package was developed using Gemini 3.6 Thinking. The code was reviewed and edited by humans.
|
|
@@ -8,6 +8,7 @@ authors = [{ name = "Mathias Roesler", email = "mathias.roesler@auckland.ac.nz"
|
|
|
8
8
|
dynamic = ["version"]
|
|
9
9
|
keywords = ["calibration", "gradient-boosting", "machine-learning", "ordinal-regression", "probabilistic-forecasting", "scikit-learn"]
|
|
10
10
|
classifiers = [
|
|
11
|
+
"Development Status :: 3 - Alpha",
|
|
11
12
|
"Intended Audience :: Science/Research",
|
|
12
13
|
"Programming Language :: Python :: 3",
|
|
13
14
|
"Programming Language :: Python :: 3.10",
|
|
@@ -14,21 +14,14 @@ from ordboost.mappers import (
|
|
|
14
14
|
UniformBinMapper,
|
|
15
15
|
)
|
|
16
16
|
from ordboost.metrics import (
|
|
17
|
-
baseline_distribution,
|
|
18
17
|
crps_score,
|
|
19
|
-
crps_skill_score,
|
|
20
18
|
interval_coverage_rate,
|
|
21
|
-
marginal_calibration_curve,
|
|
22
19
|
pinball_loss,
|
|
23
|
-
pinball_loss_skill_score,
|
|
24
|
-
pit_diagnostics,
|
|
25
|
-
pit_ks_test,
|
|
26
|
-
sharpness,
|
|
27
20
|
winkler_score,
|
|
28
21
|
)
|
|
29
22
|
from ordboost.models import OrdBoostClassifier, OrdBoostRegressor
|
|
30
23
|
|
|
31
|
-
__version__ = "0.3.0"
|
|
24
|
+
__version__ = "0.3.0.dev0"
|
|
32
25
|
|
|
33
26
|
__all__ = [
|
|
34
27
|
# Models
|
|
@@ -46,15 +39,8 @@ __all__ = [
|
|
|
46
39
|
"DiscretePredictiveDistribution",
|
|
47
40
|
"ContinuousPredictiveDistribution",
|
|
48
41
|
# Metrics
|
|
49
|
-
"baseline_distribution",
|
|
50
42
|
"crps_score",
|
|
51
|
-
"crps_skill_score",
|
|
52
43
|
"interval_coverage_rate",
|
|
53
|
-
"marginal_calibration_curve",
|
|
54
|
-
"sharpness",
|
|
55
44
|
"pinball_loss",
|
|
56
|
-
"pinball_loss_skill_score",
|
|
57
|
-
"pit_diagnostics",
|
|
58
|
-
"pit_ks_test",
|
|
59
45
|
"winkler_score",
|
|
60
46
|
]
|
|
@@ -454,7 +454,7 @@ class OrdBoostRegressor(BaseEstimator, RegressorMixin):
|
|
|
454
454
|
bin_strategy : {"quantile", "uniform"}, default="quantile"
|
|
455
455
|
Strategy used to define automatic bin boundaries when `bin_edges`
|
|
456
456
|
is None.
|
|
457
|
-
mapper :
|
|
457
|
+
mapper : {"median", "mean", "quantile", "uniform", "continuous"}, BaseBinMapper, or None, default="median"
|
|
458
458
|
Bin mapping strategy used to convert predicted PMFs back to
|
|
459
459
|
continuous predictions. A string selects the corresponding
|
|
460
460
|
`BaseBinMapper` subclass, constructed automatically with
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ordboost
|
|
3
|
-
Version: 0.3.0
|
|
3
|
+
Version: 0.3.0.dev0
|
|
4
4
|
Summary: Non-parametric discrete ordinal gradient boosting with probabilistic prediction calibration.
|
|
5
5
|
Author-email: Mathias Roesler <mathias.roesler@auckland.ac.nz>
|
|
6
6
|
License: Apache-2.0
|
|
7
7
|
Keywords: calibration,gradient-boosting,machine-learning,ordinal-regression,probabilistic-forecasting,scikit-learn
|
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
|
8
9
|
Classifier: Intended Audience :: Science/Research
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
10
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -61,9 +62,7 @@ By framing continuous regression as a dynamic ordinal binning problem, **ordboos
|
|
|
61
62
|
* **Non-Parametric Probabilistic Output**: Obtains complete predictive distribution objects capable of extracting probability mass functions (PMF), cumulative distribution functions (CDF), percentiles (`ppf`), and dynamic prediction intervals.
|
|
62
63
|
* **Flexible Continuous Target Mapping**: Maps continuous values to discrete target spaces using configurable binning strategies (`QuantileBinMapper`, `UniformBinMapper`, `EmpiricalMeanBinMapper`, `EmpiricalMedianBinMapper`, `ContinuousBinMapper`).
|
|
63
64
|
* **Monotonic Ordinal Constraints**: Supports constrained ordinal boosting (e.g., isotonic constraints) across sequential boundaries.
|
|
64
|
-
* **Probabilistic Evaluation**: Evaluates probabilistic predictions directly using CRPS (`crps_score`), quantile loss (`pinball_loss`), and
|
|
65
|
-
* **Prediction Intervals Measures**: Measures the prediction interval coverage (`interval_coverage_rate`), sharpness (`sharpness`), and Winkler score (`winkler_score`).
|
|
66
|
-
* **Calibration Diagnostics**: Computes marginal calibration (`marginal_calibration_curve`) and probabilistic calibration (`pit_diagnostics`).
|
|
65
|
+
* **Built-in Probabilistic Evaluation**: Evaluates probabilistic predictions directly using CRPS (`crps_score`), quantile loss (`pinball_loss`), prediction interval coverage (`interval_coverage_rate`), and Winkler scores (`winkler_score`).
|
|
67
66
|
|
|
68
67
|
---
|
|
69
68
|
|
|
@@ -174,4 +173,4 @@ for i in range(len(X_test)):
|
|
|
174
173
|
|
|
175
174
|
## Acknowledgements
|
|
176
175
|
|
|
177
|
-
This package was developed using Gemini 3.6 Thinking
|
|
176
|
+
This package was developed using Gemini 3.6 Thinking. The code was reviewed and edited by humans.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|