pyactup 2.2.3__tar.gz → 2.2.4__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.
@@ -1,10 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyactup
3
- Version: 2.2.3
3
+ Version: 2.2.4
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
@@ -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,10 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyactup
3
- Version: 2.2.3
3
+ Version: 2.2.4
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
@@ -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
+
@@ -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.3"
40
+ __version__ = "2.2.4"
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 chunk._reference_count < self._optimized_learning:
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