structureboost 0.5.0__tar.gz → 0.6.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.
Files changed (39) hide show
  1. {structureboost-0.5.0 → structureboost-0.6.0}/LICENSE +2 -2
  2. structureboost-0.6.0/PKG-INFO +46 -0
  3. structureboost-0.6.0/README.md +23 -0
  4. structureboost-0.6.0/pyproject.toml +30 -0
  5. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/__init__.py +1 -1
  6. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/coarsage.c +9605 -9834
  7. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/graphs.c +7909 -8833
  8. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/pdf_discrete.c +5838 -5436
  9. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/pdf_group.c +5398 -4805
  10. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/prob_regr_unit.c +2957 -2235
  11. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/prob_regressor.c +5741 -5415
  12. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/structure_dt.c +15555 -17175
  13. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/structure_dt_multi.c +4674 -4052
  14. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/structure_gb.c +12541 -13518
  15. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/structure_gb_multi.c +9710 -9782
  16. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/tests/test_shap.py +2 -2
  17. structureboost-0.6.0/structureboost.egg-info/PKG-INFO +46 -0
  18. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost.egg-info/SOURCES.txt +1 -0
  19. structureboost-0.6.0/structureboost.egg-info/requires.txt +11 -0
  20. structureboost-0.5.0/PKG-INFO +0 -15
  21. structureboost-0.5.0/pyproject.toml +0 -16
  22. structureboost-0.5.0/structureboost.egg-info/PKG-INFO +0 -15
  23. structureboost-0.5.0/structureboost.egg-info/requires.txt +0 -11
  24. {structureboost-0.5.0 → structureboost-0.6.0}/README.rst +0 -0
  25. {structureboost-0.5.0 → structureboost-0.6.0}/setup.cfg +0 -0
  26. {structureboost-0.5.0 → structureboost-0.6.0}/setup.py +0 -0
  27. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/tests/__init__.py +0 -0
  28. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/tests/test_basics.py +0 -0
  29. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/tests/test_coarsage_1.py +0 -0
  30. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/tests/test_dt.py +0 -0
  31. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/tests/test_gb.py +0 -0
  32. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/tests/test_graphs.py +0 -0
  33. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/tests/test_multi_1.py +0 -0
  34. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/tests/test_pdfgroup1.py +0 -0
  35. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/tests/test_predict_options.py +0 -0
  36. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/tests/test_prob_reg_1.py +0 -0
  37. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost/utils.py +0 -0
  38. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost.egg-info/dependency_links.txt +0 -0
  39. {structureboost-0.5.0 → structureboost-0.6.0}/structureboost.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 numeristical
