Animals
Thirty adult male Wistar rats, weighing 225–265 g (approx. 14-16 weeks of age), were obtained from the university vivarium of Birla Institute of Technology (BIT, Mesra, Ranchi, India). The rats were randomly divided into three categories (n=10): category I (Control), category II (Nicotine) and category III (Caffeine). All laboratory-based experiments were conducted at the Birla Institute of Technology, Mesra, Ranchi, over a period of two years (July 2022 to July 2024) and data analysis and machine learning experiments were performed in 2025.
Drug administration model
Laboratory grade 95-99% pure nicotine and caffeine powders were obtained and used for chronic drug administration. The analytical grade nicotine was obtained from Forbes Pharmaceuticals, India and administered at a dose of 0.5 mg/kg body weight (BW)
(Xia et al., 2019). The caffeine was brought from Hebansh Pharma Equipment, India and administered at a dose of 10 mg/kg body weight (BW) intraperitoneally
(Marin et al., 2011). The rats were randomly divided into 3 categories and chronic administration was done for 21 days. The drug formulations were prepared daily in distilled water, vortexed, warmed and then injected in 0.5 ml quantity for 21 days at the same time every day. Category I, the Control, was injected with 0.5 M saline, Category II received nicotine intraperitoneally (IP) and Category III was injected with caffeine intraperitoneally.
EEG recording
The final epidural, single-channel, bipolar EEG recording was performed on the 21
st day under urethane anaesthesia at a dose of 1.2 mg/kg body weight. And the procedure followed was in accordance with previous works (
Sinha, 2009). The 2 hours of continuous single channel, bipolar EEG recording was done using Biopac student lab MP45 hardware (Biopac Inc, USA) and the waveforms was obtained in BSL software keeping frequency range of 0.5 to 35 Hz and sampling rate of 256 Hz.
EEG preprocessing and analysis
EEG preprocessing was done using BSL Software. To remove any kind of artifacts like powerline noise or cardiac activity IIR high + low band-pass digital filter applied at fixed low frequency of 0.5 Hz and high frequency of 40 Hz, thus allowing signal with 0.5 to 40 Hz frequency range to pass. After skipping the first 10 minutes of recording, the entire waveforms of every subject were split into 60 samples each of 2 second epochs.
In the analysis, a Hamming window, one of the most widely used windowing methods, was applied, as it provides optimal stop-band attenuation for most digital filter implementations. Linear Fast Fourier transform (FFT) was done (
Maheshwari, 2020). The FFT was meant to convert the time domain signal to frequency domain. FFT is an adequate computational algorithm for the estimation of discrete Fourier transform and provides approximate estimation of finite Fourier integrals (
Al-Fahoum, 2014).
In FFT tab, frequency vs amplitude graph was obtained and four features: maximum frequency, maximum amplitude, average amplitude and area under curve for each considered frequency bands (delta, theta, alpha, beta), were manually obtained and tabulated in Microsoft office excel. Thus, a total of 16 features were taken into consideration. The choice of considered features was because of their ease of extractions, quantifications, graphical representations and default availability in Biopac software.
ECG recording
The ECG recording was done simultaneously alongside EEG under deep urethane anaesthesia on the last day of drug exposure past 30 minutes of drug administration. The lead II, surface ECG recording following Einthoven triangle rule, was done using a limb electrode made in the research laboratory by repurposing simple stainless steel paper clips. The recording was done in supine conditions. The signal acquisition was done using a Biopac MP45 hardware system with 0.5 to 35 Hz frequency range and 256 samples/sec sampling rates. The signal was then obtained and processed using BSL software where any movement or other artefacts of the signal were first removed by applying 2 Hz high pass filters. The methodology of electrode designing, data acquisition and preprocessing has been reported previously
(Pandey et al., 2025). The amplitudes of the P, R and T deflections, along with the durations of the PR, QRS, QT and RR intervals and heart rate in BPM, were documented, as they are convenient to visualize and quantify.
Statistical analysis and graphical representation
All statistical analysis and graphical representations were done using GraphPad Prism version 8.0 software (GraphPad Prism Inc., San Diego, California, USA). All data were presented as mean with standard error of mean (SEM). A two tailed unpaired or independent t test using a set of continuous variables,
i.e., considered EEG and ECG parameters, was done for each set of experiments-Experiment group I: Control vs Nicotine and Experiment group II: Control vs Caffeine. A p value of 0.05 or less was considered statistically significant.
Inferential statistic
In our experiment, inferential statistics is important as the set of EEG, ECG parameters used to compare between control and experimental groups have been used comprehensively for the first time. So, quantitative estimation of difference between control and psychostimulant groups can help make generalized inferences and explore the causes. The bivariate comparison between control and stimulant administered groups was done using parametric, two sample, unpaired student t-test as samples are independent, symmetrical and have equal variance. The difference between two groups was considered significant when the probability of similarity between the values of means is less than 0.05 or 5% (
Schober and Vetter, 2019).
Support vector machine
The support vector machine (SVM) has shown a high degree of utility in solving classification problems for several neuropsychic pathophysiology ailments using EEG and ECG parameters
(Ancillon et al., 2022). In present work, we have used simple, straightforward linear kernel based SVM to identify the best hyperplane with the largest margin between two classes for binary classification in two sets of experiments separately, Group I Experiment: control and chronic Nicotine and Group II Experiment: control and chronic Caffeine using EEG and ECG variables. Here, we collected 10 data instances from each rat, a total of 100 from each group in each set of experiments and used 80% of datasets for training the SVM algorithm and 20% for its validation. SVM maps an input vector X into a high dimensional feature space Z through a mapping function theta. The hyperplane separates data belonging to two different classes: Control or caffeine and control or nicotine in Z.
The performance of the SVM classifier was tested using a confusion matrix which calculated accuracy, precision, recall and F1-score. These matrices were used to provide elaborate and relevant assessment of the model’s predictive ability to detect chronic drug exposure. Here, accuracy gives a general performance overview of the model, precision measures the number of true predictions redeemed upon total retrieved instances. Recall measures the number of correct instances retrieved divided by total correct instances, F1 score balances the precision and recall and is calculated as a harmonic mean of precision and recall (
Valero-Carreras et al., 2023).