pdstools 4.5.2__tar.gz → 4.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.
- {pdstools-4.5.2 → pdstools-4.6.0}/PKG-INFO +4 -6
- {pdstools-4.5.2 → pdstools-4.6.0}/README.md +0 -1
- {pdstools-4.5.2 → pdstools-4.6.0}/pdstools.egg-info/PKG-INFO +4 -6
- {pdstools-4.5.2 → pdstools-4.6.0}/pdstools.egg-info/SOURCES.txt +17 -12
- {pdstools-4.5.2 → pdstools-4.6.0}/pdstools.egg-info/requires.txt +1 -6
- {pdstools-4.5.2 → pdstools-4.6.0}/pyproject.toml +22 -10
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/__init__.py +9 -9
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/ADMDatamart.py +109 -108
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/ADMTrees.py +238 -264
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/Aggregates.py +134 -161
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/BinAggregator.py +131 -162
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/Plots.py +195 -174
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/Reports.py +71 -88
- pdstools-4.6.0/python/pdstools/app/assets/pega-logo.svg +32 -0
- pdstools-4.6.0/python/pdstools/app/decision_analyzer/Home.py +187 -0
- pdstools-4.6.0/python/pdstools/app/decision_analyzer/da_streamlit_utils.py +601 -0
- pdstools-4.6.0/python/pdstools/app/decision_analyzer/pages/10_Arbitration_Component_Distribution.py +122 -0
- pdstools-4.6.0/python/pdstools/app/decision_analyzer/pages/1_Global_Data_Filters.py +107 -0
- pdstools-4.6.0/python/pdstools/app/decision_analyzer/pages/2_Overview.py +84 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/decision_analyzer/pages/3_Action_Distribution.py +31 -33
- pdstools-4.6.0/python/pdstools/app/decision_analyzer/pages/4_Action_Funnel.py +191 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/decision_analyzer/pages/5_Global_Sensitivity.py +12 -11
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/decision_analyzer/pages/6_Win_Loss_Analysis.py +22 -29
- pdstools-4.6.0/python/pdstools/app/decision_analyzer/pages/8_Offer_Quality_Analysis.py +105 -0
- pdstools-4.6.0/python/pdstools/app/decision_analyzer/pages/9_Thresholding_Analysis.py +210 -0
- pdstools-4.6.0/python/pdstools/app/health_check/Home.py +102 -0
- pdstools-4.5.2/python/pdstools/app/health_check/pages/2_Data_Filters.py → pdstools-4.6.0/python/pdstools/app/health_check/pages/1_Data_Filters.py +17 -7
- pdstools-4.5.2/python/pdstools/app/health_check/pages/3_Reports.py → pdstools-4.6.0/python/pdstools/app/health_check/pages/2_Reports.py +17 -21
- pdstools-4.6.0/python/pdstools/app/health_check/pages/3_About.py +6 -0
- pdstools-4.6.0/python/pdstools/app/impact_analyzer/Home.py +151 -0
- pdstools-4.6.0/python/pdstools/app/impact_analyzer/ia_streamlit_utils.py +67 -0
- pdstools-4.6.0/python/pdstools/app/impact_analyzer/pages/1_Overall_Summary.py +32 -0
- pdstools-4.6.0/python/pdstools/app/impact_analyzer/pages/2_Trend.py +42 -0
- pdstools-4.6.0/python/pdstools/app/impact_analyzer/pages/3_About.py +6 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/cli.py +78 -25
- pdstools-4.5.2/python/pdstools/decision_analyzer/decision_data.py → pdstools-4.6.0/python/pdstools/decision_analyzer/DecisionAnalyzer.py +724 -467
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/decision_analyzer/__init__.py +2 -2
- pdstools-4.5.2/python/pdstools/decision_analyzer/table_definition.py → pdstools-4.6.0/python/pdstools/decision_analyzer/column_schema.py +89 -99
- pdstools-4.6.0/python/pdstools/decision_analyzer/data_read_utils.py +196 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/decision_analyzer/plots.py +425 -227
- pdstools-4.6.0/python/pdstools/decision_analyzer/utils.py +665 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/Aggregate.py +72 -88
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/Explanations.py +11 -8
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/ExplanationsUtils.py +31 -30
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/FilterWidget.py +43 -40
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/Plots.py +47 -49
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/Preprocess.py +32 -48
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/Reports.py +11 -6
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/queries/create.sql +1 -1
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/queries/model_contexts.sql +3 -3
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/queries/numeric.sql +3 -4
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/queries/numeric_overall.sql +2 -3
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/queries/symbolic.sql +3 -3
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/queries/symbolic_overall.sql +2 -3
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/ih/Aggregates.py +37 -54
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/ih/IH.py +85 -106
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/ih/Plots.py +62 -57
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/ih/__init__.py +1 -1
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/impactanalyzer/ImpactAnalyzer.py +81 -78
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/impactanalyzer/Plots.py +31 -29
- pdstools-4.6.0/python/pdstools/infinity/__init__.py +56 -0
- pdstools-4.6.0/python/pdstools/infinity/client.py +113 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/internal/_auth.py +5 -4
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/internal/_base_client.py +268 -105
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/internal/_exceptions.py +16 -9
- pdstools-4.6.0/python/pdstools/infinity/internal/_pagination.py +311 -0
- pdstools-4.6.0/python/pdstools/infinity/internal/_resource.py +210 -0
- pdstools-4.6.0/python/pdstools/infinity/resources/__init__.py +4 -0
- pdstools-4.6.0/python/pdstools/infinity/resources/knowledge_buddy/__init__.py +3 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/knowledge_buddy/knowledge_buddy.py +69 -41
- pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/__init__.py +34 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/base.py +108 -57
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/local_model_utils.py +127 -120
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/types.py +1 -1
- pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_1/__init__.py +15 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/v24_1/prediction.py +30 -9
- pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_1/prediction_studio.py +49 -0
- pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_1/repository.py +14 -0
- pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_2/__init__.py +21 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/v24_2/champion_challenger.py +413 -307
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/v24_2/datamart_export.py +26 -14
- pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_2/model.py +128 -0
- pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_2/prediction.py +603 -0
- pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_2/prediction_studio.py +530 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/v24_2/repository.py +12 -1
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/pega_io/API.py +1 -1
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/pega_io/Anonymization.py +45 -49
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/pega_io/File.py +57 -55
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/pega_io/S3.py +24 -13
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/prediction/Prediction.py +132 -145
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/_quarto.yml +2 -3
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/assets/templates/all_context_content.qmd +1 -1
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/assets/templates/all_context_header.qmd +1 -1
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/assets/templates/getting-started.qmd +1 -1
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/assets/templates/overview.qmd +3 -3
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/scripts/generate_report.py +9 -30
- pdstools-4.6.0/python/pdstools/reports/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/assets/pega-report-overrides.css +1 -1
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/resources/__init__.py +1 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/cdh_utils.py +217 -212
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/datasets.py +8 -7
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/metric_limits.py +53 -71
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/namespaces.py +7 -8
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/number_format.py +20 -14
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/pega_template.py +0 -1
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/plot_utils.py +7 -5
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/polars_ext.py +6 -7
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/report_utils.py +106 -98
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/show_versions.py +20 -28
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/streamlit_utils.py +246 -39
- pdstools-4.6.0/python/pdstools/utils/types.py +7 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/valuefinder/Aggregates.py +6 -9
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/valuefinder/Plots.py +57 -45
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/valuefinder/Schema.py +1 -1
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/valuefinder/ValueFinder.py +28 -22
- pdstools-4.6.0/python/pdstools/valuefinder/__init__.py +0 -0
- pdstools-4.5.2/python/pdstools/app/decision_analyzer/Home.py +0 -94
- pdstools-4.5.2/python/pdstools/app/decision_analyzer/da_streamlit_utils.py +0 -366
- pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/10_Arbitration_Component_Distribution.py +0 -77
- pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/11_Business_Lever_Analysis.py +0 -320
- pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/1_Global_Filters.py +0 -76
- pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/2_Global_Dashboard.py +0 -115
- pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/4_Action_Funnel.py +0 -179
- pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/7_Personalization_Analysis.py +0 -135
- pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/unfinished_pages/8_Offer_Quality_Analysis.py +0 -119
- pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/unfinished_pages/9_Thresholding_Analysis.py +0 -108
- pdstools-4.5.2/python/pdstools/app/health_check/Home.py +0 -59
- pdstools-4.5.2/python/pdstools/app/health_check/pages/1_Data_Import.py +0 -63
- pdstools-4.5.2/python/pdstools/decision_analyzer/data_read_utils.py +0 -177
- pdstools-4.5.2/python/pdstools/decision_analyzer/utils.py +0 -553
- pdstools-4.5.2/python/pdstools/infinity/__init__.py +0 -48
- pdstools-4.5.2/python/pdstools/infinity/client.py +0 -61
- pdstools-4.5.2/python/pdstools/infinity/internal/_pagination.py +0 -191
- pdstools-4.5.2/python/pdstools/infinity/internal/_resource.py +0 -100
- pdstools-4.5.2/python/pdstools/infinity/resources/__init__.py +0 -4
- pdstools-4.5.2/python/pdstools/infinity/resources/knowledge_buddy/__init__.py +0 -3
- pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/__init__.py +0 -24
- pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/async_base.py +0 -71
- pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_1/__init__.py +0 -11
- pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_1/prediction_studio.py +0 -26
- pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_1/repository.py +0 -7
- pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_2/__init__.py +0 -4
- pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_2/model.py +0 -76
- pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_2/prediction.py +0 -390
- pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_2/prediction_studio.py +0 -318
- pdstools-4.5.2/python/pdstools/utils/types.py +0 -7
- {pdstools-4.5.2 → pdstools-4.6.0}/LICENSE +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/pdstools.egg-info/dependency_links.txt +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/pdstools.egg-info/entry_points.txt +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/pdstools.egg-info/top_level.txt +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/Schema.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/decision_analyzer/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/decision_analyzer/pages/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/health_check/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/health_check/pages/__init__.py +0 -0
- {pdstools-4.5.2/python/pdstools/explanations/resources/queries → pdstools-4.6.0/python/pdstools/app/impact_analyzer}/__init__.py +0 -0
- {pdstools-4.5.2/python/pdstools/infinity/internal → pdstools-4.6.0/python/pdstools/app/impact_analyzer/pages}/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/__init__.py +0 -0
- {pdstools-4.5.2/python/pdstools/reports → pdstools-4.6.0/python/pdstools/explanations/resources/queries}/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/impactanalyzer/__init__.py +0 -0
- {pdstools-4.5.2/python/pdstools/valuefinder → pdstools-4.6.0/python/pdstools/infinity/internal}/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/internal/_constants.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/v24_2/model_upload.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/pega_io/__init__.py +4 -4
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/prediction/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/py.typed +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/assets/templates/context.qmd +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/scripts/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/HealthCheck.qmd +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/ModelReport.qmd +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/resources/MetricLimits.csv +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/__init__.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/errors.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/table_definitions.py +0 -0
- {pdstools-4.5.2 → pdstools-4.6.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pdstools
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.6.0
|
|
4
4
|
Summary: Open source tooling that helps Data Scientists to analyze Pega models and conduct impactful analyses.
|
|
5
5
|
Author-email: Stijn Kas <stijn.kas@pega.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -12,7 +12,7 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
14
14
|
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Requires-Python: <3.14,>=3.
|
|
15
|
+
Requires-Python: <3.14,>=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
Requires-Dist: polars!=1.35.1,<=1.36.1,>=1.30
|
|
@@ -50,9 +50,8 @@ Requires-Dist: scikit-learn>=1.6.1; extra == "onnx"
|
|
|
50
50
|
Requires-Dist: skl2onnx>=1.19.1; extra == "onnx"
|
|
51
51
|
Requires-Dist: onnx<1.20,>=1.18; extra == "onnx"
|
|
52
52
|
Requires-Dist: pdstools[api]; extra == "onnx"
|
|
53
|
-
Requires-Dist: onnxruntime
|
|
54
|
-
Requires-Dist:
|
|
55
|
-
Requires-Dist: scipy>=1.15.3; python_full_version >= "3.10" and extra == "onnx"
|
|
53
|
+
Requires-Dist: onnxruntime<1.24,>=1.22; extra == "onnx"
|
|
54
|
+
Requires-Dist: scipy>=1.15.3; extra == "onnx"
|
|
56
55
|
Provides-Extra: all
|
|
57
56
|
Requires-Dist: pdstools[app,explanations,onnx,pega_io]; extra == "all"
|
|
58
57
|
Provides-Extra: dev
|
|
@@ -131,4 +130,3 @@ The installation and getting started guide can be found [in the documentation](h
|
|
|
131
130
|
# Contributing
|
|
132
131
|
|
|
133
132
|
We love feedback. See [Contributing](https://github.com/pegasystems/pega-datascientist-tools/blob/master/CONTRIBUTING.md) for guidelines.
|
|
134
|
-
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pdstools
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.6.0
|
|
4
4
|
Summary: Open source tooling that helps Data Scientists to analyze Pega models and conduct impactful analyses.
|
|
5
5
|
Author-email: Stijn Kas <stijn.kas@pega.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -12,7 +12,7 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
14
14
|
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Requires-Python: <3.14,>=3.
|
|
15
|
+
Requires-Python: <3.14,>=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
Requires-Dist: polars!=1.35.1,<=1.36.1,>=1.30
|
|
@@ -50,9 +50,8 @@ Requires-Dist: scikit-learn>=1.6.1; extra == "onnx"
|
|
|
50
50
|
Requires-Dist: skl2onnx>=1.19.1; extra == "onnx"
|
|
51
51
|
Requires-Dist: onnx<1.20,>=1.18; extra == "onnx"
|
|
52
52
|
Requires-Dist: pdstools[api]; extra == "onnx"
|
|
53
|
-
Requires-Dist: onnxruntime
|
|
54
|
-
Requires-Dist:
|
|
55
|
-
Requires-Dist: scipy>=1.15.3; python_full_version >= "3.10" and extra == "onnx"
|
|
53
|
+
Requires-Dist: onnxruntime<1.24,>=1.22; extra == "onnx"
|
|
54
|
+
Requires-Dist: scipy>=1.15.3; extra == "onnx"
|
|
56
55
|
Provides-Extra: all
|
|
57
56
|
Requires-Dist: pdstools[app,explanations,onnx,pega_io]; extra == "all"
|
|
58
57
|
Provides-Extra: dev
|
|
@@ -131,4 +130,3 @@ The installation and getting started guide can be found [in the documentation](h
|
|
|
131
130
|
# Contributing
|
|
132
131
|
|
|
133
132
|
We love feedback. See [Contributing](https://github.com/pegasystems/pega-datascientist-tools/blob/master/CONTRIBUTING.md) for guidelines.
|
|
134
|
-
|
|
@@ -19,32 +19,38 @@ python/pdstools/adm/Reports.py
|
|
|
19
19
|
python/pdstools/adm/Schema.py
|
|
20
20
|
python/pdstools/adm/__init__.py
|
|
21
21
|
python/pdstools/app/__init__.py
|
|
22
|
+
python/pdstools/app/assets/pega-logo.svg
|
|
22
23
|
python/pdstools/app/decision_analyzer/Home.py
|
|
23
24
|
python/pdstools/app/decision_analyzer/__init__.py
|
|
24
25
|
python/pdstools/app/decision_analyzer/da_streamlit_utils.py
|
|
25
26
|
python/pdstools/app/decision_analyzer/pages/10_Arbitration_Component_Distribution.py
|
|
26
|
-
python/pdstools/app/decision_analyzer/pages/
|
|
27
|
-
python/pdstools/app/decision_analyzer/pages/
|
|
28
|
-
python/pdstools/app/decision_analyzer/pages/2_Global_Dashboard.py
|
|
27
|
+
python/pdstools/app/decision_analyzer/pages/1_Global_Data_Filters.py
|
|
28
|
+
python/pdstools/app/decision_analyzer/pages/2_Overview.py
|
|
29
29
|
python/pdstools/app/decision_analyzer/pages/3_Action_Distribution.py
|
|
30
30
|
python/pdstools/app/decision_analyzer/pages/4_Action_Funnel.py
|
|
31
31
|
python/pdstools/app/decision_analyzer/pages/5_Global_Sensitivity.py
|
|
32
32
|
python/pdstools/app/decision_analyzer/pages/6_Win_Loss_Analysis.py
|
|
33
|
-
python/pdstools/app/decision_analyzer/pages/
|
|
33
|
+
python/pdstools/app/decision_analyzer/pages/8_Offer_Quality_Analysis.py
|
|
34
|
+
python/pdstools/app/decision_analyzer/pages/9_Thresholding_Analysis.py
|
|
34
35
|
python/pdstools/app/decision_analyzer/pages/__init__.py
|
|
35
|
-
python/pdstools/app/decision_analyzer/pages/unfinished_pages/8_Offer_Quality_Analysis.py
|
|
36
|
-
python/pdstools/app/decision_analyzer/pages/unfinished_pages/9_Thresholding_Analysis.py
|
|
37
36
|
python/pdstools/app/health_check/Home.py
|
|
38
37
|
python/pdstools/app/health_check/__init__.py
|
|
39
|
-
python/pdstools/app/health_check/pages/
|
|
40
|
-
python/pdstools/app/health_check/pages/
|
|
41
|
-
python/pdstools/app/health_check/pages/
|
|
38
|
+
python/pdstools/app/health_check/pages/1_Data_Filters.py
|
|
39
|
+
python/pdstools/app/health_check/pages/2_Reports.py
|
|
40
|
+
python/pdstools/app/health_check/pages/3_About.py
|
|
42
41
|
python/pdstools/app/health_check/pages/__init__.py
|
|
42
|
+
python/pdstools/app/impact_analyzer/Home.py
|
|
43
|
+
python/pdstools/app/impact_analyzer/__init__.py
|
|
44
|
+
python/pdstools/app/impact_analyzer/ia_streamlit_utils.py
|
|
45
|
+
python/pdstools/app/impact_analyzer/pages/1_Overall_Summary.py
|
|
46
|
+
python/pdstools/app/impact_analyzer/pages/2_Trend.py
|
|
47
|
+
python/pdstools/app/impact_analyzer/pages/3_About.py
|
|
48
|
+
python/pdstools/app/impact_analyzer/pages/__init__.py
|
|
49
|
+
python/pdstools/decision_analyzer/DecisionAnalyzer.py
|
|
43
50
|
python/pdstools/decision_analyzer/__init__.py
|
|
51
|
+
python/pdstools/decision_analyzer/column_schema.py
|
|
44
52
|
python/pdstools/decision_analyzer/data_read_utils.py
|
|
45
|
-
python/pdstools/decision_analyzer/decision_data.py
|
|
46
53
|
python/pdstools/decision_analyzer/plots.py
|
|
47
|
-
python/pdstools/decision_analyzer/table_definition.py
|
|
48
54
|
python/pdstools/decision_analyzer/utils.py
|
|
49
55
|
python/pdstools/explanations/Aggregate.py
|
|
50
56
|
python/pdstools/explanations/Explanations.py
|
|
@@ -82,7 +88,6 @@ python/pdstools/infinity/resources/__init__.py
|
|
|
82
88
|
python/pdstools/infinity/resources/knowledge_buddy/__init__.py
|
|
83
89
|
python/pdstools/infinity/resources/knowledge_buddy/knowledge_buddy.py
|
|
84
90
|
python/pdstools/infinity/resources/prediction_studio/__init__.py
|
|
85
|
-
python/pdstools/infinity/resources/prediction_studio/async_base.py
|
|
86
91
|
python/pdstools/infinity/resources/prediction_studio/base.py
|
|
87
92
|
python/pdstools/infinity/resources/prediction_studio/local_model_utils.py
|
|
88
93
|
python/pdstools/infinity/resources/prediction_studio/types.py
|
|
@@ -58,12 +58,7 @@ scikit-learn>=1.6.1
|
|
|
58
58
|
skl2onnx>=1.19.1
|
|
59
59
|
onnx<1.20,>=1.18
|
|
60
60
|
pdstools[api]
|
|
61
|
-
|
|
62
|
-
[onnx:python_full_version < "3.10"]
|
|
63
|
-
onnxruntime==1.18.1
|
|
64
|
-
|
|
65
|
-
[onnx:python_full_version >= "3.10"]
|
|
66
|
-
onnxruntime>=1.22
|
|
61
|
+
onnxruntime<1.24,>=1.22
|
|
67
62
|
scipy>=1.15.3
|
|
68
63
|
|
|
69
64
|
[pega_io]
|
|
@@ -8,7 +8,7 @@ include = ['pdstools*']
|
|
|
8
8
|
exclude = ['/tests/*', '*.dist-info', '/docs/*']
|
|
9
9
|
|
|
10
10
|
[tool.setuptools.package-data]
|
|
11
|
-
"*" = ['*.qmd', '*/pega-report-overrides.css', 'py.typed', '*.sql', 'GlobalExplanations/**/*', 'resources/*.csv']
|
|
11
|
+
"*" = ['*.qmd', '*/pega-report-overrides.css', 'py.typed', '*.sql', 'GlobalExplanations/**/*', 'resources/*.csv', 'app/assets/*.svg']
|
|
12
12
|
|
|
13
13
|
[project]
|
|
14
14
|
name = "pdstools"
|
|
@@ -30,7 +30,7 @@ keywords = [
|
|
|
30
30
|
"datascientist",
|
|
31
31
|
"tools",
|
|
32
32
|
]
|
|
33
|
-
requires-python = ">=3.
|
|
33
|
+
requires-python = ">=3.10,<3.14"
|
|
34
34
|
dependencies = [
|
|
35
35
|
"polars>=1.30,!=1.35.1,<=1.36.1",
|
|
36
36
|
'typing_extensions',
|
|
@@ -52,12 +52,11 @@ explanations = ['duckdb', "plotly[express]", "pyarrow", "pyyaml", "ipywidgets"]
|
|
|
52
52
|
app = ['pdstools[healthcheck]', 'streamlit>=1.45']
|
|
53
53
|
onnx = [
|
|
54
54
|
'scikit-learn>=1.6.1',
|
|
55
|
-
'skl2onnx>=1.19.1',
|
|
56
|
-
'onnx>=1.18,<1.20',
|
|
55
|
+
'skl2onnx>=1.19.1', # Updated to be compatible with onnx 1.19.0+
|
|
56
|
+
'onnx>=1.18,<1.20', # Using ONNX 1.18.x specifically
|
|
57
57
|
'pdstools[api]',
|
|
58
|
-
"onnxruntime
|
|
59
|
-
"
|
|
60
|
-
"scipy>=1.15.3 ; python_full_version >= '3.10'",
|
|
58
|
+
"onnxruntime>=1.22,<1.24",
|
|
59
|
+
"scipy>=1.15.3",
|
|
61
60
|
]
|
|
62
61
|
all = ['pdstools[app, pega_io, onnx, explanations]']
|
|
63
62
|
dev = ['pre-commit']
|
|
@@ -84,9 +83,16 @@ tests = [
|
|
|
84
83
|
[project.scripts]
|
|
85
84
|
pdstools = 'pdstools.cli:main'
|
|
86
85
|
|
|
87
|
-
[
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
[tool.ruff]
|
|
87
|
+
target-version = "py310"
|
|
88
|
+
line-length = 120
|
|
89
|
+
|
|
90
|
+
[tool.ruff.lint]
|
|
91
|
+
extend-select = [
|
|
92
|
+
"UP006", # deprecated-collection-type (Dict -> dict, List -> list, etc.)
|
|
93
|
+
"UP007", # non-pep604-annotation (Union[X, Y] -> X | Y)
|
|
94
|
+
"UP035", # deprecated-import (typing.Dict -> dict, etc.)
|
|
95
|
+
"UP045", # non-pep604-isinstance (Optional[X] -> X | None)
|
|
90
96
|
]
|
|
91
97
|
|
|
92
98
|
[tool.pytest.ini_options]
|
|
@@ -95,3 +101,9 @@ addopts = "--strict-markers"
|
|
|
95
101
|
markers = [
|
|
96
102
|
"slow: marks tests as slow (report generation, integration tests)"
|
|
97
103
|
]
|
|
104
|
+
|
|
105
|
+
[tool.mypy]
|
|
106
|
+
python_version = "3.10"
|
|
107
|
+
ignore_missing_imports = true
|
|
108
|
+
warn_unused_ignores = true
|
|
109
|
+
no_implicit_optional = true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""Pega Data Scientist Tools Python library"""
|
|
2
2
|
|
|
3
|
-
__version__ = "4.
|
|
3
|
+
__version__ = "4.6.0"
|
|
4
4
|
|
|
5
5
|
from pathlib import Path
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ from polars import enable_string_cache
|
|
|
9
9
|
from .adm.ADMDatamart import ADMDatamart
|
|
10
10
|
from .ih.IH import IH
|
|
11
11
|
from .impactanalyzer.ImpactAnalyzer import ImpactAnalyzer
|
|
12
|
-
from .infinity import Infinity
|
|
12
|
+
from .infinity import AsyncInfinity, Infinity
|
|
13
13
|
from .pega_io import Anonymization, read_ds_export
|
|
14
14
|
from .prediction.Prediction import Prediction
|
|
15
15
|
from .utils import datasets
|
|
@@ -20,21 +20,21 @@ from .valuefinder.ValueFinder import ValueFinder
|
|
|
20
20
|
|
|
21
21
|
enable_string_cache()
|
|
22
22
|
|
|
23
|
-
|
|
24
23
|
__reports__ = Path(__file__).parents[0] / "reports"
|
|
25
24
|
|
|
26
25
|
__all__ = [
|
|
27
|
-
"ADMDatamart",
|
|
28
26
|
"IH",
|
|
29
|
-
"
|
|
27
|
+
"ADMDatamart",
|
|
30
28
|
"Anonymization",
|
|
31
|
-
"
|
|
29
|
+
"AsyncInfinity",
|
|
30
|
+
"ImpactAnalyzer",
|
|
31
|
+
"Infinity",
|
|
32
32
|
"Prediction",
|
|
33
|
+
"ValueFinder",
|
|
34
|
+
"cdh_sample",
|
|
33
35
|
"datasets",
|
|
34
36
|
"default_predictor_categorization",
|
|
35
|
-
"
|
|
37
|
+
"read_ds_export",
|
|
36
38
|
"sample_value_finder",
|
|
37
39
|
"show_versions",
|
|
38
|
-
"ValueFinder",
|
|
39
|
-
"Infinity",
|
|
40
40
|
]
|