3
+ Copyright (c) 2025 Brian Lucena
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: structureboost
3
+ Version: 0.6.0
4
+ Summary: Gradient Boosting and Probabilistic Regression with categorical structure
5
+ Author-email: Brian Lucena <brian@numeristical.com>
6
+ License-Expression: MIT
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: pandas>=1.3
13
+ Requires-Dist: numpy>=1.23.5
14
+ Requires-Dist: scipy>=1.6
15
+ Requires-Dist: matplotlib>=1.0
16
+ Requires-Dist: joblib>=0.14.1
17
+ Requires-Dist: ml_insights>=1.0.5
18
+ Provides-Extra: dev
19
+ Requires-Dist: Cython>=3.1.0b1; extra == "dev"
20
+ Requires-Dist: build; extra == "dev"
21
+ Requires-Dist: setuptools; extra == "dev"
22
+ Dynamic: license-file
23
+
24
+ # StructureBoost
25
+
26
+ StructureBoost is a package to do Gradient Boosting in a manner that exploits the **structure** of categorical variables.
27
+
28
+ Have you ever used "US state" as a variable in a prediction problem and thought "Why can't my algorithm use the geography of the states to make better predictions?"
29
+
30
+ Or you've used the month of the year as a predictor, but noticed that January should border December the same way that June borders July. (or hour of the day, or day of the week)
31
+
32
+ StructureBoost can help. Read the documentation and references below. Or dive into some [examples](https://github.com/numeristical/structureboost/tree/master/examples)
33
+
34
+ ## Video Lectures
35
+
36
+ There are some explanatory videos on the [Numeristical Youtube Channel](https://www.youtube.com/channel/UCfsbASar8nsLs4NbhQwuaVg)
37
+
38
+
39
+ ## Documentation
40
+ [Read the Docs](https://structureboost.readthedocs.io/)
41
+
42
+ ## References:
43
+
44
+ Lucena, B. "Exploiting Categorical Structure with Tree-Based Methods. Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, PMLR 108:2949-2958, 2020. [http://proceedings.mlr.press/v108/lucena20a/lucena20a.pdf](http://proceedings.mlr.press/v108/lucena20a/lucena20a.pdf)
45
+
46
+ Lucena, B. "StructureBoost: Efficient Gradient Boosting for Structured Categorical Variables." [https://arxiv.org/abs/2007.04446](https://arxiv.org/abs/2007.04446)
@@ -0,0 +1,23 @@
1
+ # StructureBoost
2
+
3
+ StructureBoost is a package to do Gradient Boosting in a manner that exploits the **structure** of categorical variables.
4
+
5
+ Have you ever used "US state" as a variable in a prediction problem and thought "Why can't my algorithm use the geography of the states to make better predictions?"
6
+
7
+ Or you've used the month of the year as a predictor, but noticed that January should border December the same way that June borders July. (or hour of the day, or day of the week)
8
+
9
+ StructureBoost can help. Read the documentation and references below. Or dive into some [examples](https://github.com/numeristical/structureboost/tree/master/examples)
10
+
11
+ ## Video Lectures
12
+
13
+ There are some explanatory videos on the [Numeristical Youtube Channel](https://www.youtube.com/channel/UCfsbASar8nsLs4NbhQwuaVg)
14
+
15
+
16
+ ## Documentation
17
+ [Read the Docs](https://structureboost.readthedocs.io/)
18
+
19
+ ## References:
20
+
21
+ Lucena, B. "Exploiting Categorical Structure with Tree-Based Methods. Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, PMLR 108:2949-2958, 2020. [http://proceedings.mlr.press/v108/lucena20a/lucena20a.pdf](http://proceedings.mlr.press/v108/lucena20a/lucena20a.pdf)
22
+
23
+ Lucena, B. "StructureBoost: Efficient Gradient Boosting for Structured Categorical Variables." [https://arxiv.org/abs/2007.04446](https://arxiv.org/abs/2007.04446)
@@ -0,0 +1,30 @@
1
+ [project]
2
+
3
+
4
+ name = "structureboost"
5
+ version = "0.6.0"
6
+ dependencies = ["pandas>=1.3",
7
+ "numpy>=1.23.5",
8
+ "scipy>=1.6",
9
+ "matplotlib>=1.0",
10
+ "joblib>=0.14.1",
11
+ "ml_insights>=1.0.5"
12
+ ]
13
+ authors = [
14
+ { name="Brian Lucena", email="brian@numeristical.com" },
15
+ ]
16
+ description = "Gradient Boosting and Probabilistic Regression with categorical structure"
17
+ readme = "README.md"
18
+ requires-python = ">=3.8"
19
+ classifiers = [
20
+ "Programming Language :: Python :: 3",
21
+ "Operating System :: OS Independent",
22
+ ]
23
+ license = "MIT"
24
+ license-files = ["LICEN[CS]E*"]
25
+
26
+ [project.optional-dependencies]
27
+ dev = ["Cython>=3.1.0b1", "build", "setuptools"]
28
+
29
+ [build-system]
30
+ requires = ["setuptools", "wheel", "Cython>=3.1.0b1","numpy>=2.0.0","scipy>=1.15",]
@@ -14,4 +14,4 @@ from pdf_discrete import PdfDiscrete, average_densities
14
14
  from pdf_group import PdfGroup, log_loss_pdf, test_between_quantiles_pdf, test_in_pred_regions
15
15
  from .utils import get_basic_config, apply_defaults, default_config_dict, ice_plot, log_loss
16
16
 
17
- __version__ = '0.5.0'
17
+ __version__ = '0.6.0'