cymr.network.Network.record_recall#

Network.record_recall(segment, recalls, sublayers, B, T, amin=1e-06, include=None, exclude=None)#

Simulate a recall sequence and record network states.

Parameters:
  • segment (tuple of str, str) – Sublayer and segment from which items are recalled.

  • recalls (numpy.array) – Index of each recalled item relative to the segment.

  • sublayers (str or list of str) – Sublayer(s) of context to update.

  • B (float or numpy.array) – Context updating rate. If an array, specifies a rate for each individual recall trial.

  • T (float) – Decision parameter for choice rule.

  • amin (float, optional) – Minimum activation for each not-yet-recalled item on each recall attempt.

  • include (list of str, optional) – Network attributes to include in the recorded states. Default is to include all attributes.

  • exclude (list of str, optional) – Network attributes to exclude from the recorded states.

Returns:

state – Copy of the network state after each recall attempt.

Return type:

list of cymr.network.Network