Quantitative Assessment of rTMS Therapeutic Efficacy in Treatment-Resistant Depression Using Multi-Band EEG Analysis and Machine Learning Classifications | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Quantitative Assessment of rTMS Therapeutic Efficacy in Treatment-Resistant Depression Using Multi-Band EEG Analysis and Machine Learning Classifications Mohammad Karimi Moridani, Farnaz Paymani This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-8399370/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract Background and Objectives: Major depressive disorder (MDD) affects about 350 million people worldwide and is the fourth leading cause of disease burden. Repetitive transcranial magnetic stimulation (rTMS) has become a non-invasive treatment for depression that does not respond to typical therapies. This study aimed to assess the effectiveness of rTMS for patients with treatment-resistant MDD by analyzing electroencephalogram (EEG) signals and using machine learning methods to classify neural patterns before and after treatment. Methods: A randomized clinical trial was carried out with 89 patients diagnosed with treatment-resistant MDD who received rTMS at the Zima Cognition and Brain Therapy Center over six weeks. EEG recordings were taken from 60 channels before treatment began and right after the last treatment session. Two preprocessing methods were used: frequency-domain filtering with finite impulse response filters (0.4-100 Hz) and time-frequency filtering using wavelet transform with Daubechies-10 mother wavelet. Frequency sub-bands (alpha, beta, and gamma) were extracted, and 13 features were calculated from each sub-band, including temporal features (mean absolute value, waveform length), frequency features (mean frequency, median frequency), and nonlinear features (Lyapunov exponent). Principal component analysis was used to reduce dimensions while keeping 95% of the variance. Classification was done with three algorithms: support vector machine (SVM) with multiple kernels, k-nearest neighbor (KNN), and decision tree. Results: Frequency-domain filtering showed better performance than time-frequency filtering in maintaining spectral components. Statistical t-tests revealed significant differences (p<0.05) between pre- and post-treatment classes across temporal and nonlinear features in all frequency bands. The gamma band had the highest classification accuracy. SVM with nonlinear kernels and weighted KNN achieved the best results, with accuracy exceeding 99% for gamma band features using frequency-domain filtering. Beta and alpha bands also showed the ability to distinguish effects, indicating that rTMS influences more than just gamma-band activity. The combination of principal component analysis and statistical feature selection improved both classification speed and performance. Conclusion: This study provides quantitative evidence of rTMS effectiveness for treatment-resistant depression through EEG signal analysis and machine learning classification. The method successfully identified neural patterns before and after treatment with high accuracy, suggesting possible uses for predicting treatment response and optimizing personalized therapy in clinical practice. Biomedical Engineering Depression Biomarkers rTMS Multi-Band EEG Analysis Treatment Response Prediction Machine Learning Classification Full Text Additional Declarations The authors declare no competing interests. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-8399370","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":562645608,"identity":"5985ed7f-103b-4b99-802b-6af3e9f0ce71","order_by":0,"name":"Mohammad Karimi Moridani","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA2UlEQVRIiWNgGAWjYDACHiBOYJBgMGBgYHwA4vORooXZAMRnI0oLCACVs0mAGAS16PYcfvbhYY4Fg7nY4WOVX3PsZNgYmB8+uoFHi9nZNuMZidskGCxnp6Xdlt2WDHQYm7FxDj4t5xmMGUBaDG7nmN2W3MYM1MLDJo1fC/tnqJb8b8WS2+qJ0HK2B24LG+PHbYeJ0HLmTDFICw/QL8bSjNuO87AxE/LLmfTNjD+31cmZSyc//PhzW7U9P3vzw8f4tMAAOHqYISQRyuGA8QcpqkfBKBgFo2DEAAAib0FN0Qb+sAAAAABJRU5ErkJggg==","orcid":"https://orcid.org/0000-0003-0793-3797","institution":"","correspondingAuthor":true,"prefix":"","firstName":"Mohammad","middleName":"Karimi","lastName":"Moridani","suffix":""},{"id":562645632,"identity":"191fc003-902b-4462-9fd8-b944fb3fe9b6","order_by":1,"name":"Farnaz Paymani","email":"","orcid":"","institution":"","correspondingAuthor":false,"prefix":"","firstName":"Farnaz","middleName":"","lastName":"Paymani","suffix":""}],"badges":[],"createdAt":"2025-12-19 00:19:09","currentVersionCode":1,"declarations":{"humanSubjects":false,"vertebrateSubjects":false,"conflictsOfInterestStatement":false,"humanSubjectEthicalGuidelines":false,"humanSubjectConsent":false,"humanSubjectClinicalTrial":false,"humanSubjectCaseReport":false,"vertebrateSubjectEthicalGuidelines":false},"doi":"10.21203/rs.3.rs-8399370/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-8399370/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":98776486,"identity":"3d55ed6f-271f-4136-bf90-55d8fee1a6b0","added_by":"auto","created_at":"2025-12-22 12:22:55","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":634941,"visible":true,"origin":"","legend":"","description":"","filename":"PapersubmittedpreprintHum.pdf","url":"https://assets-eu.researchsquare.com/files/rs-8399370/v1_covered_709bfe2e-f0bf-410c-9cbf-c7cdf3dca623.pdf"}],"financialInterests":"The authors declare no competing interests.","formattedTitle":"\u003cp\u003eQuantitative Assessment of rTMS Therapeutic Efficacy in Treatment-Resistant Depression Using Multi-Band EEG Analysis and Machine Learning Classifications\u003c/p\u003e","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":true,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Depression Biomarkers, rTMS, Multi-Band EEG Analysis, Treatment Response Prediction, Machine Learning Classification ","lastPublishedDoi":"10.21203/rs.3.rs-8399370/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-8399370/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003e\u003cstrong\u003eBackground and Objectives:\u003c/strong\u003e Major depressive disorder (MDD) affects about 350 million people worldwide and is the fourth leading cause of disease burden. Repetitive transcranial magnetic stimulation (rTMS) has become a non-invasive treatment for depression that does not respond to typical therapies. This study aimed to assess the effectiveness of rTMS for patients with treatment-resistant MDD by analyzing electroencephalogram (EEG) signals and using machine learning methods to classify neural patterns before and after treatment.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eMethods:\u003c/strong\u003e A randomized clinical trial was carried out with 89 patients diagnosed with treatment-resistant MDD who received rTMS at the Zima Cognition and Brain Therapy Center over six weeks. EEG recordings were taken from 60 channels before treatment began and right after the last treatment session. Two preprocessing methods were used: frequency-domain filtering with finite impulse response filters (0.4-100 Hz) and time-frequency filtering using wavelet transform with Daubechies-10 mother wavelet. Frequency sub-bands (alpha, beta, and gamma) were extracted, and 13 features were calculated from each sub-band, including temporal features (mean absolute value, waveform length), frequency features (mean frequency, median frequency), and nonlinear features (Lyapunov exponent). Principal component analysis was used to reduce dimensions while keeping 95% of the variance. Classification was done with three algorithms: support vector machine (SVM) with multiple kernels, k-nearest neighbor (KNN), and decision tree.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eResults:\u003c/strong\u003e Frequency-domain filtering showed better performance than time-frequency filtering in maintaining spectral components. Statistical t-tests revealed significant differences (p\u0026lt;0.05) between pre- and post-treatment classes across temporal and nonlinear features in all frequency bands. The gamma band had the highest classification accuracy. SVM with nonlinear kernels and weighted KNN achieved the best results, with accuracy exceeding 99% for gamma band features using frequency-domain filtering. Beta and alpha bands also showed the ability to distinguish effects, indicating that rTMS influences more than just gamma-band activity. The combination of principal component analysis and statistical feature selection improved both classification speed and performance.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eConclusion: \u003c/strong\u003eThis study provides quantitative evidence of rTMS effectiveness for treatment-resistant depression through EEG signal analysis and machine learning classification. The method successfully identified neural patterns before and after treatment with high accuracy, suggesting possible uses for predicting treatment response and optimizing personalized therapy in clinical practice.\u003c/p\u003e","manuscriptTitle":"Quantitative Assessment of rTMS Therapeutic Efficacy in Treatment-Resistant Depression Using Multi-Band EEG Analysis and Machine Learning Classifications","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-12-22 04:44:58","doi":"10.21203/rs.3.rs-8399370/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"24de301c-365d-40e6-9c42-e4c730c4a643","owner":[],"postedDate":"December 22nd, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":59917866,"name":"Biomedical Engineering"}],"tags":[],"updatedAt":"2025-12-22T04:44:59+00:00","versionOfRecord":[],"versionCreatedAt":"2025-12-22 04:44:58","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-8399370","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-8399370","identity":"rs-8399370","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.