Figure 1

Architecture of the convolutional neural network. The input shape (2âsecond 24-channel EEG) has dimensions 256 (samples) Ă 24 (channels); the output of the net is dichotomous: 1 (male) or 0 (female). Stochastic optimization was realized using Adamax51 with learning rateâ=â0.002, β1â=â0.9, β2â=â0.999, Îľâ=â108 and decayâ=â0.0. As the loss function, the categorical cross-entropy was used. The total number of parameters was 9,051,902.