cymr.network.Network.p_recall#
- Network.p_recall(segment, recalls, sublayers, B, T, p_stop, amin=1e-06)#
Calculate the probability of a specific recall sequence.
- 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) – Context updating rate after each recalled item.
T (float) – Decision parameter for choice rule.
p_stop (numpy.array) – Probability of stopping recall at each output position.
amin (float, optional) – Minimum activation for each not-yet-recalled item on each recall attempt.