cymr.operations.cue_item#
- cymr.operations.cue_item(int n, int n_f, const double[:, :] w_cf_pre, double[:, :] w_cf_exp, const double[:, :] w_ff_pre, double[:, :] w_ff_exp, double[:] f_in, double[:] c, int[:] exclude, int[:] recalls, int output)#
Cue an item based on context.
- Parameters:
n – Start index of the item segment being recalled from.
n_f – Number of units in the item segment.
w_cf_pre – Weight matrix \(\mathbf{M}^{CF}_\mathrm{pre}\).
w_cf_exp – Weight matrix \(\mathbf{M}^{CF}_\mathrm{exp}\).
w_ff_pre – Weight matrix \(\mathbf{M}^{FF}_\mathrm{pre}\).
w_ff_exp – Weight matrix \(\mathbf{M}^{FF}_\mathrm{exp}\).
f_in – Item input \(\mathbf{f}^\mathrm{IN}\).
c – Context representation \(\mathbf{c}\).
exclude – Vector of item indices to exclude from recall.
recalls – Item indices of recalls in output order.
output – Output position, starting from zero.