checkmaite 0.2.0__tar.gz → 0.2.2__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 (108) hide show
  1. {checkmaite-0.2.0 → checkmaite-0.2.2}/PKG-INFO +15 -9
  2. {checkmaite-0.2.0 → checkmaite-0.2.2}/README.md +5 -5
  3. {checkmaite-0.2.0 → checkmaite-0.2.2}/pyproject.toml +14 -4
  4. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/__init__.py +8 -9
  5. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_common/dataeval_bias_capability.py +5 -2
  6. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_common/dataeval_shift_capability.py +1 -1
  7. checkmaite-0.2.2/src/checkmaite/core/_common/dataset_utils.py +7 -0
  8. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_common/maite_evaluation_capability.py +2 -2
  9. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_common/nrtk_robustness_capability.py +1 -1
  10. checkmaite-0.2.2/src/checkmaite/core/_utils.py +572 -0
  11. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/analytics_store/__init__.py +16 -3
  12. checkmaite-0.2.2/src/checkmaite/core/analytics_store/_provenance.py +187 -0
  13. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/analytics_store/_schema.py +30 -3
  14. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/analytics_store/_storage/_base.py +4 -2
  15. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/analytics_store/_storage/_parquet.py +100 -11
  16. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/analytics_store/_store.py +54 -20
  17. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/cached_tasks.py +6 -3
  18. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/capability_core.py +37 -14
  19. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/image_classification/dataeval_feasibility_capability.py +8 -2
  20. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/image_classification/dataset_loaders.py +113 -23
  21. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/image_classification/metrics.py +28 -4
  22. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/image_classification/models.py +111 -4
  23. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/object_detection/dataset_loaders.py +378 -130
  24. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/object_detection/metrics.py +1 -1
  25. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/object_detection/models.py +124 -5
  26. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/object_detection/xaitk_explainable_capability.py +2 -70
  27. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/_store.py +4 -2
  28. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/backends/ray/README.md +20 -7
  29. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/backends/ray/controller.py +8 -3
  30. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/backends/ray/job_backend.py +19 -0
  31. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/backends/ray_simple/README.md +14 -2
  32. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/backends/ray_simple/job_backend.py +19 -2
  33. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/_common/nrtk_app_common.py +3 -3
  34. checkmaite-0.2.0/src/checkmaite/core/_utils.py +0 -299
  35. {checkmaite-0.2.0 → checkmaite-0.2.2}/LICENSE.md +0 -0
  36. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/assets/.gitkeep +0 -0
  37. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/assets/JATIC_Logo_Acronym_Spelled_Out_RGB_white_type.svg +0 -0
  38. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/assets/NRTK_logo.png +0 -0
  39. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/assets/XAITK/XAITK_Visdrone_example_img.jpg +0 -0
  40. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/assets/XAITK/XAITK_logo.png +0 -0
  41. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/assets/XAITK/example_car_img.jpg +0 -0
  42. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/assets/nrtk_test_image.jpeg +0 -0
  43. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/assets/toc.png +0 -0
  44. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_cache.py +0 -0
  45. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_common/__init__.py +0 -0
  46. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_common/_knn.py +0 -0
  47. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_common/dataeval_cleaning_capability.py +0 -0
  48. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_common/dataeval_feasibility_record.py +0 -0
  49. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_common/dataeval_sufficiency_capability.py +0 -0
  50. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_common/dataeval_utils.py +0 -0
  51. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_common/feature_extractor.py +0 -0
  52. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_common/xaitk_explainable_capability.py +0 -0
  53. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_plugins.py +0 -0
  54. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/_types.py +0 -0
  55. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/analytics_store/_storage/__init__.py +0 -0
  56. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/image_classification/__init__.py +0 -0
  57. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/image_classification/dataeval_bias_capability.py +0 -0
  58. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/image_classification/dataeval_cleaning_capability.py +0 -0
  59. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/image_classification/dataeval_shift_capability.py +0 -0
  60. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/image_classification/dataeval_sufficiency_capability.py +0 -0
  61. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/image_classification/maite_evaluation_capability.py +0 -0
  62. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/image_classification/nrtk_robustness_capability.py +0 -0
  63. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/image_classification/xaitk_explainable_capability.py +0 -0
  64. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/object_detection/__init__.py +0 -0
  65. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/object_detection/dataeval_bias_capability.py +0 -0
  66. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/object_detection/dataeval_cleaning_capability.py +0 -0
  67. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/object_detection/dataeval_feasibility_capability.py +0 -0
  68. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/object_detection/dataeval_shift_capability.py +0 -0
  69. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/object_detection/maite_evaluation_capability.py +0 -0
  70. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/object_detection/nrtk_robustness_capability.py +0 -0
  71. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/report/__init__.py +0 -0
  72. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/report/_gradient.py +0 -0
  73. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/report/_markdown.py +0 -0
  74. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/report/_plotting_utils.py +0 -0
  75. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/serving/__init__.py +0 -0
  76. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/serving/rayserve/__init__.py +0 -0
  77. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/serving/rayserve/_clients.py +0 -0
  78. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/core/serving/rayserve/_deployments.py +0 -0
  79. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/__init__.py +0 -0
  80. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/_api.py +0 -0
  81. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/_submission.py +0 -0
  82. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/backends/__init__.py +0 -0
  83. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/backends/ray/__init__.py +0 -0
  84. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/backends/ray/registry.py +0 -0
  85. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/backends/ray_simple/__init__.py +0 -0
  86. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/jobs/protocol.py +0 -0
  87. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/py.typed +0 -0
  88. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/__init__.py +0 -0
  89. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/_common/base_app.py +0 -0
  90. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/_common/base_dashboard.py +0 -0
  91. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/_common/dataset_analysis_app.py +0 -0
  92. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/_common/heart_app_common.py +0 -0
  93. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/_common/model_evaluation_configuration.py +0 -0
  94. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/_common/xaitk_app_common.py +0 -0
  95. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/app.py +0 -0
  96. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/configuration_pages/image_classification/heart_ic_app.py +0 -0
  97. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/configuration_pages/image_classification/nrtk_app.py +0 -0
  98. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/configuration_pages/image_classification/survivor_app.py +0 -0
  99. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/configuration_pages/image_classification/xaitk_app.py +0 -0
  100. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/configuration_pages/object_detection/heart_od_app.py +0 -0
  101. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/configuration_pages/object_detection/nrtk_app.py +0 -0
  102. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/configuration_pages/object_detection/reallabel_app.py +0 -0
  103. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/configuration_pages/object_detection/survivor_app.py +0 -0
  104. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/configuration_pages/object_detection/xaitk_app.py +0 -0
  105. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/dashboard_utils.py +0 -0
  106. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/dashboards/combined_app.py +0 -0
  107. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/dashboards/dataset_analysis_dashboard.py +0 -0
  108. {checkmaite-0.2.0 → checkmaite-0.2.2}/src/checkmaite/ui/dashboards/model_evaluation_dashboard.py +0 -0
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: checkmaite
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: checkmaite - an implementation of T&E tools using maite
5
- License: TBD
5
+ License: Apache-2.0
6
6
  License-File: LICENSE.md
