iita-python 1.4.1__tar.gz → 1.4.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.
- {iita_python-1.4.1/iita_python.egg-info → iita_python-1.4.2}/PKG-INFO +1 -1
- {iita_python-1.4.1 → iita_python-1.4.2}/iita_python/_version.py +3 -3
- {iita_python-1.4.1 → iita_python-1.4.2}/iita_python/quasiorder.py +3 -2
- {iita_python-1.4.1 → iita_python-1.4.2/iita_python.egg-info}/PKG-INFO +1 -1
- {iita_python-1.4.1 → iita_python-1.4.2}/.github/workflows/release.yaml +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/.gitignore +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/README.md +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/iita_python/__init__.py +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/iita_python/additional_ce.py +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/iita_python/dataset.py +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/iita_python/fit_metrics.py +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/iita_python/utils.py +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/iita_python.egg-info/SOURCES.txt +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/iita_python.egg-info/dependency_links.txt +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/iita_python.egg-info/requires.txt +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/iita_python.egg-info/top_level.txt +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/pyproject.toml +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/setuf.cfg +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/setup.cfg +0 -0
- {iita_python-1.4.1 → iita_python-1.4.2}/setup.py +0 -0
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '1.4.
|
|
22
|
-
__version_tuple__ = version_tuple = (1, 4,
|
|
21
|
+
__version__ = version = '1.4.2'
|
|
22
|
+
__version_tuple__ = version_tuple = (1, 4, 2)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g07488e250'
|
|
@@ -52,7 +52,7 @@ class QuasiOrder:
|
|
|
52
52
|
knowledge_space_matrix = ((masks[:, None] & bits) != 0).astype(np.int_)
|
|
53
53
|
return knowledge_space_matrix
|
|
54
54
|
|
|
55
|
-
def ind_gen(counterexamples: pd.DataFrame
|
|
55
|
+
def ind_gen(counterexamples: pd.DataFrame) -> list[QuasiOrder]:
|
|
56
56
|
"""
|
|
57
57
|
Inductively generates quasiorders from counterexample count DataFrame\n
|
|
58
58
|
"""
|
|
@@ -83,6 +83,7 @@ def ind_gen(counterexamples: pd.DataFrame, n: int) -> list[QuasiOrder]:
|
|
|
83
83
|
queue = np.concat([group, long_queue], axis=0)
|
|
84
84
|
queue = np.array(sorted(queue.tolist()), dtype=np.int_)
|
|
85
85
|
allow = np.ones((len(queue)))
|
|
86
|
+
long_queue = np.empty((0, 2), dtype=np.int_)
|
|
86
87
|
|
|
87
88
|
for a, b in queue:
|
|
88
89
|
new_qo[a][b] = 1
|
|
@@ -99,7 +100,7 @@ def ind_gen(counterexamples: pd.DataFrame, n: int) -> list[QuasiOrder]:
|
|
|
99
100
|
|
|
100
101
|
if (allow.sum() == len(allow)): break
|
|
101
102
|
|
|
102
|
-
long_queue = queue[np.logical_not(allow)].copy()
|
|
103
|
+
long_queue = np.concat((long_queue, queue[np.logical_not(allow)].copy()), axis=0)
|
|
103
104
|
queue = queue[allow.astype(np.bool)].copy()
|
|
104
105
|
allow = allow[allow.astype(np.bool)].copy()
|
|
105
106
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|