pyactup 2.2.3__tar.gz → 2.2.5__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.
- {pyactup-2.2.3 → pyactup-2.2.5}/LICENSE +1 -1
- {pyactup-2.2.3 → pyactup-2.2.5}/PKG-INFO +7 -4
- {pyactup-2.2.3 → pyactup-2.2.5}/README.md +3 -3
- {pyactup-2.2.3 → pyactup-2.2.5}/pyactup.egg-info/PKG-INFO +7 -4
- {pyactup-2.2.3 → pyactup-2.2.5}/pyactup.py +6 -5
- {pyactup-2.2.3 → pyactup-2.2.5}/setup.py +1 -1
- {pyactup-2.2.3 → pyactup-2.2.5}/pyactup.egg-info/SOURCES.txt +0 -0
- {pyactup-2.2.3 → pyactup-2.2.5}/pyactup.egg-info/dependency_links.txt +0 -0
- {pyactup-2.2.3 → pyactup-2.2.5}/pyactup.egg-info/requires.txt +2 -2
- {pyactup-2.2.3 → pyactup-2.2.5}/pyactup.egg-info/top_level.txt +0 -0
- {pyactup-2.2.3 → pyactup-2.2.5}/setup.cfg +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright (c) 2018-
|
|
1
|
+
Copyright (c) 2018-2026 Carnegie Mellon University
|
|
2
2
|
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
|
4
4
|
software and associated documentation files (the "Software"), to deal in the Software
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyactup
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.5
|
|
4
4
|
Summary: A lightweight Python implementation of a subset of the ACT-R cognitive architecture’s Declarative Memory
|
|
5
5
|
Home-page: https://dfmorrison.github.io/pyactup-documentation/
|
|
6
6
|
Author: Don Morrison
|
|
7
7
|
Author-email: dfm2@cmu.edu
|
|
8
|
+
License: UNKNOWN
|
|
8
9
|
Platform: any
|
|
9
10
|
Classifier: Intended Audience :: Science/Research
|
|
10
11
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -24,8 +25,8 @@ ACT-R cognitive architecture’s Declarative Memory, suitable for
|
|
|
24
25
|
incorporating into other Python models and applications. Its design
|
|
25
26
|
is inspired by the ACT-UP cognitive modeling toolbox.
|
|
26
27
|
|
|
27
|
-
There is [online documentation of PyACTUp](
|
|
28
|
-
and the [sources](https://github.com/
|
|
28
|
+
There is [online documentation of PyACTUp](https://cmu-psych-fms.github.io/fms/pyactup/),
|
|
29
|
+
and the [sources](https://github.com/cmu-psych-fms/pyactup/) are on GitHub.
|
|
29
30
|
|
|
30
31
|
The latest version of PyACTUp can be download and installed from PyPi with pip:
|
|
31
32
|
|
|
@@ -37,7 +38,7 @@ PyACTUp requires Python version 3.8 or later.
|
|
|
37
38
|
|
|
38
39
|
PyACTUp is released under the following MIT style license:
|
|
39
40
|
|
|
40
|
-
Copyright (c) 2018-
|
|
41
|
+
Copyright (c) 2018-2026 Carnegie Mellon University
|
|
41
42
|
|
|
42
43
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
|
43
44
|
software and associated documentation files (the "Software"), to deal in the Software
|
|
@@ -55,3 +56,5 @@ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIG
|
|
|
55
56
|
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
|
56
57
|
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
|
|
57
58
|
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
59
|
+
|
|
60
|
+
|
|
@@ -3,8 +3,8 @@ ACT-R cognitive architecture’s Declarative Memory, suitable for
|
|
|
3
3
|
incorporating into other Python models and applications. Its design
|
|
4
4
|
is inspired by the ACT-UP cognitive modeling toolbox.
|
|
5
5
|
|
|
6
|
-
There is [online documentation of PyACTUp](
|
|
7
|
-
and the [sources](https://github.com/
|
|
6
|
+
There is [online documentation of PyACTUp](https://cmu-psych-fms.github.io/fms/pyactup/),
|
|
7
|
+
and the [sources](https://github.com/cmu-psych-fms/pyactup/) are on GitHub.
|
|
8
8
|
|
|
9
9
|
The latest version of PyACTUp can be download and installed from PyPi with pip:
|
|
10
10
|
|
|
@@ -16,7 +16,7 @@ PyACTUp requires Python version 3.8 or later.
|
|
|
16
16
|
|
|
17
17
|
PyACTUp is released under the following MIT style license:
|
|
18
18
|
|
|
19
|
-
Copyright (c) 2018-
|
|
19
|
+
Copyright (c) 2018-2026 Carnegie Mellon University
|
|
20
20
|
|
|
21
21
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
|
22
22
|
software and associated documentation files (the "Software"), to deal in the Software
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyactup
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.5
|
|
4
4
|
Summary: A lightweight Python implementation of a subset of the ACT-R cognitive architecture’s Declarative Memory
|
|
5
5
|
Home-page: https://dfmorrison.github.io/pyactup-documentation/
|
|
6
6
|
Author: Don Morrison
|
|
7
7
|
Author-email: dfm2@cmu.edu
|
|
8
|
+
License: UNKNOWN
|
|
8
9
|
Platform: any
|
|
9
10
|
Classifier: Intended Audience :: Science/Research
|
|
10
11
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -24,8 +25,8 @@ ACT-R cognitive architecture’s Declarative Memory, suitable for
|
|
|
24
25
|
incorporating into other Python models and applications. Its design
|
|
25
26
|
is inspired by the ACT-UP cognitive modeling toolbox.
|
|
26
27
|
|
|
27
|
-
There is [online documentation of PyACTUp](
|
|
28
|
-
and the [sources](https://github.com/
|
|
28
|
+
There is [online documentation of PyACTUp](https://cmu-psych-fms.github.io/fms/pyactup/),
|
|
29
|
+
and the [sources](https://github.com/cmu-psych-fms/pyactup/) are on GitHub.
|
|
29
30
|
|
|
30
31
|
The latest version of PyACTUp can be download and installed from PyPi with pip:
|
|
31
32
|
|
|
@@ -37,7 +38,7 @@ PyACTUp requires Python version 3.8 or later.
|
|
|
37
38
|
|
|
38
39
|
PyACTUp is released under the following MIT style license:
|
|
39
40
|
|
|
40
|
-
Copyright (c) 2018-
|
|
41
|
+
Copyright (c) 2018-2026 Carnegie Mellon University
|
|
41
42
|
|
|
42
43
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
|
43
44
|
software and associated documentation files (the "Software"), to deal in the Software
|
|
@@ -55,3 +56,5 @@ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIG
|
|
|
55
56
|
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
|
56
57
|
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
|
|
57
58
|
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
59
|
+
|
|
60
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2018-
|
|
1
|
+
# Copyright (c) 2018-2026 Carnegie Mellon University
|
|
2
2
|
#
|
|
3
3
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
|
4
4
|
# software and associated documentation files (the "Software"), to deal in the Software
|
|
@@ -37,7 +37,7 @@ may be strictly algorithmic, may interact with human subjects, or may be embedde
|
|
|
37
37
|
sites.
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
|
-
__version__ = "2.2.
|
|
40
|
+
__version__ = "2.2.5"
|
|
41
41
|
|
|
42
42
|
if "dev" in __version__:
|
|
43
43
|
print("PyACTUp version", __version__)
|
|
@@ -901,7 +901,7 @@ class Memory(dict):
|
|
|
901
901
|
chunk._references.resize(REFERENCES_FACTOR * chunk._references.size,
|
|
902
902
|
refcheck=False)
|
|
903
903
|
chunk._references[chunk._reference_count] = self._time
|
|
904
|
-
elif
|
|
904
|
+
elif chunk._reference_count < self._optimized_learning:
|
|
905
905
|
if chunk._reference_count >= chunk._references.size:
|
|
906
906
|
chunk._references.resize(min(REFERENCES_FACTOR * chunk._references.size,
|
|
907
907
|
self._optimized_learning),
|
|
@@ -1413,7 +1413,7 @@ class Memory(dict):
|
|
|
1413
1413
|
If only one or two of *function*, *weight* and *derivatve* are supplied, they
|
|
1414
1414
|
changed without changing those not supplied; the initial defaults are ``True`` for
|
|
1415
1415
|
*function*, ``1`` for *weight*, and ``None`` for *derivative*. If none
|
|
1416
|
-
of*function*, *weight* nor *derivative* are supplied all are removed, and these
|
|
1416
|
+
of *function*, *weight* nor *derivative* are supplied all are removed, and these
|
|
1417
1417
|
*attributes* will no longer have an associated similarity computation, and will be
|
|
1418
1418
|
matched only exactly.
|
|
1419
1419
|
|
|
@@ -1478,7 +1478,8 @@ class Chunk(dict):
|
|
|
1478
1478
|
self.update(content)
|
|
1479
1479
|
self._creation = memory._time
|
|
1480
1480
|
self._references = np.empty(1 if self._memory._optimized_learning != 0 else 0,
|
|
1481
|
-
dtype=np.int32)
|
|
1481
|
+
# dtype=np.int32)
|
|
1482
|
+
dtype=np.float64)
|
|
1482
1483
|
self._reference_count = 0
|
|
1483
1484
|
|
|
1484
1485
|
def __repr__(self):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|