Skip to content

Encoding Plots

KenWWW edited this page Jul 11, 2023 · 5 revisions

Encoding plots are lines plots of results/encoding, usually with lags (s) on the x-axis and correlation per lag on the y-axis. For each plot, we need to provide the encoding results folder, significant electrode list, the lags to plot, and other plotting parameters.

Encoding Variants

  • Encoding: For most encoding, each line corresponds to a label and a key. keys is usually comprehension and/or production, while labels can be whatever (for instance, embedding type). The encoding script has the ability to assign different line styles/colors based on labels or keys. It also has the ability to split horizontally or vertically by labels or keys.

  • Encoding Layers: For encoding layers, labels is set to different layers automatically and line colors is automatically set to labels

  • Encoding Twosplit: For some encoding, each line is tied to two labels and a key (Here we generalize into 3 labels). For instance, label1 can be comprehension and/or production, label2 can be embedding type (GloVe, GPT-2, Whisper), and labels3 can be probable/improbable. In this case, we need the plot to be able to split horizontally and vertically based on two of the three labels.

Clone this wiki locally