Skip to main content
. 2023 Jul 17;44(14):4848–4858. doi: 10.1002/hbm.26417

FIGURE 1.

FIGURE 1

Sex detection with the Mini‐SpaTeN convolutional neural network and relevance attribution method. First, the segment X is cross‐correlated with 16 learned spatio‐temporal kernels (Ki) similar in dimension as short windows of EEG (actual kernels depicted in Figure 2). Since the kernels have the same number of channels as the data, they only slide along the time axis and not across channels. The 16 correlation curves are rectified (ReLU activation) and divided into 40 overlapping windows. Next, the window‐wise maxima (Mij) are averaged. In the final layer, the sex Y is predicted from these 16 averages with logistic regression. Post hoc, the network parameters are used to attribute the relevance R that each EEG channel and time point from a recording had to the prediction (path indicated in purple). The signs of the final classifier layer weights (wi) imply the sex corresponding to each kernel from the first layer (−/female/red and +/male/blue).