7
7
  Keywords: jatic,artificial intelligence,testing and evaluation
8
8
  Author: OpenTeams
@@ -16,11 +16,13 @@ Provides-Extra: aws
16
16
  Provides-Extra: azure
17
17
  Provides-Extra: cloud
18
18
  Provides-Extra: gcs
19
+ Provides-Extra: onnx
20
+ Provides-Extra: onnx-cuda
19
21
  Provides-Extra: reporting
20
22
  Provides-Extra: ui
21
23
  Requires-Dist: adlfs (>=2023.1.0) ; extra == "azure"
22
24
  Requires-Dist: adlfs (>=2023.1.0) ; extra == "cloud"
23
- Requires-Dist: dataeval (==1.0.3)
25
+ Requires-Dist: dataeval (==1.0.6)
24
26
  Requires-Dist: dataeval-plots (==0.0.6)
25
27
  Requires-Dist: fsspec (>=2023.1.0)
26
28
  Requires-Dist: gcsfs (>=2023.1.0) ; extra == "cloud"
@@ -33,8 +35,12 @@ Requires-Dist: maite (==0.9.2)
33
35
  Requires-Dist: markdown (>=3.5) ; extra == "reporting"
34
36
  Requires-Dist: matplotlib (>=3.8.4,<3.10.8)
