## 3 Results
### Change of Seizure-Generation Parameters  
Here, two simulation experiments aimed at testing the limits of the proposed reinforcement paradigm are presented. Both consist of three separate tests, starting with the three different sets of initial detector parameters shown in Table 2.  
In the first experiment, we generate seizures with the same maximal duration (60 samples) but with a variety of parameters, \(T_{s}\), \(T_{n}\), \(P_{s}\), \(P_{n}\), presented in Table 3.  
In Figure 8, the results of this reinforcement simulation experiment are shown. For better inspection of the results, the vertical axes are showing the confusion factor from Equation (10) associated with the content of Table 3.  
\begin{table}
\begin{tabular}{c c c c c} \hline
**Session** & **Threshold** & **N** & **n** & **Black-Out** \\ \hline
1 & 0.2 & 5 & 3 & 90 \\ \hline
2 & 0.5 & 10 & 9 & 90 \\ \hline
3 & 0.8 & 10 & 10 & 90 \\ \hline \end{tabular}
\end{table}
Table 2: Three different initial detection parameters used for the two experiments described in this section. The columns are the same as in Table 1.  
Figure 7: Traces (black lines) of the detector parameter adaptation from simulations of the reinforcement procedure starting from various initial detector settings given in Table 1. The horizontal axis is the epoch number (each epoch of 3600 simulation steps; see Section 2.5) from the start of the simulation experiment. The labels on the vertical axes denote the corresponding parameter.  
Figure 8: The notations are the same as those of Figure 5. Each row of images represents a session with the different initial detection parameters given in Table 2.  
\begin{table}
\begin{tabular}{c c c c c c} \hline \hline
**Trial No** & \(\mathbf{T_{n}}\) & \(\mathbf{T_{s}}\) & \(\mathbf{P_{n}}\) & \(\mathbf{P_{s}}\) & \(\mathbf{C}\) \\ \hline
1 & 0.1 & 0.9 & 0.02 & 0.98 & 0.02 \\ \hline
2 & 0.4 & 0.6 & 0.1 & 0.96 & 0.064 \\ \hline
3 & 0.3 & 0.4 & 0.1 & 0.9 & 0.1 \\ \hline
4 & 0.2 & 0.4 & 0.15 & 0.75 & 0.17 \\ \hline
5 & 0.4 & 0.5 & 0.2 & 0.7 & 0.24 \\ \hline
6 & 0.5 & 0.5 & 0.3 & 0.6 & 0.35 \\ \hline \hline \end{tabular}
\end{table}
Table 3: Seizure-generation parameters for the first experiment in this section. The first column is the trial number, the second: the threshold of normal state, the third: the threshold of simulated seizure state, the fourth: probability of exceeding the threshold in normal state, the fifth: probability of exceeding the threshold during seizure state. The sixth column is the confusion factor for the corresponding generation parameters as given in Equation (10). In this experiment, the maximal seizure duration is always 60 samples.  
Also for this set of data, the sensitivity and specificity asymptotic behavior are shown in the boxplots of Figure 11. Statistical distributions of sensitivity (the left column of the plots) and specificity (the right column of the plots) derived from the last 50 epochs of the simulations of reinforcement procedure are shown as boxplots starting from the three various initial detector settings (each horizontal line of the plots) given in Table 2.  
Figure 10: The same notations as in Figure 6. The vertical axes here represent the simulated maximal seizure duration in simulation steps. The three lines of images correspond to the three different initial detection parameters from Table 2.