cbrkit 0.20.0__tar.gz → 0.20.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.
- {cbrkit-0.20.0/src/cbrkit.egg-info → cbrkit-0.20.2}/PKG-INFO +1 -1
- {cbrkit-0.20.0 → cbrkit-0.20.2}/pyproject.toml +1 -1
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/__init__.py +2 -1
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/sim/numbers.py +4 -4
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/sim/strings/taxonomy.py +4 -4
- {cbrkit-0.20.0 → cbrkit-0.20.2/src/cbrkit.egg-info}/PKG-INFO +1 -1
- {cbrkit-0.20.0 → cbrkit-0.20.2}/LICENSE +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/README.md +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/setup.cfg +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/__main__.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/adapt/__init__.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/adapt/_attribute_value.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/adapt/generic.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/adapt/numbers.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/adapt/strings.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/api.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/cli.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/eval/__init__.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/eval/_common.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/eval/_retrieval.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/helpers.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/loaders.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/py.typed +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/retrieval.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/reuse.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/sim/__init__.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/sim/_aggregator.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/sim/_attribute_value.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/sim/collections.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/sim/generic.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/sim/graphs/__init__.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/sim/graphs/_astar.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/sim/graphs/_isomorphism.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/sim/graphs/_model.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/sim/strings/__init__.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit/typing.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit.egg-info/SOURCES.txt +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit.egg-info/dependency_links.txt +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit.egg-info/entry_points.txt +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit.egg-info/requires.txt +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/src/cbrkit.egg-info/top_level.txt +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/tests/test_cycle.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/tests/test_retrieve.py +0 -0
- {cbrkit-0.20.0 → cbrkit-0.20.2}/tests/test_reuse.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cbrkit
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.2
|
|
4
4
|
Summary: Customizable Case-Based Reasoning (CBR) toolkit for Python with a built-in API and CLI
|
|
5
5
|
Author-email: Mirko Lenz <mirko@mirkolenz.com>
|
|
6
6
|
Project-URL: Repository, https://github.com/wi2trier/cbrkit
|
|
@@ -42,7 +42,7 @@ class linear(SimPairFunc[Number, float], SupportsMetadata):
|
|
|
42
42
|
max: Maximum bound of the distance (i.e., the point where the similarity is 0.0)
|
|
43
43
|
min: Minimum bound of the distance (i.e., the point where the similarity is 1.0)
|
|
44
44
|
|
|
45
|
-

|
|
46
46
|
|
|
47
47
|
Examples:
|
|
48
48
|
>>> sim = linear(100)
|
|
@@ -72,7 +72,7 @@ class threshold(SimPairFunc[Number, float], SupportsMetadata):
|
|
|
72
72
|
Args:
|
|
73
73
|
value: If the absolute difference between the two values is less than or equal to this value, the similarity is 1.0, otherwise it is 0.0
|
|
74
74
|
|
|
75
|
-

|
|
76
76
|
|
|
77
77
|
Examples:
|
|
78
78
|
>>> sim = threshold(10)
|
|
@@ -96,7 +96,7 @@ class exponential(SimPairFunc[Number, float], SupportsMetadata):
|
|
|
96
96
|
Args:
|
|
97
97
|
alpha: Controls the growth of the exponential function for the similarity. The larger alpha is, the faster the similarity decreases.
|
|
98
98
|
|
|
99
|
-

|
|
100
100
|
|
|
101
101
|
Examples:
|
|
102
102
|
>>> sim = exponential(0.1)
|
|
@@ -119,7 +119,7 @@ class sigmoid(SimPairFunc[Number, float], SupportsMetadata):
|
|
|
119
119
|
alpha: Specifies the steepness of the similarity decrease. The smaller alpha, the steeper is the decrease.
|
|
120
120
|
theta: Specifies the point at which the similarity value is 0.5.
|
|
121
121
|
|
|
122
|
-

|
|
123
123
|
|
|
124
124
|
Examples:
|
|
125
125
|
>>> sim = sigmoid(1, 10)
|
|
@@ -146,7 +146,7 @@ class user_weights(TaxonomyFunc, SupportsMetadata):
|
|
|
146
146
|
strategy: The strategy to use in case one of the node is the lowest common ancestor (lca).
|
|
147
147
|
One of "optimistic", "pessimistic", or "average".
|
|
148
148
|
|
|
149
|
-

|
|
150
150
|
|
|
151
151
|
Examples:
|
|
152
152
|
>>> taxonomy = Taxonomy("./data/cars-taxonomy.yaml")
|
|
@@ -186,7 +186,7 @@ class auto_weights(TaxonomyFunc, SupportsMetadata):
|
|
|
186
186
|
strategy: The strategy to use in case one of the node is the lowest common ancestor (lca).
|
|
187
187
|
One of "optimistic", "pessimistic", or "average".
|
|
188
188
|
|
|
189
|
-

|
|
190
190
|
|
|
191
191
|
Examples:
|
|
192
192
|
>>> taxonomy = Taxonomy("./data/cars-taxonomy.yaml")
|
|
@@ -230,7 +230,7 @@ class node_levels(TaxonomyFunc, SupportsMetadata):
|
|
|
230
230
|
strategy: The strategy to use in case one of the node is the lowest common ancestor (lca).
|
|
231
231
|
One of "optimistic", "pessimistic", or "average".
|
|
232
232
|
|
|
233
|
-

|
|
234
234
|
|
|
235
235
|
Examples:
|
|
236
236
|
>>> taxonomy = Taxonomy("./data/cars-taxonomy.yaml")
|
|
@@ -269,7 +269,7 @@ class path_steps(TaxonomyFunc, SupportsMetadata):
|
|
|
269
269
|
weight_up: The weight to use for the steps up.
|
|
270
270
|
weight_down: The weight to use for the steps down.
|
|
271
271
|
|
|
272
|
-

|
|
273
273
|
|
|
274
274
|
Examples:
|
|
275
275
|
>>> taxonomy = Taxonomy("./data/cars-taxonomy.yaml")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cbrkit
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.2
|
|
4
4
|
Summary: Customizable Case-Based Reasoning (CBR) toolkit for Python with a built-in API and CLI
|
|
5
5
|
Author-email: Mirko Lenz <mirko@mirkolenz.com>
|
|
6
6
|
Project-URL: Repository, https://github.com/wi2trier/cbrkit
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|