35
37
  Requires-Dist: nbconvert (>=7.16.6) ; extra == "ui"
36
- Requires-Dist: nrtk[pybsm] (==0.27.1)
38
+ Requires-Dist: nrtk[pybsm] (==1.0.3)
37
39
  Requires-Dist: numba (>=0.60.0)
40
+ Requires-Dist: onnx (>=1.14.0) ; extra == "onnx"
41
+ Requires-Dist: onnx (>=1.14.0) ; extra == "onnx-cuda"
42
+ Requires-Dist: onnxruntime (>=1.14.0,<1.24.0) ; extra == "onnx"
43
+ Requires-Dist: onnxruntime-gpu (>=1.14.0,<1.24.0) ; extra == "onnx-cuda"
38
44
  Requires-Dist: opencv-python-headless (>=4.9.0.80)
39
45
  Requires-Dist: pandas (>=2)
40
46
  Requires-Dist: panel (>=1.8.7) ; extra == "ui"
@@ -69,21 +75,21 @@ Checkmaite is an API and a UI application which makes testing and evaluation of
69
75
 
70
76
  It was built as an integration point for all [CDAO JATIC](https://cdao.pages.jatic.net/public/) tools and has since expanded focus. Our goal is to make T&E easier for analysts!
71
77
 
72
- To learn more please visit our [published documentation](https://jatic.pages.jatic.net/reference-implementation/reference-implementation/).
78
+ To learn more please visit our [published documentation](https://openteams-ai.github.io/checkmaite/).
73
79
 
74
80
  ## Installation
75
81
 
76
- For detailed installation instructions please refer to [Setup Guide](https://jatic.pages.jatic.net/reference-implementation/reference-implementation/community/setup.html)
82
+ For detailed installation instructions please refer to [Setup Guide](https://openteams-ai.github.io/checkmaite/get-started/install_setup.html)
77
83
 
78
84
  ## Usage
79
85
 
80
- To learn how to get started using `checkmaite`, please visit our [quick start guide](https://jatic.pages.jatic.net/reference-implementation/reference-implementation/index.html#who-are-the-target-users-of-the-reference-implementation).
86
+ To learn how to get started using `checkmaite`, please visit our [quick start guide](https://openteams-ai.github.io/checkmaite/get-started/index.html).
81
87
 
82
- There are also [How-to Guides](https://jatic.pages.jatic.net/reference-implementation/reference-implementation/how-tos/index.html) & [Tutorials](https://jatic.pages.jatic.net/reference-implementation/reference-implementation/tutorials/index.html) that will help get new users up to speed on the available functionality.
88
+ There are also [How-to Guides](https://openteams-ai.github.io/checkmaite/development/index.html) & [Tutorials](https://openteams-ai.github.io/checkmaite/tool-usage/index.html) that will help get new users up to speed on the available functionality.
83
89
 
84
90
  ## Contributing
85
91
 
86
- The `checkmaite` team welcomes contributions of all forms - questions, documentation, and code contributions. Please visit our [contribution guide](https://jatic.pages.jatic.net/reference-implementation/reference-implementation/community/contributing.html).
92
+ The `checkmaite` team welcomes contributions of all forms - questions, documentation, and code contributions. Please visit our [contribution guide](https://openteams-ai.github.io/checkmaite/development/contributing.html).
87
93
 
88
94
  ## Authors and acknowledgment
89
95
 
@@ -9,21 +9,21 @@ Checkmaite is an API and a UI application which makes testing and evaluation of
9
9
 
10
10
  It was built as an integration point for all [CDAO JATIC](https://cdao.pages.jatic.net/public/) tools and has since expanded focus. Our goal is to make T&E easier for analysts!
11
11
 
12
- To learn more please visit our [published documentation](https://jatic.pages.jatic.net/reference-implementation/reference-implementation/).
12
+ To learn more please visit our [published documentation](https://openteams-ai.github.io/checkmaite/).
13
13
 
14
14
  ## Installation
15
15
 
16
- For detailed installation instructions please refer to [Setup Guide](https://jatic.pages.jatic.net/reference-implementation/reference-implementation/community/setup.html)
16
+ For detailed installation instructions please refer to [Setup Guide](https://openteams-ai.github.io/checkmaite/get-started/install_setup.html)
17
17
 
18
18
  ## Usage
19
19
 
20
- To learn how to get started using `checkmaite`, please visit our [quick start guide](https://jatic.pages.jatic.net/reference-implementation/reference-implementation/index.html#who-are-the-target-users-of-the-reference-implementation).
20
+ To learn how to get started using `checkmaite`, please visit our [quick start guide](https://openteams-ai.github.io/checkmaite/get-started/index.html).
21
21
 
22
- There are also [How-to Guides](https://jatic.pages.jatic.net/reference-implementation/reference-implementation/how-tos/index.html) & [Tutorials](https://jatic.pages.jatic.net/reference-implementation/reference-implementation/tutorials/index.html) that will help get new users up to speed on the available functionality.
22
+ There are also [How-to Guides](https://openteams-ai.github.io/checkmaite/development/index.html) & [Tutorials](https://openteams-ai.github.io/checkmaite/tool-usage/index.html) that will help get new users up to speed on the available functionality.
23
23
 
24
24
  ## Contributing
25
25
 
26
- The `checkmaite` team welcomes contributions of all forms - questions, documentation, and code contributions. Please visit our [contribution guide](https://jatic.pages.jatic.net/reference-implementation/reference-implementation/community/contributing.html).
26
+ The `checkmaite` team welcomes contributions of all forms - questions, documentation, and code contributions. Please visit our [contribution guide](https://openteams-ai.github.io/checkmaite/development/contributing.html).
27
27
 
28
28
  ## Authors and acknowledgment
29
29
 
@@ -6,7 +6,7 @@ build-backend = "poetry_dynamic_versioning.backend"
6
6
  name = "checkmaite"
7
7
  description = "checkmaite - an implementation of T&E tools using maite"
8
8
  readme = "README.md"
9
- license = { text = "TBD" }
9
+ license = { text = "Apache-2.0" }
10
10
  authors = [
11
11
  { name = "OpenTeams" },
12
12
  ]
@@ -24,7 +24,7 @@ classifiers = [
24
24
  ]
25
25
  requires-python = ">=3.10, <3.13"
26
26
  dynamic = ["dependencies"]
27
- version = "0.2.0"
27
+ version = "0.2.2"
28
28
 
29
29
  [tool.conda-lock]
30
30
  channels = ['conda-forge', 'fastai']
@@ -56,10 +56,10 @@ pattern = "default-unprefixed" # required because our tags don't start with v
56
56
  fix-shallow-repository = true
57
57
 
58
58
  [tool.poetry.dependencies]
59
- dataeval = "==1.0.3"
59
+ dataeval = "==1.0.6"
60
60
  dataeval-plots = "==0.0.6" # We specify pypi source as dataeval_plots wont be on conda-forge
61
61
  maite = "==0.9.2"
62
- nrtk = { version = "==0.27.1", extras = ["pybsm"] }
62
+ nrtk = { version = "==1.0.3", extras = ["pybsm"] }
63
63
  xaitk-jatic = "==0.8.1"
64
64
  # external deps
65
65
  fsspec = ">=2023.1.0" # arbitrary, required for cloud storage support
@@ -74,6 +74,8 @@ ipython = ">=8.13,<9.0" # necessary,
74
74
  matplotlib = ">=3.8.4,< 3.10.8" # arbitrary, required by panel, 3.10.8 limit can be removed when artifact is released on PyPI
75
75
  nbconvert = { version = ">=7.16.6", optional = true } # arbitrary, required for serving panel notebooks via CLI
76
76
  numba = ">=0.60.0" # arbitrary, needed to run visdrone model
77
+ onnx = { version = ">=1.14.0", optional = true } # arbitrary, required for ONNX model validation
78
+ onnxruntime = { version = ">=1.14.0,<1.24.0", optional = true } # necessary upper pin, 1.24.x lacks cp310 wheels
77
79
  opencv-python-headless = ">=4.9.0.80" # necessary lower pin, required by nrtk usage here
78
80
  pandas = ">=2" # arbitrary, required for data handling
79
81
  panel = { version = ">=1.8.7", optional = true } # necessary for FileDropper widget, and for progression of dashboards
@@ -139,6 +141,14 @@ reporting = [
139
141
  "markdown>=3.5",
140
142
  "xhtml2pdf>=0.2.16",
141
143
  ]
144
+ onnx = [
145
+ "onnx>=1.14.0",
146
+ "onnxruntime>=1.14.0,<1.24.0", # 1.24.x lacks CPython 3.10 wheels
147
+ ]
148
+ onnx-cuda = [
149
+ "onnx>=1.14.0",
150
+ "onnxruntime-gpu>=1.14.0,<1.24.0", # 1.24.x lacks CPython 3.10 wheels
151
+ ]
142
152
  aws = ["s3fs>=2023.1.0"]
143
153
  gcs = ["gcsfs>=2023.1.0"]
144
154
  azure = ["adlfs>=2023.1.0"]
@@ -9,15 +9,6 @@ import os
9
9
  import sys
10
10
  import warnings
11
11
 
12
- # Filter Pydantic warnings about TypedDict ReadOnly qualifiers
13
- # These occur because ReadOnly is a static type annotation but Pydantic attempts runtime validation. As long as we are
14
- # using MAITE objects in our Pydantics models, these warnings will continue to appear. They are harmless but noisy.
15
- warnings.filterwarnings(
16
- "ignore",
17
- message=r"Items? .* on TypedDict class .* (?:is|are) using the `ReadOnly` qualifier\. Pydantic will not protect.*",
18
- category=UserWarning,
19
- )
20
-
21
12
 
22
13
  def _configure_torch_mps_fallback() -> None:
23
14
  mps_env_var = "PYTORCH_ENABLE_MPS_FALLBACK"
@@ -112,6 +103,11 @@ PosixPath('/home/user/my-cache')
112
103
 
113
104
  from checkmaite.core import cached_tasks, capability_core, image_classification, object_detection, report # noqa: E402
114
105
  from checkmaite.core._cache import binary_de_serializer # noqa: E402
106
+ from checkmaite.core.analytics_store._provenance import ( # noqa: E402
107
+ configure_provenance,
108
+ get_provenance_defaults,
109
+ reset_provenance,
110
+ )
115
111
 
116
112
  __all__ = [
117
113
  "__version__",
@@ -122,4 +118,7 @@ __all__ = [
122
118
  "capability_core",
123
119
  "binary_de_serializer",
124
120
  "report",
121
+ "configure_provenance",
122
+ "get_provenance_defaults",
123
+ "reset_provenance",
125
124
  ]
@@ -3,6 +3,7 @@ from pathlib import Path
3
3
  from typing import Any, Literal, cast
4
4
 
5
5
  import dataeval_plots as dep
6
+ import matplotlib.pyplot as plt
6
7
  import numpy as np
7
8
  import pandas as pd
8
9
  import polars as pl
@@ -106,7 +107,7 @@ class DataevalBiasCoverageOutputs(CapabilityOutputsBase):
106
107
  image: Image | None = None
107
108
 
108
109
 
109
- class DataevalBiasOutputs(pydantic.BaseModel):
110
+ class DataevalBiasOutputs(CapabilityOutputsBase):
110
111
  balance: DataevalBiasBalanceOutputs | None = None
111
112
  diversity: DataevalBiasDiversityOutputs | None = None
112
113
  coverage: DataevalBiasCoverageOutputs
@@ -444,7 +445,9 @@ class DataevalBiasBase(Capability[DataevalBiasOutputs, TDataset, TModel, TMetric
444
445
  if len({np.asarray(dataset[i][0]).shape for i in idxs}) == 1:
445
446
  cov_dict["image"] = dep.plot(dataset, indices=idxs)
446
447
 
447
- return DataevalBiasOutputs.model_validate({"balance": bal_dict, "diversity": div_dict, "coverage": cov_dict})
448
+ outputs = DataevalBiasOutputs.model_validate({"balance": bal_dict, "diversity": div_dict, "coverage": cov_dict})
449
+ plt.close("all")
450
+ return outputs
448
451
 
449
452
 
450
453
  def generate_table_of_contents(deck: str) -> dict[str, Any]: # pragma: no cover
@@ -76,7 +76,7 @@ class DataevalShiftOODOutputs(CapabilityOutputsBase):
76
76
  ood_knn: DataevalShiftOODKNNOutput
77
77
 
78
78
 
79
- class DataevalShiftOutputs(pydantic.BaseModel):
79
+ class DataevalShiftOutputs(CapabilityOutputsBase):
80
80
  drift: DataevalShiftDriftOutputs
81
81
  ood: DataevalShiftOODOutputs
82
82
 
@@ -0,0 +1,7 @@
1
+ from upath import UPath
2
+
3
+ _IMAGE_SUFFIXES = {".jpg", ".jpeg", ".png", ".bmp", ".webp", ".tif", ".tiff"}
4
+
5
+
6
+ def _is_image_path(path: UPath) -> bool:
7
+ return path.suffix.lower() in _IMAGE_SUFFIXES
@@ -3,7 +3,6 @@ from typing import Any
3
3
 
4
4
  import matplotlib.pyplot as plt
5
5
  import numpy as np
6
- import pydantic
7
6
  from matplotlib.figure import Figure
8
7
 
9
8
  from checkmaite.core._utils import (
@@ -16,6 +15,7 @@ from checkmaite.core.cached_tasks import evaluate
16
15
  from checkmaite.core.capability_core import (
17
16
  Capability,
18
17
  CapabilityConfigBase,
18
+ CapabilityOutputsBase,
19
19
  CapabilityRunBase,
20
20
  Number,
21
21
  TDataset,
@@ -61,7 +61,7 @@ class MaiteEvaluationConfig(CapabilityConfigBase):
61
61
  pass
62
62
 
63
63
 
64
- class MaiteEvaluationOutputs(pydantic.BaseModel):
64
+ class MaiteEvaluationOutputs(CapabilityOutputsBase):
65
65
  overall_metric_name: str
66
66
  result: dict[str, float]
67
67
  class_metrics: dict[str, float | None] | None
@@ -3,7 +3,7 @@ import re
3
3
  from typing import Any
4
4
 
5
5
  import pandas as pd
6
- from nrtk.interfaces.perturb_image_factory import PerturbImageFactory
6
+ from nrtk.interfaces import PerturbImageFactory
7
7
  from pydantic import Field
8
8
  from smqtk_core.configuration import from_config_dict
9
9