howso-engine 69.0.5__tar.gz → 69.0.7__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.
- howso_engine-69.0.7/.github/lockfile-constraints.txt +7 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/.github/workflows/build-pr.yml +2 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/.github/workflows/rebuild-requirements.yml +4 -2
- {howso_engine-69.0.5 → howso_engine-69.0.7}/LICENSE-3RD-PARTY.txt +32 -128
- {howso_engine-69.0.5/howso_engine.egg-info → howso_engine-69.0.7}/PKG-INFO +3 -3
- {howso_engine-69.0.5 → howso_engine-69.0.7}/bin/build.sh +2 -2
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/base.py +69 -13
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/feature_attributes/abstract_data.py +34 -18
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/feature_attributes/base.py +9 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/feature_attributes/pandas.py +6 -13
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/feature_attributes/relational.py +38 -37
- {howso_engine-69.0.5 → howso_engine-69.0.7/howso_engine.egg-info}/PKG-INFO +3 -3
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso_engine.egg-info/SOURCES.txt +2 -8
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso_engine.egg-info/requires.txt +2 -2
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso_engine.egg-info/scm_file_list.json +2 -8
- howso_engine-69.0.7/pylock.toml +1661 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/pyproject.toml +2 -2
- howso_engine-69.0.5/requirements-3.11-dev.txt +0 -232
- howso_engine-69.0.5/requirements-3.11.txt +0 -74
- howso_engine-69.0.5/requirements-3.12-dev.txt +0 -232
- howso_engine-69.0.5/requirements-3.12.txt +0 -74
- howso_engine-69.0.5/requirements-3.13-dev.txt +0 -232
- howso_engine-69.0.5/requirements-3.13.txt +0 -74
- howso_engine-69.0.5/requirements-3.14-dev.txt +0 -232
- howso_engine-69.0.5/requirements-3.14.txt +0 -74
- {howso_engine-69.0.5 → howso_engine-69.0.7}/.coveragerc +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/.flake8 +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/.github/CODEOWNERS +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/.github/templates/version_summary.md +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/.github/workflows/build-release.yml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/.github/workflows/build.yml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/.github/workflows/version-update.yml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/.gitignore +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/.gitmodules +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/.pylintrc +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/CONTRIBUTING.md +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/LICENSE.txt +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/MANIFEST.in +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/Makefile +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/README.md +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/config/latest-mt-debug-howso.yml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/config/latest-mt-howso.yml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/config/latest-mt-noavx-traces-howso.yml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/config/latest-mt-traces-howso.yml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/config/latest-st-debug-howso.yml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/config/latest-st-howso.yml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/config/latest-st-traces-howso.yml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/config/powershell/Download-Tzdata.ps1 +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/config/powershell/Helper-Functions.ps1 +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/hatch.toml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/__main__.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/__init__.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/api.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/cache.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/client.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/configuration.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/exceptions.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/feature_flags.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/pandas/__init__.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/pandas/client.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/protocols.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/schemas/__init__.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/schemas/aggregate_reaction.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/schemas/base.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/schemas/group_reaction.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/schemas/project.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/schemas/reaction.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/schemas/session.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/schemas/trainee.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/schemas/version.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/client/typing.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/direct/__init__.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/direct/_utilities.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/direct/client.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/direct/schemas/__init__.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/direct/schemas/trainee.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/engine/__init__.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/engine/client.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/engine/project.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/engine/session.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/engine/trainee.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/howso-engine/howso.caml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/howso-engine/migrations/migrations.caml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/howso-engine/version.json +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/scikit/__init__.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/scikit/scikit.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/__init__.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/decorators.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/fanout_features.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/feature_attributes/__init__.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/feature_attributes/infer_feature_attributes.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/feature_attributes/protocols.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/feature_attributes/serializers.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/feature_attributes/suggestions.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/feature_attributes/time_series.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/feature_attributes/warnings.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/features.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/__init__.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/__main__.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/_constants.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/_helpers.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/_output.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/_probes.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/_types.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/checks_cpu.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/checks_engine.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/checks_environment.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/checks_optional.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/main.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/installation_verification/registry.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/internals.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/json_wrapper.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/locale.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/monitors.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/posix.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/progress.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/random.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/reaction.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/testing.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/tokenizing.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso/utilities/utilities.py +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso_engine.egg-info/dependency_links.txt +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso_engine.egg-info/entry_points.txt +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/howso_engine.egg-info/top_level.txt +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/pyrightconfig.json +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/ruff.toml +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/setup.cfg +0 -0
- {howso_engine-69.0.5 → howso_engine-69.0.7}/version.json +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Constraints applied only when CI generates requirements-<python>[-dev].txt.
|
|
2
|
+
# They select which pandas each CI Python job tests; they are not package metadata.
|
|
3
|
+
# Oldest Python: the lowest supported pandas line.
|
|
4
|
+
pandas~=2.2.0; python_version < "3.12"
|
|
5
|
+
# Middle Pythons: newest pandas 2.x.
|
|
6
|
+
pandas<3; python_version >= "3.12" and python_version < "3.14"
|
|
7
|
+
# Newest Python: unconstrained, resolves the newest pandas the dependencies allow.
|
|
@@ -14,7 +14,7 @@ on:
|
|
|
14
14
|
type: boolean
|
|
15
15
|
default: true
|
|
16
16
|
extras:
|
|
17
|
-
description: A whitespace-separated list of Python "extras"
|
|
17
|
+
description: A whitespace-separated list of Python "extras" to lock into pylock.toml alongside the runtime dependencies (e.g., "dev scikit")
|
|
18
18
|
type: string
|
|
19
19
|
required: false
|
|
20
20
|
default: "dev scikit"
|
|
@@ -69,6 +69,8 @@ jobs:
|
|
|
69
69
|
branch: ${{ needs.gen-branch-name.outputs.branch }}
|
|
70
70
|
force-rebuild: true
|
|
71
71
|
extras: ${{ inputs.extras }}
|
|
72
|
+
constraints-file: .github/lockfile-constraints.txt
|
|
73
|
+
lock-format: pylock
|
|
72
74
|
|
|
73
75
|
gen-pr-title:
|
|
74
76
|
if: inputs.create-pr == true
|
|
@@ -100,4 +102,4 @@ jobs:
|
|
|
100
102
|
with:
|
|
101
103
|
branch: ${{ needs.gen-branch-name.outputs.branch }}
|
|
102
104
|
title: ${{ needs.gen-pr-title.outputs.title }}
|
|
103
|
-
body: "Automated PR with
|
|
105
|
+
body: "Automated PR with a regenerated pylock.toml."
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Faker
|
|
2
|
-
40.
|
|
2
|
+
40.52.0
|
|
3
3
|
MIT License
|
|
4
4
|
joke2k
|
|
5
5
|
https://github.com/joke2k/faker
|
|
6
6
|
Faker is a Python package that generates fake data for you.
|
|
7
|
-
/home/runner
|
|
7
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/faker-40.52.0.dist-info/licenses/LICENSE.txt
|
|
8
8
|
Copyright (c) 2012 Daniele Faraglia
|
|
9
9
|
|
|
10
10
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@@ -32,7 +32,7 @@ MIT License
|
|
|
32
32
|
Kirill Simonov
|
|
33
33
|
https://pyyaml.org/
|
|
34
34
|
YAML parser and emitter for Python
|
|
35
|
-
/home/runner
|
|
35
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/pyyaml-6.0.3.dist-info/licenses/LICENSE
|
|
36
36
|
Copyright (c) 2017-2021 Ingy döt Net
|
|
37
37
|
Copyright (c) 2006-2016 Kirill Simonov
|
|
38
38
|
|
|
@@ -61,7 +61,7 @@ BSD-2-Clause
|
|
|
61
61
|
Georg Brandl <georg@python.org>
|
|
62
62
|
https://pygments.org
|
|
63
63
|
Pygments is a syntax highlighting package written in Python.
|
|
64
|
-
/home/runner
|
|
64
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/pygments-2.21.0.dist-info/licenses/LICENSE
|
|
65
65
|
Copyright (c) 2006-2022 by the respective authors (see AUTHORS file).
|
|
66
66
|
All rights reserved.
|
|
67
67
|
|
|
@@ -89,42 +89,13 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
89
89
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
build
|
|
93
|
-
1.6.1
|
|
94
|
-
MIT
|
|
95
|
-
Filipe Laíns <lains@riseup.net>, Bernát Gábor <gaborjbernat@gmail.com>, layday <layday@protonmail.com>, Henry Schreiner <henryschreineriii@gmail.com>
|
|
96
|
-
https://build.pypa.io
|
|
97
|
-
A simple, correct Python build frontend
|
|
98
|
-
/home/runner/.pyenv/versions/3.14.10/lib/python3.14/site-packages/build-1.6.1.dist-info/licenses/LICENSE
|
|
99
|
-
Copyright © 2019 Filipe Laíns <filipe.lains@gmail.com>
|
|
100
|
-
|
|
101
|
-
Permission is hereby granted, free of charge, to any person obtaining a
|
|
102
|
-
copy of this software and associated documentation files (the "Software"),
|
|
103
|
-
to deal in the Software without restriction, including without limitation
|
|
104
|
-
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
105
|
-
and/or sell copies of the Software, and to permit persons to whom the
|
|
106
|
-
Software is furnished to do so, subject to the following conditions:
|
|
107
|
-
|
|
108
|
-
The above copyright notice and this permission notice (including the next
|
|
109
|
-
paragraph) shall be included in all copies or substantial portions of the
|
|
110
|
-
Software.
|
|
111
|
-
|
|
112
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
113
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
114
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
115
|
-
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
116
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
117
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
118
|
-
DEALINGS IN THE SOFTWARE.
|
|
119
|
-
|
|
120
|
-
|
|
121
92
|
certifi
|
|
122
93
|
2026.10.23
|
|
123
94
|
Mozilla Public License 2.0 (MPL 2.0)
|
|
124
95
|
Kenneth Reitz
|
|
125
96
|
https://github.com/certifi/python-certifi
|
|
126
97
|
Python package for providing Mozilla's CA Bundle.
|
|
127
|
-
/home/runner
|
|
98
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/certifi-2026.10.23.dist-info/licenses/LICENSE
|
|
128
99
|
This package contains a modified version of ca-bundle.crt:
|
|
129
100
|
|
|
130
101
|
ca-bundle.crt -- Bundle of CA Root Certificates
|
|
@@ -153,7 +124,7 @@ MIT
|
|
|
153
124
|
"Ahmed R. TAHRI" <tahri.ahmed@proton.me>
|
|
154
125
|
https://github.com/jawah/charset_normalizer/blob/master/CHANGELOG.md
|
|
155
126
|
The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.
|
|
156
|
-
/home/runner
|
|
127
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/charset_normalizer-3.5.2.dist-info/licenses/LICENSE
|
|
157
128
|
MIT License
|
|
158
129
|
|
|
159
130
|
Copyright (c) 2025 TAHRI Ahmed R.
|
|
@@ -178,12 +149,12 @@ SOFTWARE.
|
|
|
178
149
|
|
|
179
150
|
|
|
180
151
|
click
|
|
181
|
-
8.5.
|
|
152
|
+
8.5.1
|
|
182
153
|
BSD-3-Clause
|
|
183
154
|
UNKNOWN
|
|
184
155
|
https://github.com/pallets/click/
|
|
185
156
|
Composable command line interface toolkit
|
|
186
|
-
/home/runner
|
|
157
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/click-8.5.1.dist-info/licenses/LICENSE.txt
|
|
187
158
|
Copyright 2014 Pallets
|
|
188
159
|
|
|
189
160
|
Redistribution and use in source and binary forms, with or without
|
|
@@ -220,7 +191,7 @@ BSD License
|
|
|
220
191
|
The cloudpickle developer team
|
|
221
192
|
https://github.com/cloudpipe/cloudpickle
|
|
222
193
|
Pickler class to extend the standard pickle.Pickler functionality
|
|
223
|
-
/home/runner
|
|
194
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/cloudpickle-3.1.2.dist-info/licenses/LICENSE
|
|
224
195
|
This module was extracted from the `cloud` package, developed by
|
|
225
196
|
PiCloud, Inc.
|
|
226
197
|
|
|
@@ -261,7 +232,7 @@ MIT
|
|
|
261
232
|
Jason Moiron <jmoiron@jmoiron.net>
|
|
262
233
|
https://github.com/python-humanize/humanize
|
|
263
234
|
Python humanize utilities
|
|
264
|
-
/home/runner
|
|
235
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/humanize-4.16.0.dist-info/licenses/LICENCE
|
|
265
236
|
Copyright (c) 2010-2020 Jason Moiron and Contributors
|
|
266
237
|
|
|
267
238
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
@@ -290,7 +261,7 @@ BSD-3-Clause
|
|
|
290
261
|
Kim Davies <kim+pypi@gumleaf.org>
|
|
291
262
|
https://github.com/kjd/idna
|
|
292
263
|
Internationalized Domain Names in Applications (IDNA)
|
|
293
|
-
/home/runner
|
|
264
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/idna-3.20.dist-info/licenses/LICENSE.md
|
|
294
265
|
BSD 3-Clause License
|
|
295
266
|
|
|
296
267
|
Copyright (c) 2013-2026, Kim Davies and contributors.
|
|
@@ -330,7 +301,7 @@ BSD-3-Clause
|
|
|
330
301
|
Gael Varoquaux <gael.varoquaux@normalesup.org>
|
|
331
302
|
https://joblib.readthedocs.io
|
|
332
303
|
Lightweight pipelining with Python functions
|
|
333
|
-
/home/runner
|
|
304
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/joblib-1.6.0.dist-info/licenses/LICENSE.txt
|
|
334
305
|
BSD 3-Clause License
|
|
335
306
|
|
|
336
307
|
Copyright (c) 2008-2021, The joblib developers.
|
|
@@ -368,7 +339,7 @@ MIT License
|
|
|
368
339
|
Chris Sewell <chrisj_sewell@hotmail.com>
|
|
369
340
|
https://github.com/executablebooks/markdown-it-py
|
|
370
341
|
Python port of markdown-it. Markdown parsing, done right!
|
|
371
|
-
/home/runner
|
|
342
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/markdown_it_py-4.2.0.dist-info/licenses/LICENSE
|
|
372
343
|
MIT License
|
|
373
344
|
|
|
374
345
|
Copyright (c) 2020 ExecutableBookProject
|
|
@@ -398,7 +369,7 @@ MIT License
|
|
|
398
369
|
Taneli Hukkinen <hukkin@users.noreply.github.com>
|
|
399
370
|
https://github.com/executablebooks/mdurl
|
|
400
371
|
Markdown URL utilities
|
|
401
|
-
/home/runner
|
|
372
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/mdurl-0.1.2.dist-info/LICENSE
|
|
402
373
|
Copyright (c) 2015 Vitaly Puzrin, Alex Kocharin.
|
|
403
374
|
Copyright (c) 2021 Taneli Hukkinen
|
|
404
375
|
|
|
@@ -453,7 +424,7 @@ MIT License
|
|
|
453
424
|
Hajime Senuma <hajime.senuma@gmail.com>
|
|
454
425
|
https://pypi.org/project/mmh3/
|
|
455
426
|
Python extension for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
|
|
456
|
-
/home/runner
|
|
427
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/mmh3-5.3.1.dist-info/licenses/LICENSE
|
|
457
428
|
MIT License
|
|
458
429
|
|
|
459
430
|
Copyright (c) 2011-2026 Hajime Senuma
|
|
@@ -477,12 +448,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
477
448
|
SOFTWARE.
|
|
478
449
|
|
|
479
450
|
numpy
|
|
480
|
-
2.4
|
|
451
|
+
2.5.4
|
|
481
452
|
BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0
|
|
482
453
|
Travis E. Oliphant et al.
|
|
483
454
|
https://numpy.org
|
|
484
455
|
Fundamental package for array computing in Python
|
|
485
|
-
/home/runner
|
|
456
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/LICENSE.txt
|
|
486
457
|
Copyright (c) 2005-2025, NumPy Developers.
|
|
487
458
|
All rights reserved.
|
|
488
459
|
|
|
@@ -1426,7 +1397,7 @@ Apache-2.0 OR BSD-2-Clause
|
|
|
1426
1397
|
Donald Stufft <donald@stufft.io>
|
|
1427
1398
|
https://github.com/pypa/packaging
|
|
1428
1399
|
Core utilities for Python packages
|
|
1429
|
-
/home/runner
|
|
1400
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/packaging-26.3.dist-info/licenses/LICENSE
|
|
1430
1401
|
This software is made available under the terms of *either* of the licenses
|
|
1431
1402
|
found in LICENSE.APACHE or LICENSE.BSD. Contributions to this software is made
|
|
1432
1403
|
under the terms of *both* these licenses.
|
|
@@ -1438,7 +1409,7 @@ BSD License
|
|
|
1438
1409
|
The Pandas Development Team <pandas-dev@python.org>
|
|
1439
1410
|
https://pandas.pydata.org
|
|
1440
1411
|
Powerful data structures for data analysis, time series, and statistics
|
|
1441
|
-
/home/runner
|
|
1412
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/pandas-2.3.3.dist-info/LICENSE
|
|
1442
1413
|
BSD 3-Clause License
|
|
1443
1414
|
|
|
1444
1415
|
Copyright (c) 2008-2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
|
|
@@ -2690,50 +2661,13 @@ third-party archives.
|
|
|
2690
2661
|
See the License for the specific language governing permissions and
|
|
2691
2662
|
limitations under the License.
|
|
2692
2663
|
|
|
2693
|
-
pip-tools
|
|
2694
|
-
7.4.1
|
|
2695
|
-
BSD License
|
|
2696
|
-
Vincent Driessen <me@nvie.com>
|
|
2697
|
-
https://github.com/jazzband/pip-tools/
|
|
2698
|
-
pip-tools keeps your pinned dependencies fresh.
|
|
2699
|
-
/home/runner/.pyenv/versions/3.14.10/lib/python3.14/site-packages/pip_tools-7.4.1.dist-info/LICENSE
|
|
2700
|
-
BSD 3-Clause License
|
|
2701
|
-
|
|
2702
|
-
Copyright (c). All rights reserved.
|
|
2703
|
-
|
|
2704
|
-
Redistribution and use in source and binary forms, with or without modification,
|
|
2705
|
-
are permitted provided that the following conditions are met:
|
|
2706
|
-
|
|
2707
|
-
1. Redistributions of source code must retain the above copyright notice,
|
|
2708
|
-
this list of conditions and the following disclaimer.
|
|
2709
|
-
|
|
2710
|
-
2. Redistributions in binary form must reproduce the above copyright
|
|
2711
|
-
notice, this list of conditions and the following disclaimer in the
|
|
2712
|
-
documentation and/or other materials provided with the distribution.
|
|
2713
|
-
|
|
2714
|
-
3. Neither the name of pip-tools nor the names of its contributors may be
|
|
2715
|
-
used to endorse or promote products derived from this software without
|
|
2716
|
-
specific prior written permission.
|
|
2717
|
-
|
|
2718
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
2719
|
-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
2720
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
2721
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
2722
|
-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
2723
|
-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
2724
|
-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
2725
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
2726
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
2727
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
2664
|
psutil
|
|
2731
2665
|
7.2.2
|
|
2732
2666
|
BSD-3-Clause
|
|
2733
2667
|
Giampaolo Rodola
|
|
2734
2668
|
https://github.com/giampaolo/psutil
|
|
2735
2669
|
Cross-platform lib for process and system monitoring.
|
|
2736
|
-
/home/runner
|
|
2670
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/psutil-7.2.2.dist-info/LICENSE
|
|
2737
2671
|
BSD 3-Clause License
|
|
2738
2672
|
|
|
2739
2673
|
Copyright (c) 2009, Jay Loden, Dave Daeschler, Giampaolo Rodola
|
|
@@ -2765,43 +2699,13 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
2765
2699
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2766
2700
|
|
|
2767
2701
|
|
|
2768
|
-
pyproject_hooks
|
|
2769
|
-
1.3.3
|
|
2770
|
-
MIT
|
|
2771
|
-
Thomas Kluyver <thomas@kluyver.me.uk>
|
|
2772
|
-
https://github.com/pypa/pyproject-hooks
|
|
2773
|
-
Wrappers to call pyproject.toml-based build backend hooks.
|
|
2774
|
-
/home/runner/.pyenv/versions/3.14.10/lib/python3.14/site-packages/pyproject_hooks-1.3.3.dist-info/licenses/LICENSE
|
|
2775
|
-
The MIT License (MIT)
|
|
2776
|
-
|
|
2777
|
-
Copyright (c) 2017 Thomas Kluyver
|
|
2778
|
-
|
|
2779
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2780
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
2781
|
-
in the Software without restriction, including without limitation the rights
|
|
2782
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2783
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
2784
|
-
furnished to do so, subject to the following conditions:
|
|
2785
|
-
|
|
2786
|
-
The above copyright notice and this permission notice shall be included in
|
|
2787
|
-
all copies or substantial portions of the Software.
|
|
2788
|
-
|
|
2789
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2790
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2791
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2792
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2793
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2794
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2795
|
-
THE SOFTWARE.
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
2702
|
python-dateutil
|
|
2799
2703
|
4.0.0
|
|
2800
2704
|
BSD-3-Clause
|
|
2801
2705
|
Gustavo Niemeyer <gustavo@niemeyer.net>
|
|
2802
2706
|
https://github.com/dateutil/dateutil
|
|
2803
2707
|
Extensions to the standard Python datetime module
|
|
2804
|
-
/home/runner
|
|
2708
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/python_dateutil-4.0.0.dist-info/licenses/LICENSE
|
|
2805
2709
|
Copyright 2017- Paul Ganssle <paul@ganssle.io>
|
|
2806
2710
|
Copyright 2017- dateutil contributors (see AUTHORS file)
|
|
2807
2711
|
|
|
@@ -2863,7 +2767,7 @@ MIT License
|
|
|
2863
2767
|
Stuart Bishop
|
|
2864
2768
|
http://pythonhosted.org/pytz
|
|
2865
2769
|
World timezone definitions, modern and historical
|
|
2866
|
-
/home/runner
|
|
2770
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/pytz-2026.6.dist-info/LICENSE.txt
|
|
2867
2771
|
Copyright (c) 2003-2019 Stuart Bishop <stuart@stuartbishop.net>
|
|
2868
2772
|
|
|
2869
2773
|
Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -2886,12 +2790,12 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2886
2790
|
|
|
2887
2791
|
|
|
2888
2792
|
regex
|
|
2889
|
-
2026.9
|
|
2793
|
+
2026.11.9
|
|
2890
2794
|
Apache-2.0 AND CNRI-Python
|
|
2891
2795
|
Matthew Barnett <regex@mrabarnett.plus.com>
|
|
2892
2796
|
https://github.com/mrabarnett/mrab-regex
|
|
2893
2797
|
Alternative regular expression module, to replace re.
|
|
2894
|
-
/home/runner
|
|
2798
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/regex-2026.11.9.dist-info/licenses/LICENSE.txt
|
|
2895
2799
|
This work was derived from the 're' module of CPython 2.6 and CPython 3.1,
|
|
2896
2800
|
copyright (c) 1998-2001 by Secret Labs AB and licensed under CNRI's Python 1.6
|
|
2897
2801
|
license.
|
|
@@ -3108,7 +3012,7 @@ Apache Software License
|
|
|
3108
3012
|
Kenneth Reitz <me@kennethreitz.org>
|
|
3109
3013
|
https://github.com/psf/requests
|
|
3110
3014
|
Python HTTP for Humans.
|
|
3111
|
-
/home/runner
|
|
3015
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/requests-2.34.2.dist-info/licenses/LICENSE
|
|
3112
3016
|
|
|
3113
3017
|
Apache License
|
|
3114
3018
|
Version 2.0, January 2004
|
|
@@ -3292,7 +3196,7 @@ MIT License
|
|
|
3292
3196
|
Will McGugan
|
|
3293
3197
|
https://github.com/Textualize/rich
|
|
3294
3198
|
Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal
|
|
3295
|
-
/home/runner
|
|
3199
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/rich-15.0.0.dist-info/licenses/LICENSE
|
|
3296
3200
|
Copyright (c) 2020 Will McGugan
|
|
3297
3201
|
|
|
3298
3202
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@@ -3320,7 +3224,7 @@ MIT License
|
|
|
3320
3224
|
UNKNOWN
|
|
3321
3225
|
https://github.com/hplt-project/sacremoses
|
|
3322
3226
|
SacreMoses
|
|
3323
|
-
/home/runner
|
|
3227
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/sacremoses-0.2.0.dist-info/licenses/LICENSE
|
|
3324
3228
|
MIT License
|
|
3325
3229
|
|
|
3326
3230
|
Copyright (c) 2020 alvations
|
|
@@ -3350,7 +3254,7 @@ BSD License
|
|
|
3350
3254
|
Raphaël Barrois
|
|
3351
3255
|
https://github.com/rbarrois/python-semanticversion
|
|
3352
3256
|
A library implementing the 'SemVer' scheme.
|
|
3353
|
-
/home/runner
|
|
3257
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/semantic_version-2.10.0.dist-info/LICENSE
|
|
3354
3258
|
Copyright (c) The python-semanticversion project
|
|
3355
3259
|
All rights reserved.
|
|
3356
3260
|
|
|
@@ -3381,7 +3285,7 @@ MPL-2.0 AND MIT
|
|
|
3381
3285
|
UNKNOWN
|
|
3382
3286
|
https://tqdm.github.io
|
|
3383
3287
|
Fast, Extensible Progress Meter
|
|
3384
|
-
/home/runner
|
|
3288
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/tqdm-4.70.1.dist-info/licenses/LICENCE
|
|
3385
3289
|
`tqdm` is a product of collaborative work.
|
|
3386
3290
|
Unless otherwise stated, all authors (see commit logs) retain copyright
|
|
3387
3291
|
for their respective work, and release the work under the MIT licence
|
|
@@ -3439,7 +3343,7 @@ PSF-2.0
|
|
|
3439
3343
|
"Guido van Rossum, Jukka Lehtosalo, Łukasz Langa, Michael Lee" <levkivskyi@gmail.com>
|
|
3440
3344
|
https://github.com/python/typing_extensions
|
|
3441
3345
|
Backported and Experimental Type Hints for Python 3.9+
|
|
3442
|
-
/home/runner
|
|
3346
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/typing_extensions-4.16.0.dist-info/licenses/LICENSE
|
|
3443
3347
|
A. HISTORY OF THE SOFTWARE
|
|
3444
3348
|
==========================
|
|
3445
3349
|
|
|
@@ -3727,7 +3631,7 @@ Apache-2.0
|
|
|
3727
3631
|
Python Software Foundation
|
|
3728
3632
|
https://github.com/python/tzdata
|
|
3729
3633
|
Provider of IANA time zone data
|
|
3730
|
-
/home/runner
|
|
3634
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/tzdata-2026.6.dist-info/licenses/LICENSE
|
|
3731
3635
|
Apache Software License 2.0
|
|
3732
3636
|
|
|
3733
3637
|
Copyright (c) 2020, Paul Ganssle (Google)
|
|
@@ -3752,7 +3656,7 @@ MIT
|
|
|
3752
3656
|
Andrey Petrov <andrey.petrov@shazow.net>
|
|
3753
3657
|
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst
|
|
3754
3658
|
HTTP library with thread-safe connection pooling, file post, and more.
|
|
3755
|
-
/home/runner
|
|
3659
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/urllib3-2.8.0.dist-info/licenses/LICENSE.txt
|
|
3756
3660
|
MIT License
|
|
3757
3661
|
|
|
3758
3662
|
Copyright (c) 2008-2020 Andrey Petrov and contributors.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: howso-engine
|
|
3
|
-
Version: 69.0.
|
|
3
|
+
Version: 69.0.7
|
|
4
4
|
Summary: The Howso Engine™ is a natively and fully explainable ML engine, serving as an alternative to black box AI neural networks.
|
|
5
5
|
Author: Howso Incorporated
|
|
6
6
|
Author-email: support@howso.com
|
|
@@ -693,9 +693,9 @@ Requires-Dist: certifi
|
|
|
693
693
|
Requires-Dist: Faker>=4.1.1
|
|
694
694
|
Requires-Dist: humanize>=4.0.0
|
|
695
695
|
Requires-Dist: mmh3
|
|
696
|
-
Requires-Dist: numpy<2.
|
|
696
|
+
Requires-Dist: numpy<2.6,>=2.3
|
|
697
697
|
Requires-Dist: packaging
|
|
698
|
-
Requires-Dist: pandas<
|
|
698
|
+
Requires-Dist: pandas<4.0
|
|
699
699
|
Requires-Dist: psutil
|
|
700
700
|
Requires-Dist: python-dateutil
|
|
701
701
|
Requires-Dist: pyyaml~=6.0
|
|
@@ -5,9 +5,9 @@ set -eux
|
|
|
5
5
|
install_deps() {
|
|
6
6
|
python --version
|
|
7
7
|
# Connectors needed for some unit tests
|
|
8
|
-
python -m pip install "howso-engine-connectors[dev]~=4.0"
|
|
8
|
+
python -m pip install "howso-engine-connectors[dev]~=4.0"
|
|
9
9
|
python -m pip install --no-deps -e .
|
|
10
|
-
python -m pip install -r
|
|
10
|
+
python -m pip install -r pylock.toml
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
# Takes the cli params, and runs them, defaulting to 'help()'
|
|
@@ -723,27 +723,21 @@ class AbstractHowsoClient(ABC):
|
|
|
723
723
|
# Make sure single table dicts are wrapped by SingleTableFeatureAttributes
|
|
724
724
|
if (
|
|
725
725
|
isinstance(feature_attributes, Mapping) and
|
|
726
|
-
not isinstance(feature_attributes,
|
|
726
|
+
not isinstance(feature_attributes, FeatureAttributesBase)
|
|
727
727
|
):
|
|
728
728
|
feature_attributes = SingleTableFeatureAttributes(feature_attributes, {})
|
|
729
729
|
|
|
730
730
|
# See if any features were inferred to have data that is unsupported by the OS.
|
|
731
731
|
# Issue a warning and drop the feature before training, if so.
|
|
732
|
-
unsupported_features =
|
|
733
|
-
if isinstance(feature_attributes, MultiTableFeatureAttributes):
|
|
734
|
-
for stfa in feature_attributes.values():
|
|
735
|
-
unsupported_features = [feat for feat in stfa.keys() if stfa.has_unsupported_data(feat)] # pyright: ignore[reportAttributeAccessIssue]
|
|
736
|
-
elif isinstance(feature_attributes, SingleTableFeatureAttributes):
|
|
737
|
-
unsupported_features = [feat for feat in feature_attributes.keys()
|
|
738
|
-
if feature_attributes.has_unsupported_data(feat)]
|
|
732
|
+
unsupported_features = self._get_unsupported_features(feature_attributes)
|
|
739
733
|
if not isinstance(cases, list):
|
|
740
734
|
for feature in unsupported_features:
|
|
741
735
|
warnings.warn(
|
|
742
736
|
f"Ignoring feature {feature} as it contains values that are too "
|
|
743
737
|
"large or small for your operating system. Please evaluate the "
|
|
744
738
|
"bounds for this feature.")
|
|
745
|
-
|
|
746
|
-
|
|
739
|
+
if isinstance(cases, DataFrame):
|
|
740
|
+
cases, features = self._drop_unsupported_features(cases, features, unsupported_features)
|
|
747
741
|
|
|
748
742
|
util.validate_list_shape(features, 1, "features", "str")
|
|
749
743
|
|
|
@@ -797,14 +791,13 @@ class AbstractHowsoClient(ABC):
|
|
|
797
791
|
|
|
798
792
|
while True:
|
|
799
793
|
if isinstance(batch, DataFrame):
|
|
794
|
+
# Remove the unsupported features from each batch before validating it.
|
|
795
|
+
batch, features = self._drop_unsupported_features(batch, features, unsupported_features)
|
|
800
796
|
# Validate each batch of cases separately.
|
|
801
797
|
self._train_validate_cases(batch, feature_attributes, validate)
|
|
802
798
|
# Come up with the feature list, if this is the first batch we've ever seen.
|
|
803
799
|
if features is None:
|
|
804
800
|
features = internals.get_features_from_data(batch)
|
|
805
|
-
# If there are unsupported features, they need to be dropped in each batch.
|
|
806
|
-
for feature in unsupported_features:
|
|
807
|
-
batch.drop(features, axis=1, inplace=True)
|
|
808
801
|
# Turn the batch into data primitives to pass off to the engine.
|
|
809
802
|
batch_cases = serialize_cases(batch, features, feature_attributes, warn=True,
|
|
810
803
|
tokenizer=self._tokenizer) or [] # pyright: ignore[reportAttributeAccessIssue]
|
|
@@ -862,6 +855,69 @@ class AbstractHowsoClient(ABC):
|
|
|
862
855
|
|
|
863
856
|
return status
|
|
864
857
|
|
|
858
|
+
@staticmethod
|
|
859
|
+
def _get_unsupported_features(feature_attributes: FeatureAttributesBase) -> list[str]:
|
|
860
|
+
"""
|
|
861
|
+
Get the names of features that contain data unsupported by the Engine.
|
|
862
|
+
|
|
863
|
+
Parameters
|
|
864
|
+
----------
|
|
865
|
+
feature_attributes : FeatureAttributesBase
|
|
866
|
+
Single table feature attributes, or multi-table feature attributes
|
|
867
|
+
whose tables are each checked.
|
|
868
|
+
|
|
869
|
+
Returns
|
|
870
|
+
-------
|
|
871
|
+
list of str
|
|
872
|
+
The unsupported feature names, without duplicates, in the order
|
|
873
|
+
first seen.
|
|
874
|
+
"""
|
|
875
|
+
if isinstance(feature_attributes, MultiTableFeatureAttributes):
|
|
876
|
+
tables = list(feature_attributes.values())
|
|
877
|
+
else:
|
|
878
|
+
tables = [feature_attributes]
|
|
879
|
+
unsupported_features: list[str] = []
|
|
880
|
+
for table in tables:
|
|
881
|
+
if isinstance(table, SingleTableFeatureAttributes):
|
|
882
|
+
unsupported_features.extend(feat for feat in table.keys() if table.has_unsupported_data(feat))
|
|
883
|
+
return list(dict.fromkeys(unsupported_features))
|
|
884
|
+
|
|
885
|
+
@staticmethod
|
|
886
|
+
def _drop_unsupported_features(
|
|
887
|
+
cases: DataFrame,
|
|
888
|
+
features: Collection[str] | None,
|
|
889
|
+
unsupported_features: Collection[str],
|
|
890
|
+
) -> tuple[DataFrame, Collection[str] | None]:
|
|
891
|
+
"""
|
|
892
|
+
Remove unsupported features from cases to train and from their feature list.
|
|
893
|
+
|
|
894
|
+
`cases` itself is not modified. Unsupported features absent from
|
|
895
|
+
`cases` or `features` are ignored.
|
|
896
|
+
|
|
897
|
+
Parameters
|
|
898
|
+
----------
|
|
899
|
+
cases : DataFrame
|
|
900
|
+
The cases to train.
|
|
901
|
+
features : Collection of str, optional
|
|
902
|
+
The features to train, if given explicitly.
|
|
903
|
+
unsupported_features : Collection of str
|
|
904
|
+
The names of the features to remove.
|
|
905
|
+
|
|
906
|
+
Returns
|
|
907
|
+
-------
|
|
908
|
+
DataFrame
|
|
909
|
+
The cases without the unsupported features.
|
|
910
|
+
Collection of str or None
|
|
911
|
+
The features without the unsupported features, in their original
|
|
912
|
+
order, or None if `features` is None.
|
|
913
|
+
"""
|
|
914
|
+
if not unsupported_features:
|
|
915
|
+
return cases, features
|
|
916
|
+
cases = cases.drop(columns=unsupported_features, errors="ignore")
|
|
917
|
+
if features is not None:
|
|
918
|
+
features = [feature for feature in features if feature not in unsupported_features]
|
|
919
|
+
return cases, features
|
|
920
|
+
|
|
865
921
|
def _train_validate_cases(self, cases: TabularData2D, feature_attributes: FeatureAttributesBase, validate: bool):
|
|
866
922
|
"""
|
|
867
923
|
Validate a batch of cases as passed to `train()`.
|