cymr.network.Network.generate_recall#
- Network.generate_recall(segment, sublayers, B, T, p_stop, amin=1e-06, filter_recalls=False, A1=None, A2=None)#
Generate a sequence of simulated free recall events.
- Parameters:
segment (tuple of str, str) – Sublayer and segment to retrieve items from.
sublayers (str or list of str) – Sublayer(s) of context to update.
B (float or numpy.ndarray) – Context updating rate after each recall.
T (float) – Decision parameter for choice rule.
p_stop (numpy.array) – Probability of stopping at each output position.
amin (float, optional) – Minimum activation of each not-yet-recalled item on each recall attempt.
filter_recalls (bool, optional) – If true, potential recalls will be filtered based on match to context.
A1 (float, optional) – Intercept mapping context match to an expit to determine recovery probability.
A2 (float, optional) – Slope mapping match to an expit.
- Returns:
recalls – Indices of items recalled at each output position.
- Return type:
list of int