cymr.network.Network.record_study#

Network.record_study(segment, item_list, sublayers, B, Lfc, Lcf, include=None, exclude=None)#

Study a list of items and record network states.

Parameters:
  • segment (tuple of str, str) – Sublayer and segment of items to present.

  • item_list (numpy.array) – Item indices relative to the segment.

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

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

  • Lfc (float or numpy.array) – Learning rate for item to context associations. If an array, specifies a learning rate for each individual trial.

  • Lcf (float or numpy.array) – Learning rate for context to item associations.

  • 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 presentation of each item.

Return type:

list of cymr.network.Network