structureboost 0.4.7__tar.gz → 0.5.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.
- structureboost-0.5.0/PKG-INFO +15 -0
- structureboost-0.5.0/pyproject.toml +16 -0
- {structureboost-0.4.7 → structureboost-0.5.0}/setup.py +1 -45
- {structureboost-0.4.7 → structureboost-0.5.0}/structureboost/__init__.py +3 -3
- structureboost-0.5.0/structureboost/coarsage.c +33289 -0
- structureboost-0.5.0/structureboost/graphs.c +42616 -0
- structureboost-0.5.0/structureboost/pdf_discrete.c +22069 -0
- structureboost-0.5.0/structureboost/pdf_group.c +20563 -0
- structureboost-0.5.0/structureboost/prob_regr_unit.c +10481 -0
- structureboost-0.5.0/structureboost/prob_regressor.c +21675 -0
- {structureboost-0.4.7 → structureboost-0.5.0}/structureboost/structure_dt.c +54199 -46910
- structureboost-0.5.0/structureboost/structure_dt_multi.c +19633 -0
- {structureboost-0.4.7 → structureboost-0.5.0}/structureboost/structure_gb.c +48397 -40564
- {structureboost-0.4.7 → structureboost-0.5.0}/structureboost/structure_gb_multi.c +38813 -31803
- structureboost-0.5.0/structureboost/tests/__init__.py +0 -0
- structureboost-0.5.0/structureboost/tests/test_basics.py +55 -0
- structureboost-0.5.0/structureboost/tests/test_coarsage_1.py +77 -0
- structureboost-0.5.0/structureboost/tests/test_dt.py +24 -0
- structureboost-0.5.0/structureboost/tests/test_gb.py +312 -0
- structureboost-0.5.0/structureboost/tests/test_graphs.py +57 -0
- structureboost-0.5.0/structureboost/tests/test_multi_1.py +208 -0
- structureboost-0.5.0/structureboost/tests/test_pdfgroup1.py +20 -0
- structureboost-0.5.0/structureboost/tests/test_predict_options.py +87 -0
- structureboost-0.5.0/structureboost/tests/test_prob_reg_1.py +58 -0
- structureboost-0.5.0/structureboost/tests/test_shap.py +118 -0
- structureboost-0.5.0/structureboost.egg-info/PKG-INFO +15 -0
- {structureboost-0.4.7 → structureboost-0.5.0}/structureboost.egg-info/SOURCES.txt +12 -4
- structureboost-0.5.0/structureboost.egg-info/requires.txt +11 -0
- {structureboost-0.4.7 → structureboost-0.5.0}/structureboost.egg-info/top_level.txt +0 -2
- structureboost-0.4.7/PKG-INFO +0 -44
- structureboost-0.4.7/pyproject.toml +0 -2
- structureboost-0.4.7/structureboost/coarsage.c +0 -28006
- structureboost-0.4.7/structureboost/graphs.c +0 -36216
- structureboost-0.4.7/structureboost/pdf_discrete.c +0 -17515
- structureboost-0.4.7/structureboost/pdf_group.c +0 -15908
- structureboost-0.4.7/structureboost/prob_regr_unit.c +0 -7801
- structureboost-0.4.7/structureboost/prob_regressor.c +0 -17129
- structureboost-0.4.7/structureboost/structure_dt_multi.c +0 -15627
- structureboost-0.4.7/structureboost/structure_rf.c +0 -18182
- structureboost-0.4.7/structureboost/structure_rfdt.c +0 -17163
- structureboost-0.4.7/structureboost.egg-info/PKG-INFO +0 -44
- structureboost-0.4.7/structureboost.egg-info/not-zip-safe +0 -1
- structureboost-0.4.7/structureboost.egg-info/requires.txt +0 -6
- {structureboost-0.4.7 → structureboost-0.5.0}/LICENSE +0 -0
- {structureboost-0.4.7 → structureboost-0.5.0}/README.rst +0 -0
- {structureboost-0.4.7 → structureboost-0.5.0}/setup.cfg +0 -0
- {structureboost-0.4.7 → structureboost-0.5.0}/structureboost/utils.py +0 -0
- {structureboost-0.4.7 → structureboost-0.5.0}/structureboost.egg-info/dependency_links.txt +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: structureboost
|
|
3
|
+
Version: 0.5.0
|
|
4
|
+
License-File: LICENSE
|
|
5
|
+
Requires-Dist: pandas>=2.0
|
|
6
|
+
Requires-Dist: numpy>=1.16
|
|
7
|
+
Requires-Dist: scipy>=1.3
|
|
8
|
+
Requires-Dist: matplotlib>=1.0
|
|
9
|
+
Requires-Dist: joblib>=0.14.1
|
|
10
|
+
Requires-Dist: ml_insights>=1.0.0
|
|
11
|
+
Provides-Extra: dev
|
|
12
|
+
Requires-Dist: Cython>=3.0.0; extra == "dev"
|
|
13
|
+
Requires-Dist: build; extra == "dev"
|
|
14
|
+
Requires-Dist: setuptools; extra == "dev"
|
|
15
|
+
Dynamic: license-file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "structureboost"
|
|
3
|
+
version = "0.5.0"
|
|
4
|
+
dependencies = ["pandas>=2.0",
|
|
5
|
+
"numpy>=1.16",
|
|
6
|
+
"scipy>=1.3",
|
|
7
|
+
"matplotlib>=1.0",
|
|
8
|
+
"joblib>=0.14.1",
|
|
9
|
+
"ml_insights>=1.0.0"
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
[project.optional-dependencies]
|
|
13
|
+
dev = ["Cython>=3.0.0", "build", "setuptools"]
|
|
14
|
+
|
|
15
|
+
[build-system]
|
|
16
|
+
requires = ["setuptools", "wheel", "Cython>=3.0.0","numpy>=2.0.0"]
|
|
@@ -1,48 +1,16 @@
|
|
|
1
1
|
"""Setup for the structureboost package."""
|
|
2
2
|
|
|
3
3
|
from setuptools import Extension, setup
|
|
4
|
+
from Cython.Build import cythonize
|
|
4
5
|
import numpy
|
|
5
6
|
|
|
6
|
-
with open('README.md') as f:
|
|
7
|
-
README = f.read()
|
|
8
|
-
|
|
9
|
-
requirements = [
|
|
10
|
-
"pandas>=1.0",
|
|
11
|
-
"numpy>=1.16, <2",
|
|
12
|
-
"scipy>=1.3",
|
|
13
|
-
"matplotlib>=1.0",
|
|
14
|
-
"joblib>=0.14.1",
|
|
15
|
-
"ml_insights>=1.0.0"
|
|
16
|
-
]
|
|
17
|
-
|
|
18
7
|
setup(
|
|
19
|
-
author="Brian Lucena",
|
|
20
|
-
author_email="brianlucena@gmail.com",
|
|
21
|
-
name='structureboost',
|
|
22
|
-
license="MIT",
|
|
23
|
-
license_files=['LICENSE'],
|
|
24
|
-
description="StructureBoost is a Python package for gradient boosting using categorical structure. See documentation at: https://structureboost.readthedocs.io/",
|
|
25
|
-
version='0.4.7',
|
|
26
|
-
long_description=README,
|
|
27
|
-
zip_safe=False,
|
|
28
|
-
url='https://github.com/numeristical/structureboost',
|
|
29
|
-
packages=['structureboost'],
|
|
30
|
-
package_dir={'structureboost':
|
|
31
|
-
'structureboost'},
|
|
32
|
-
python_requires=">=3.5",
|
|
33
|
-
install_requires=requirements,
|
|
34
8
|
ext_modules=[Extension("graphs",
|
|
35
9
|
["structureboost/graphs.c"],
|
|
36
10
|
include_dirs=[numpy.get_include()]),
|
|
37
11
|
Extension("structure_dt",
|
|
38
12
|
["structureboost/structure_dt.c"],
|
|
39
13
|
include_dirs=[numpy.get_include()]),
|
|
40
|
-
Extension("structure_rfdt",
|
|
41
|
-
["structureboost/structure_rfdt.c"],
|
|
42
|
-
include_dirs=[numpy.get_include()]),
|
|
43
|
-
Extension("structure_rf",
|
|
44
|
-
["structureboost/structure_rf.c"],
|
|
45
|
-
include_dirs=[numpy.get_include()]),
|
|
46
14
|
Extension("structure_gb",
|
|
47
15
|
["structureboost/structure_gb.c"],
|
|
48
16
|
include_dirs=[numpy.get_include()]),
|
|
@@ -67,16 +35,4 @@ setup(
|
|
|
67
35
|
Extension("structure_dt_multi",
|
|
68
36
|
["structureboost/structure_dt_multi.c"],
|
|
69
37
|
include_dirs=[numpy.get_include()])],
|
|
70
|
-
classifiers=[
|
|
71
|
-
'Development Status :: 2 - Pre-Alpha',
|
|
72
|
-
'Intended Audience :: Developers',
|
|
73
|
-
'License :: OSI Approved :: MIT License',
|
|
74
|
-
'Natural Language :: English',
|
|
75
|
-
'Programming Language :: Python :: 3',
|
|
76
|
-
'Programming Language :: Python :: 3.5',
|
|
77
|
-
'Programming Language :: Python :: 3.6',
|
|
78
|
-
'Programming Language :: Python :: 3.7',
|
|
79
|
-
'Programming Language :: Python :: 3.8',
|
|
80
|
-
'Programming Language :: Python :: 3.9',
|
|
81
|
-
]
|
|
82
38
|
)
|
|
@@ -5,8 +5,8 @@ from structure_gb import StructureBoost
|
|
|
5
5
|
from structure_gb_multi import StructureBoostMulti
|
|
6
6
|
from structure_dt import StructureDecisionTree
|
|
7
7
|
from structure_dt_multi import StructureDecisionTreeMulti
|
|
8
|
-
from structure_rf import StructureRF
|
|
9
|
-
from structure_rfdt import StructureRFDecisionTree
|
|
8
|
+
# from structure_rf import StructureRF
|
|
9
|
+
# from structure_rfdt import StructureRFDecisionTree
|
|
10
10
|
from prob_regr_unit import ProbRegressorUnit
|
|
11
11
|
from prob_regressor import PrestoBoost
|
|
12
12
|
from coarsage import Coarsage
|
|
@@ -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.
|
|
17
|
+
__version__ = '0.5.0'
|