<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">JMIR Ment Health</journal-id><journal-id journal-id-type="publisher-id">mental</journal-id><journal-id journal-id-type="index">16</journal-id><journal-title>JMIR Mental Health</journal-title><abbrev-journal-title>JMIR Ment Health</abbrev-journal-title><issn pub-type="epub">2368-7959</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v13i1e84424</article-id><article-id pub-id-type="doi">10.2196/84424</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Functional Outcome Prediction in Young Adults With Mental Health Symptoms Using Machine Learning and Large Language Models: Longitudinal Observational Study</article-title></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Mikolas</surname><given-names>Pavol</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Huth</surname><given-names>Fabian</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Br&#x00F6;ckel-Bundt</surname><given-names>Kyra</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Berndt</surname><given-names>Christina</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Martini</surname><given-names>Julia</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Maicher</surname><given-names>Birgit</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Marxen</surname><given-names>Michael</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Verhees</surname><given-names>Falk Gerrik</given-names></name><degrees>Dr med, MPH</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Henneberg</surname><given-names>Paula Marie</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Vogelbacher</surname><given-names>Christoph</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="aff" rid="aff4">4</xref><xref ref-type="aff" rid="aff5">5</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Jansen</surname><given-names>Andreas</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="aff" rid="aff4">4</xref><xref ref-type="aff" rid="aff5">5</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Kircher</surname><given-names>Tilo</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="aff" rid="aff4">4</xref><xref ref-type="aff" rid="aff5">5</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Falkenberg</surname><given-names>Irina</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="aff" rid="aff4">4</xref><xref ref-type="aff" rid="aff5">5</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Thomas-Odenthal</surname><given-names>Florian</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="aff" rid="aff4">4</xref><xref ref-type="aff" rid="aff5">5</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Lambert</surname><given-names>Martin</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff6">6</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Kraft</surname><given-names>Vivien</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff6">6</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Leicht</surname><given-names>Gregor</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff6">6</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Mulert</surname><given-names>Christoph</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff5">5</xref><xref ref-type="aff" rid="aff6">6</xref><xref ref-type="aff" rid="aff7">7</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Fallgatter</surname><given-names>Andreas J</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff8">8</xref><xref ref-type="aff" rid="aff9">9</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Ethofer</surname><given-names>Thomas</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff8">8</xref><xref ref-type="aff" rid="aff9">9</xref><xref ref-type="aff" rid="aff10">10</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Rau</surname><given-names>Anne</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff8">8</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Leopold</surname><given-names>Karolina</given-names></name><degrees>Dr med</degrees><xref ref-type="aff" rid="aff11">11</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Bechdolf</surname><given-names>Andreas</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff11">11</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Andreas</surname><given-names>Reif</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff12">12</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Matura</surname><given-names>Silke</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff12">12</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Repple</surname><given-names>Jonathan</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff12">12</xref><xref ref-type="aff" rid="aff13">13</xref><xref ref-type="aff" rid="aff14">14</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Bermpohl</surname><given-names>Felix</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff15">15</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Fiebig</surname><given-names>Jana</given-names></name><xref ref-type="aff" rid="aff15">15</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Stamm</surname><given-names>Thomas</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff15">15</xref><xref ref-type="aff" rid="aff16">16</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Correll</surname><given-names>Christoph U</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff17">17</xref><xref ref-type="aff" rid="aff18">18</xref><xref ref-type="aff" rid="aff19">19</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Juckel</surname><given-names>Georg</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff20">20</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Flasbeck</surname><given-names>Vera</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff20">20</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Wiest</surname><given-names>Isabella C</given-names></name><degrees>Dr med, MSc</degrees><xref ref-type="aff" rid="aff21">21</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Kather</surname><given-names>Jakob N</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff21">21</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Dannlowski</surname><given-names>Udo</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff22">22</xref><xref ref-type="aff" rid="aff23">23</xref><xref ref-type="aff" rid="aff24">24</xref><xref ref-type="aff" rid="aff25">25</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Mennigen</surname><given-names>Eva</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Ritter</surname><given-names>Philipp</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Bauer</surname><given-names>Michael</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Pfennig</surname><given-names>Andrea</given-names></name><degrees>Prof Dr</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib></contrib-group><aff id="aff1"><institution>Department of Psychiatry and Psychotherapy, Carl Gustav Carus University Hospital, TUD Dresden University of Technology</institution><addr-line>Dresden</addr-line><country>Germany</country></aff><aff id="aff2"><institution>Department of Psychiatry and Psychotherapy, Jena University Hospital</institution><addr-line>Philosophenweg 3</addr-line><addr-line>Jena</addr-line><addr-line>Thuringia</addr-line><country>Germany</country></aff><aff id="aff3"><institution>Department of Psychiatry, University of Marburg</institution><addr-line>Marburg</addr-line><country>Germany</country></aff><aff id="aff4"><institution>Core-Facility Brain Imaging, Faculty of Medicine, University of Marburg</institution><addr-line>Marburg</addr-line><country>Germany</country></aff><aff id="aff5"><institution>Center for Mind, Brain and Behavior (CMBB), University of Marburg and Justus Liebig University Giessen</institution><addr-line>Marburg and Giessen</addr-line><country>Germany</country></aff><aff id="aff6"><institution>Department of Psychiatry and Psychotherapy, University Medical Center Hamburg-Eppendorf</institution><addr-line>Hamburg</addr-line><country>Germany</country></aff><aff id="aff7"><institution>Centre for Psychiatry, Justus-Liebig University Giessen</institution><addr-line>Giessen</addr-line><country>Germany</country></aff><aff id="aff8"><institution>T&#x00FC;bingen Center for Mental Health, Department of Psychiatry, University of T&#x00FC;bingen</institution><addr-line>T&#x00FC;bingen</addr-line><addr-line>Baden-Wurttemberg</addr-line><country>Germany</country></aff><aff id="aff9"><institution>Partner Site T&#x00FC;bingen, Deutsches Zentrum f&#x00FC;r Psychische Gesundheit</institution><addr-line>T&#x00FC;bingen</addr-line><country>Germany</country></aff><aff id="aff10"><institution>Biomedical Magnetic Resonance, University of T&#x00FC;bingen</institution><addr-line>Tuebingen</addr-line><addr-line>Baden-Wurttemberg</addr-line><country>Germany</country></aff><aff id="aff11"><institution>Vivantes Hospital Am Urban and Vivantes Hospital Im Friedrichshain, Department of Psychiatry, Psychotherapy and Psychosomatic Medicine, Charit&#x00E9;-Universit&#x00E4;tsmedizin Berlin</institution><addr-line>Berlin</addr-line><country>Germany</country></aff><aff id="aff12"><institution>Department of Psychiatry, Psychosomatic Medicine and Psychotherapy, University Hospital, Goethe University Frankfurt</institution><addr-line>Frankfurt</addr-line><country>Germany</country></aff><aff id="aff13"><institution>Cooperative Brain Imaging Center - CoBIC, Goethe University Frankfurt</institution><addr-line>Frankfurt</addr-line><addr-line>Hesse</addr-line><country>Germany</country></aff><aff id="aff14"><institution>Institute for Translational Psychiatry, University of M&#x00FC;nster</institution><addr-line>M&#x00FC;nster</addr-line><addr-line>North Rhine-Westphalia</addr-line><country>Germany</country></aff><aff id="aff15"><institution>Charit&#x00E9; Campus Mitte, Department of Psychiatry and Psychotherapy, Charit&#x00E9; University Medicine</institution><addr-line>Berlin</addr-line><country>Germany</country></aff><aff id="aff16"><institution>Department of Clinical Psychiatry and Psychotherapy, Brandenburg Medical School Theodor Fontane</institution><addr-line>Neuruppin</addr-line><addr-line>Brandenburg</addr-line><country>Germany</country></aff><aff id="aff17"><institution>Department of Child and Adolescent Psychiatry, Charit&#x00E9; Universit&#x00E4;tsmedizin Berlin</institution><addr-line>Berlin</addr-line><country>Germany</country></aff><aff id="aff18"><institution>Department of Psychiatry, Northwell Health, Zucker Hillside Hospital</institution><addr-line>New York</addr-line><addr-line>NY</addr-line><country>United States</country></aff><aff id="aff19"><institution>Department of Psychiatry and Molecular Medicine, Donald and Barbara Zucker School of Medicine at Hofstra/Northwell</institution><addr-line>Hempstead</addr-line><addr-line>NY</addr-line><country>United States</country></aff><aff id="aff20"><institution>Department of Psychiatry, Psychotherapy and Preventive Medicine, LWL University Hospital, Ruhr-University</institution><addr-line>Bochum</addr-line><country>Germany</country></aff><aff id="aff21"><institution>Else Kroener Fresenius Center for Digital Health, TUD Dresden University of Technology</institution><addr-line>Dresden</addr-line><country>Germany</country></aff><aff id="aff22"><institution>Institute for Translational Psychiatry, University of M&#x00FC;nster</institution><addr-line>M&#x00FC;nster</addr-line><country>Germany</country></aff><aff id="aff23"><institution>Department of Psychiatry, Medical School and University Medical Center OWL, Protestant Hospital of the Bethel Foundation, Bielefeld University</institution><addr-line>Bielefeld</addr-line><country>Germany</country></aff><aff id="aff24"><institution>German Center for Mental Health (DZPG)</institution><addr-line>Jena Magdeburg Halle</addr-line><country>Germany</country></aff><aff id="aff25"><institution>Center for Intervention and Research on Adaptive and Maladaptive Brain Circuits Underlying Mental Health (C-I-R-C)</institution><addr-line>Jena Magdeburg Halle</addr-line><country>Germany</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Torous</surname><given-names>John</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Markulev</surname><given-names>Connie</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Roemmel</surname><given-names>Noa</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Pavol Mikolas, MD, PhD, Department of Psychiatry and Psychotherapy, Jena University Hospital, Philosophenweg 3, Jena, Thuringia, 07743, Germany, 49 36419300; <email>pavol.mikolas@ukdd.de</email></corresp></author-notes><pub-date pub-type="collection"><year>2026</year></pub-date><pub-date pub-type="epub"><day>22</day><month>6</month><year>2026</year></pub-date><volume>13</volume><elocation-id>e84424</elocation-id><history><date date-type="received"><day>26</day><month>09</month><year>2025</year></date><date date-type="rev-recd"><day>08</day><month>12</month><year>2025</year></date><date date-type="accepted"><day>08</day><month>12</month><year>2025</year></date></history><copyright-statement>&#x00A9; Pavol Mikolas, Fabian Huth, Kyra Br&#x00F6;ckel-Bundt, Christina Berndt, Julia Martini, Birgit Maicher, Michael Marxen, Falk Gerrik Verhees, Paula Marie Henneberg, Andreas Jansen, Tilo Kircher, Irina Falkenberg, Florian Thomas-Odenthal, Martin Lambert, Vivien Kraft, Gregor Leicht, Christoph Mulert, Andreas J Fallgatter, Thomas Ethofer, Anne Rau, Karolina Leopold, Andreas Bechdolf, Reif Andreas, Silke Matura, Jonathan Repple, Felix Bermpohl, Jana Fiebig, Thomas Stamm, Christoph U Correll, Georg Juckel, Vera Flasbeck, Isabella C Wiest, Jakob N Kather, Udo Dannlowski, Eva Mennigen, Philipp Ritter, Michael Bauer, Andrea Pfennig. Originally published in JMIR Mental Health (<ext-link ext-link-type="uri" xlink:href="https://mental.jmir.org">https://mental.jmir.org</ext-link>), 22.6.2026. </copyright-statement><copyright-year>2026</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Mental Health, is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://mental.jmir.org/">https://mental.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://mental.jmir.org/2026/1/e84424"/><abstract><sec><title>Background</title><p>Functional impairments associated with mental health conditions are on the rise. Predicting functional outcomes may improve the targeting of preventive interventions. While prognostic models have primarily focused on psychosis, early recognition services require a transdiagnostic approach.</p></sec><sec><title>Objective</title><p>This study aimed to predict global functioning within a 2-year follow-up using baseline clinical and structural magnetic resonance imaging (MRI) data in a population-based sample of young, help-seeking individuals presenting with affective and anxiety symptoms as well as attention-deficit hyperactivity disorder.</p></sec><sec sec-type="methods"><title>Methods</title><p>We classified 357 help-seeking individuals aged 18&#x2010;35 years recruited from 9 sites as &#x201C;impaired&#x201D; (Global Assessment of Functioning [GAF] &#x2264;60; n=228) or &#x201C;nonimpaired&#x201D; (GAF&#x003E;60; n=129) at year 1 and/or year 2 follow-up. GAF classification group status at follow-up was predicted using linear support vector machine (SVM), decision tree, and large language model (LLM) Llama-3 using clinical assessments and/or structural MRI. Leave-one-site-out (SVM) or external sample (LLM) was used for validation.</p></sec><sec sec-type="results"><title>Results</title><p>SVM achieved balanced accuracy of 69.2% using clinical features only. Items related to baseline occupational functioning, interpersonal relationships, cognitive functioning, psychotic and affective symptoms, as well as the presence of anxiety disorder, were most predictive. The decision tree further reduced the feature set to 5 predictive items, achieving balanced accuracy of 76.6%. Although amygdala and hippocampal subregions achieved balanced accuracy of 57.1%, structural MRI did not improve the overall prediction. Llama-3 performed comparably well to SVM (balanced accuracy of 72.6%).</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>Machine learning demonstrated good performance in predicting global functioning. Interestingly, the out-of-the-box LLM performed comparably well without being trained or fine-tuned, highlighting the potential of leveraging free-text data for mental health prognosis.</p></sec></abstract><kwd-group><kwd>machine learning</kwd><kwd>magnetic resonance imaging</kwd><kwd>longitudinal studies</kwd><kwd>natural language processing</kwd><kwd>prognosis</kwd><kwd>young adult</kwd><kwd>mental disorders</kwd><kwd>neuroimaging</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Functional impairments due to mental health conditions have been on the rise. For example, in Germany, the proportion of early retirements due to mental disorders increased from 24% to 42% between 2000 and 2022 [<xref ref-type="bibr" rid="ref1">1</xref>]. According to the World Health Organization, mental disorders accounted for 16% of disability-adjusted life years (totaling 418 million disability-adjusted life years) worldwide in 2019 [<xref ref-type="bibr" rid="ref2">2</xref>]. Improving early risk stratification and predicting functional outcomes may enhance the targeting of preventive measures, ultimately mitigating the long-term negative impact. Machine learning methods and large multicenter datasets have facilitated the development and validation of predictive models that incorporate not only clinical variables but also biological data, such as magnetic resonance imaging (MRI). Recently, large language models (LLMs), probabilistic transformer-based models originally developed to predict text sequences [<xref ref-type="bibr" rid="ref3">3</xref>], have been increasingly explored for their potential in clinical applications. LLMs outperformed human experts on a range of medical diagnostic and academic tasks [<xref ref-type="bibr" rid="ref4">4</xref>,<xref ref-type="bibr" rid="ref5">5</xref>]. In our previous work, we compared the LLM performance to expert ratings while assessing medical text for suicidality, achieving an accuracy of 87.5% [<xref ref-type="bibr" rid="ref6">6</xref>]. The next logical step&#x2014;the ability to predict clinical outcomes&#x2014;has rarely been tested. LLMs have been effective in predicting hospital readmission due to a general medical condition [<xref ref-type="bibr" rid="ref7">7</xref>], admission to an intensive care unit [<xref ref-type="bibr" rid="ref8">8</xref>], or intentional self-harm [<xref ref-type="bibr" rid="ref9">9</xref>]. Given the fact that mental health care relies heavily on unstructured textual data, the potential of LLMs remains underused.</p><p>Global assessment tools, such as the Global Assessment of Functioning (GAF) [<xref ref-type="bibr" rid="ref10">10</xref>], are among the most commonly used instruments for functional outcomes [<xref ref-type="bibr" rid="ref11">11</xref>]. Prognostic studies have mainly focused on psychosis. In individuals at clinical high risk for psychosis, the inclusion of structural MRI data significantly enhanced the prediction of 1-year functional outcomes, achieving clinically meaningful balanced accuracy exceeding 80% [<xref ref-type="bibr" rid="ref12">12</xref>]. In first-episode psychosis, demographic and baseline clinical data predicted GAF at 12-month follow-up with a balanced accuracy of 72% [<xref ref-type="bibr" rid="ref13">13</xref>]. In a sample of individuals with psychosis of varying illness duration, baseline clinical data predicted GAF at 3-year and 6-year follow-ups with accuracies ranging from 63.5% to 67.6% [<xref ref-type="bibr" rid="ref14">14</xref>]. Additionally, clustering analysis of baseline cognitive profiles identified distinct patient subgroups within first-episode psychosis, who exhibited low clinical functioning at 6- and 12-month follow-ups [<xref ref-type="bibr" rid="ref15">15</xref>]. While psychosis prediction remains a prominent objective, the nonspecificity of prodromal symptoms and relatively low transition rates underscore the necessity for early recognition services to use a transdiagnostic approach [<xref ref-type="bibr" rid="ref16">16</xref>]. We aimed to predict functional outcomes within a 2-year follow-up in young, help-seeking individuals with predominantly affective and anxiety symptoms, as well as attention-deficit hyperactivity disorder (ADHD), who were recruited within the Early-BipoLife study&#x2014;a population-based study on bipolar risk. Along with broad baseline clinical characteristics, we explored the potential of baseline structural MRI data to improve prediction accuracy. We used data-driven feature selection and leave-one-site-out cross-validation (CV) to ensure generalizability over multiple sites. Finally, we used a locally hosted, general-purpose LLM to estimate the outcome based on engineered clinical notes derived from the baseline data. To the best of our knowledge, this is the first study to use LLMs to predict global functioning at follow-up in individuals presenting with mental health symptoms.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Participants</title><p>Early-BipoLife [<xref ref-type="bibr" rid="ref17">17</xref>] is a multicenter, prospective, naturalistic study of participants aged 15&#x2010;35 years recruited between 2015 and 2019 and assessed over a period of at least 2 years. Help-seeking youth and young adults consulting early detection centers or individuals presenting with at least one of the proposed risk factors for bipolar disorder [<xref ref-type="bibr" rid="ref17">17</xref>,<xref ref-type="bibr" rid="ref18">18</xref>] (refer to Section 1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> for inclusion and exclusion criteria) as well as inpatients and outpatients with depressive syndrome or ADHD were recruited at 9 sites. For detailed data collection procedures, see Pfennig et al [<xref ref-type="bibr" rid="ref17">17</xref>], Martini et al [<xref ref-type="bibr" rid="ref19">19</xref>], and Section 1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>. Comprehensive assessments were performed after 12 and 24 months. All participants received state-of-the-art counseling and treatment. Of the 918 participants who completed the 2-year follow-up, 31 (3.17%) participants transitioned to bipolar disorder [<xref ref-type="bibr" rid="ref19">19</xref>]. In total, 313 opted to receive a baseline MRI. Given the relatively low transition rates and the absence of a focus on predicting bipolar disorder, this sample is well-suited for predicting functional outcome using a transdiagnostic approach.</p></sec><sec id="s2-2"><title>Baseline and Follow-Up Assessments</title><p>Following clinical assessments were included in the analysis of functional outcome: age, sex, medication (none or any current psychotropic medication), contact to mental health services present or past, migration status (positive when person itself, father or mother were not born in Germany and as negative if all 3 were born in Germany), first-degree relatives for bipolar disorder, <italic>DSM-IV</italic> (<italic>Diagnostic and Statistical Manual of Mental Disorders</italic> [Fourth Edition]) diagnoses and substance use (SKID-I [Structured Clinical Interview for <italic>DSM-IV</italic> Axis I Disorders]) [<xref ref-type="bibr" rid="ref20">20</xref>], depressive symptoms (Inventory for Depressive Symptomatology&#x2013;Clinician-Rated [IDS-C]) [<xref ref-type="bibr" rid="ref21">21</xref>], early life stress (Childhood Trauma Questionnaire [CTQ]) [<xref ref-type="bibr" rid="ref22">22</xref>], GAF [<xref ref-type="bibr" rid="ref10">10</xref>] at baseline and in the past year, Functioning Assessment Short Test (FAST) [<xref ref-type="bibr" rid="ref23">23</xref>,<xref ref-type="bibr" rid="ref24">24</xref>], prodromal psychotic symptoms (Prodromal Questionnaire-16 [PQ-16]) [<xref ref-type="bibr" rid="ref25">25</xref>], bipolar risk factors (EPIbipolar) [<xref ref-type="bibr" rid="ref18">18</xref>], extended Bipolar-at-Risk criteria (BARS) [<xref ref-type="bibr" rid="ref26">26</xref>], and Bipolar Prodrome Symptom Scale-Prospective (BPSS-P) [<xref ref-type="bibr" rid="ref27">27</xref>]. In total, 126 items were included as features (for details, refer to Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). All features were included at the item level, except for PQ-16, which was only available as a total scale score in the study database.</p><p>Although more differentiated measures of functional outcome do exist, we used GAF, as it is highly established and largely present in longitudinal datasets (including Early-BipoLife), which enables larger training and validation samples. Rather than predicting GAF as a continuous variable, we dichotomized GAF into impaired and nonimpaired for the following reasons: (1) to include trajectories that remained stable on a low functioning level, as well as those that impaired during the follow-ups, (2) include both follow-ups in one outcome variable, and (3) reflect a hypothetical clinical scenario, where typically a binary decision should be made between assigning and not assigning to an intervention. We defined the negative outcome as GAF equal to or below 60 (ie, moderate symptoms such as flat affect and circumstantial speech, occasional panic attacks, or moderate difficulty in social, occupational, or school functioning, such as few friends, conflicts with peers or coworkers) at least 1 follow-up. This value is in alignment with previously used cutoffs in the psychosis risk literature (Koutsouleris et al [<xref ref-type="bibr" rid="ref12">12</xref>]: Social and Global Functioning: Role scales &#x2264;7; Lalousis et al [<xref ref-type="bibr" rid="ref28">28</xref>]: Global Assessment of Functioning-Symptom [GAF-S] score of &#x2264;60). Clinically, functional impairment at this level may be considered as an indication for clinical (outpatient or inpatient) intervention, as compared to GAF 70&#x2010;61, which denotes good functioning with only mild symptoms and difficulties.</p><p>In post hoc analyses, we aimed to predict the following additional outcomes: (1) higher and lower GAF cutoff values (ie, GAF &#x2264;55 and &#x2264;65), (2) we used time series k-means clustering implemented in Scikit-learn v. 1.5.2 [<xref ref-type="bibr" rid="ref29">29</xref>] to cluster the GAF trajectories in 2 clusters using 6 time points (GAF values at past year to baseline, baseline, past year to 1-year follow-up, 1-year follow-up, past year to 2-year follow-up, and 2-year follow-up) and differentiate between participants belonging to these clusters. (3) Maximum GAF values over the past year at follow-up 1 or 2, aiming to capture long-term impairments that may have been overlooked by the GAF value at follow-up assessments.</p></sec><sec id="s2-3"><title>MRI Acquisition, Preprocessing, and Quality Assessment</title><p>We acquired 1 mm isotropic resolution structural T1-weighted images using Siemens Magnetom MR scanners at 6 sites (Trio, Skyra, and Prisma models) and a Philips Achieva scanner at 1 site. We standardized the pulse sequence parameters across all sites to the extent permitted by each platform. For a detailed description of the scanning protocol, including the details of MRI scanners, specific hardware configurations, and pulse sequence parameters, see Vogelbacher et al [<xref ref-type="bibr" rid="ref30">30</xref>].</p><p>Prior to preprocessing, we performed the data acquisition and quality assessment using the MRIQC tool [<xref ref-type="bibr" rid="ref31">31</xref>]. Two authors visually inspected the obtained reports of several metrics, including a movement plot and a plot of the background noise. In this way, 23 participants were excluded from further analysis due to strong movement (n=18), ghosting (n=1), or fold-over artifacts (n=4).</p><p>We preprocessed the T1-weighted structural MRI using Freesurfer 6.0 (Martinos Center for Biomedical Imaging; cortical and subcortical parcellations) and 7.1.1/7.2.0 (Martinos Center for Biomedical Imaging; hippocampal subfields and amygdala nuclei), partially running on the Center for Information Services and High-Performance Computing (ZIH) by TU Dresden [<xref ref-type="bibr" rid="ref32">32</xref>]. We obtained regional cortical thicknesses and surface area values for 68 cortical brain areas defined by the Desikan-Killiany atlas [<xref ref-type="bibr" rid="ref33">33</xref>], 14 volumes of subcortical structures [<xref ref-type="bibr" rid="ref34">34</xref>], 18 amygdala nuclei, 24 volumes of hippocampal subfields [<xref ref-type="bibr" rid="ref35">35</xref>,<xref ref-type="bibr" rid="ref36">36</xref>], that is, 124 MRI features in total (refer to Section 2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> for additional details). We performed a standardized quality control of the cortical and subcortical segmentations according to the established protocols of the Enhancing NeuroImaging Genetics through Meta-Analysis (ENIGMA) working group [<xref ref-type="bibr" rid="ref37">37</xref>]. This included a visual inspection of the segmented regions using the internal and external surface methods, as well as statistical outlier detection. The outliers were subjected to further visual inspection. For details on preprocessing and exclusion of participants who did not pass the quality control or displayed major segmentation errors (n=8), please see our previous publications [<xref ref-type="bibr" rid="ref38">38</xref>,<xref ref-type="bibr" rid="ref39">39</xref>].</p></sec><sec id="s2-4"><title>Machine Learning Pipelines</title><p>First, we predicted the impaired status at follow-up using a linear support vector machine (SVM; LIBSVM 3.1.2; developed by Chih-Chung Chang and Chih-Jen Lin [<xref ref-type="bibr" rid="ref40">40</xref>], C-SVC, L1-loss) with instance weighting, implemented in the Neurominer Toolbox v. 1.2 (Nikolaos Koutsouleris) [<xref ref-type="bibr" rid="ref41">41</xref>] using baseline clinical features in 357 participants after excluding those with missing GAF values at any follow-up and further removing participants with missing values for 25% or more of the features.</p><p>Second, we trained separate SVM classifiers using baseline clinical and MRI features in 124 participants with available baseline MRI. We then applied stacked generalization, where the decision scores from both base models were combined using another linear SVM that used the decision scores from the completed analyses as input features to predict the outcome group [<xref ref-type="bibr" rid="ref12">12</xref>].</p><p>All pipelines included feature-wise scaling (range 0 to 1) and imputation of missing values using the median of the 7 nearest neighbors (Hamming distance for nominal features with 2 or fewer unique values, Euclidean distance for ordinal features). Covariates sex, age, and intracranial volume were regressed out using partial correlations exclusively in the MRI feature set, as sex and age were considered informative in the clinical domain. Both the removal of nuisance covariates and the imputation of missing data were carried out separately for test and training sets. The imputed values were derived from the training test and applied to the test set.</p><p>We used a nested CV scheme, with an outer loop (CV2) using 6 folds (leave-one-site-out, where each site represented a study site) and an inner loop (CV1) using 5 folds for model selection and C parameter tuning. In each inner fold, we applied a wrapper-based greedy feature selection approach to retain the ratio of selected features to total participants at 1:5. As a result, k=71 features were selected for the clinical models and k=25 for the MRI and stacking models. The regularization parameter (C) was optimized across 9 values ranging from 0.00390625 to 256. In the SVM analyses, probability estimation was not enabled. This means the classifier did not use a probabilistic cutoff (such as 0.5) but relied on the standard SVM decision function with a fixed decision boundary.</p><p>We assessed the contribution of features toward the classification using the sign-based consistency, which was defined as the consistency of the weights assigned by the model to a given feature, reduced by the fraction of models that removed that feature during the wrapper-based feature selection. Sign-based consistency of 1 means that the weights of the feature all share the same sign and the feature has been selected by all classifiers in the inner CV loop, whereas a value of 0 means that positive and negative weights occurred equally or the given feature was omitted in all CV folds [<xref ref-type="bibr" rid="ref42">42</xref>].</p><p>In order to improve clinical interpretability, we analyzed the most predictive set of features retrieved by the SVM analysis (defined as sign-based consistency score <italic>P</italic>&#x003C;.05) using a decision tree classifier implemented in Scikit-learn (v. 1.5.2). Briefly, the decision tree minimizes the entropy by splitting the data so that each subset contains as few mixed class labels as possible (ie, each leaf ideally contains a single class). For a binary classification, entropy=1 for a leaf composed of 50% of class 1% and 50% of class 2, whereas entropy =0 for a leaf containing only a single class. Using a 5-fold CV, we trained and evaluated the model using the following parameters: decision criterion=entropy, maximal depth=3 layers (for interpretability reasons, we decided against more layers), minimal sample splits 2&#x2010;10, class weighting to account for imbalanced classes. Class predictions were based on the default scikit-learn behavior, in which each leaf node assigns the class with the highest empirical probability (equivalent to an implicit 0.5 threshold in binary classification).</p><p>To assess clinical utility, we performed decision curve analysis, calculating net benefit across threshold probabilities and comparing each model with treat-all and treat-none strategies [<xref ref-type="bibr" rid="ref43">43</xref>].</p></sec><sec id="s2-5"><title>LLM Analysis</title><p>We used a locally hosted Llama-3 (llama-3.3-70b-instruct-q4km) via the llama.cpp framework on a local hospital computer [<xref ref-type="bibr" rid="ref6">6</xref>]. For each participant, we converted the clinical assessments into reverse-engineered text notes by substituting item&#x2019;s scores by their exact descriptions from the assessment instruments (eg, if the participant scored 0 in the item falling asleep of the IDS-C, the text note included the sentence: &#x201C;I never take longer than 30 min to fall asleep.&#x201D; Refer to Section 3A in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> for an example). This process was performed automatically using a Python script. We performed no further processing of text notes. All predictions using the Llama-3.3-70B-Instruct-q4km model were generated using deterministic decoding parameters to ensure reproducibility. We set the temperature to 0, top_p to 1.0, and max_tokens to 256. A fixed random seed was applied for all inference calls. Under these settings, model outputs were identical across repeated runs. The following items were included: age, gender, diagnoses, substance use, IDS-C, CTQ, GAF baseline and past year, FAST, information on past and present psychiatric treatment, and first-degree relatives for bipolar disorder. Llama-3 was instructed using a prompt to classify the functional outcome group (Section 3B in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). To further investigate the generalizability of the prompting approach, we repeated the analysis in an external sample of 590 participants aged 15&#x2010;35 years from the FOR2107 longitudinal sample of persons with affective disorder [<xref ref-type="bibr" rid="ref44">44</xref>] (refer to Table S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> for the details of the validation sample). The reverse-engineered notes included age, gender, main diagnosis, HAMD (Hamilton Depression Rating Scale), CTQ items, and GAF baseline.</p></sec><sec id="s2-6"><title>Ethical Considerations</title><p>The authors assert that all procedures contributing to this work comply with the ethical standards of the relevant national and institutional committees on human experimentation and with the Helsinki Declaration of 1975, as revised in 2013. All procedures involving human subjects or patients were approved by the Ethics Committee of the Medical Faculty at the Technical University Dresden (no. EK290082014) and all local ethics committees. We obtained written informed consent after providing comprehensive information about the study aims and procedures.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Demographics</title><p>Overall, the global functioning improved within the 2-year follow-up (mean<sub>baseline</sub> 61.6, SD 15.7; mean<sub>year1</sub> 69.2, SD 14.3; mean<sub>year2</sub> 70.6, SD 14.4). Refer to <xref ref-type="fig" rid="figure1">Figure 1</xref> for the trajectories.</p><p>The participants impaired at follow-up fulfilled significantly more frequently criteria for psychiatric diagnoses, particularly affective, anxiety, and substance use disorders (<xref ref-type="table" rid="table1">Table 1</xref>). They also more frequently contacted mental health services. The nonimpaired group contained more first-degree relatives of persons with bipolar disorder.</p><p>The impairments in global functioning at baseline were more pronounced in the impaired group in all domains and items of the FAST inventory (Table S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). For distributions of GAF scores at follow-ups, refer to Figure S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p><p>Participants not included in the analysis due to missing data or failed quality assessment with available GAF at baseline (n=855) displayed better clinical functioning at baseline (mean GAF<sub>discarded</sub> 64.77, SD 18.87 vs GAF<sub>included</sub> 61.58, SD 15.73; <italic>P</italic>=.005). Participants who opted for MRI differed neither in their baseline characteristics nor in the functional impairment outcome compared to those who did not (Table S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). For the breakdown of demographic characteristics to single sites, refer to Table S5 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Graphical representation of functional outcome trajectories (the nodes of the Sankey plot represent the Global Assessment of Functioning values [lower value represents higher impairment]).</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="mental_v13i1e84424_fig01.png"/></fig><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Sample demographics.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Demographics</td><td align="left" valign="bottom">Nonimpaired (n=228)</td><td align="left" valign="bottom">Impaired (n=129)</td><td align="left" valign="bottom">Chi-square test (<italic>df</italic>) or <italic>t</italic> test (<italic>df</italic>)</td><td align="left" valign="bottom">Cohen d</td><td align="left" valign="bottom"><italic>P</italic> values</td></tr></thead><tbody><tr><td align="left" valign="top">Sex (female), n (%)</td><td align="left" valign="top">128 (56.1)</td><td align="left" valign="top">81 (62.8)</td><td align="char" char="." valign="top">1.50 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.13</td><td align="char" char="." valign="top">.22</td></tr><tr><td align="left" valign="top">Age (years), mean (SD)</td><td align="left" valign="top">25.8 (4.4)</td><td align="left" valign="top">25.32 (4.6)</td><td align="char" char="." valign="top">&#x2212;1.13 (355)<sup><xref ref-type="table-fn" rid="table1fn8">h</xref></sup></td><td align="char" char="." valign="top">0.1</td><td align="char" char="." valign="top">.35</td></tr><tr><td align="left" valign="top">Positive migration status, n (%)</td><td align="left" valign="top">59 (26.9)</td><td align="left" valign="top">32 (27.4)</td><td align="char" char="." valign="top">0.01 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.29</td><td align="char" char="." valign="top">.94</td></tr><tr><td align="left" valign="top" colspan="6">Diagnoses, n (%)</td></tr><tr><td align="left" valign="top">&#x2003;Any disorder (SKID<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup>)</td><td align="left" valign="top">140 (61.4)</td><td align="left" valign="top">112 (86.8)</td><td align="char" char="." valign="top">25.64 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.35</td><td align="char" char="." valign="top">.001<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td></tr><tr><td align="left" valign="top">&#x2003;Affective disorder</td><td align="left" valign="top">87 (38.2)</td><td align="left" valign="top">75 (58.1)</td><td align="char" char="." valign="top">13.3 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.35</td><td align="char" char="." valign="top">&#x003C;.001<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td></tr><tr><td align="left" valign="top">&#x2003;Psychotic disorder</td><td align="left" valign="top">1 (0.4)</td><td align="left" valign="top">1 (0.8)</td><td align="char" char="." valign="top">0.17 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.04</td><td align="char" char="." valign="top">.68</td></tr><tr><td align="left" valign="top">&#x2003;Substance use disorder</td><td align="left" valign="top">14 (6.1)</td><td align="left" valign="top">18 (14.0)</td><td align="char" char="." valign="top">5.89 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.26</td><td align="char" char="." valign="top">.015<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td></tr><tr><td align="left" valign="top">&#x2003;Anxiety disorder</td><td align="left" valign="top">56 (24.6)</td><td align="left" valign="top">61 (47.3)</td><td align="char" char="." valign="top">18.61 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.35</td><td align="char" char="." valign="top">&#x003C;.001<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td></tr><tr><td align="left" valign="top">&#x2003;ADHD<sup><xref ref-type="table-fn" rid="table1fn4">d</xref></sup></td><td align="left" valign="top">57 (25.0)</td><td align="left" valign="top">31 (24.0)</td><td align="char" char="." valign="top">0.04 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.02</td><td align="char" char="." valign="top">.84</td></tr><tr><td align="left" valign="top">&#x2003;Somatoform disorder</td><td align="left" valign="top">10 (4.4)</td><td align="left" valign="top">10 (7.8)</td><td align="char" char="." valign="top">1.77 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.14</td><td align="char" char="." valign="top">.18</td></tr><tr><td align="left" valign="top" colspan="6">Global functioning, mean (SD)</td></tr><tr><td align="left" valign="top">&#x2003;GAF<sup><xref ref-type="table-fn" rid="table1fn5">e</xref></sup> baseline</td><td align="left" valign="top">66.68 (14.8)</td><td align="left" valign="top">52.6 (13.1)</td><td align="char" char="." valign="top">8.92 (349)<sup><xref ref-type="table-fn" rid="table1fn8">h</xref></sup></td><td align="char" char="." valign="top">1.01</td><td align="char" char="." valign="top">&#x003C;.001<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td></tr><tr><td align="left" valign="top">&#x2003;GAF maximum past 1 year</td><td align="left" valign="top">76.31 (14.1)</td><td align="left" valign="top">64.09 (15.4)</td><td align="char" char="." valign="top">7.545 (348)<sup><xref ref-type="table-fn" rid="table1fn8">h</xref></sup></td><td align="char" char="." valign="top">0.83</td><td align="char" char="." valign="top">.15</td></tr><tr><td align="left" valign="top">&#x2003;GAF 1-year follow-up</td><td align="left" valign="top">76.6 (9.7)</td><td align="left" valign="top">55.67 (11.3)</td><td align="char" char="." valign="top">17.68 (355)<sup><xref ref-type="table-fn" rid="table1fn8">h</xref></sup></td><td align="char" char="." valign="top">1.99</td><td align="char" char="." valign="top">.001<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td></tr><tr><td align="left" valign="top">&#x2003;GAF maximum past 1 year to 1-year follow-up</td><td align="left" valign="top">78.22 (10.5)</td><td align="left" valign="top">63.54 (12.3)</td><td align="char" char="." valign="top">11.44 (355)<sup><xref ref-type="table-fn" rid="table1fn8">h</xref></sup></td><td align="char" char="." valign="top">1.28</td><td align="char" char="." valign="top">&#x003C;.001<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td></tr><tr><td align="left" valign="top">&#x2003;GAF 2-year follow-up</td><td align="left" valign="top">77.93 (10.4)</td><td align="left" valign="top">57.7 (10.8)</td><td align="char" char="." valign="top">17.31 (355)<sup><xref ref-type="table-fn" rid="table1fn8">h</xref></sup></td><td align="char" char="." valign="top">1.91</td><td align="char" char="." valign="top">&#x003C;.001<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td></tr><tr><td align="left" valign="top">&#x2003;GAF maximum past 1 year to 2-year follow-up</td><td align="left" valign="top">79.43 (10.1)</td><td align="left" valign="top">63.8 (11.3)</td><td align="char" char="." valign="top">13.02 (355)<sup><xref ref-type="table-fn" rid="table1fn8">h</xref></sup></td><td align="char" char="." valign="top">1.46</td><td align="char" char="." valign="top">&#x003C;.001<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td></tr><tr><td align="left" valign="top">Contact to mental health services present, n (%)</td><td align="left" valign="top">140 (61.4)</td><td align="left" valign="top">98 (76.0)</td><td align="char" char="." valign="top">7.92 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.3</td><td align="char" char="." valign="top">.005<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td></tr><tr><td align="left" valign="top">Contact to mental health services past, n (%)</td><td align="left" valign="top">171 (75.0)</td><td align="left" valign="top">115 (89.1)</td><td align="char" char="." valign="top">9.99 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.33</td><td align="char" char="." valign="top">.002<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td></tr><tr><td align="left" valign="top">First-degree relatives with bipolar disorder, n (%)</td><td align="left" valign="top">32 (14.0)</td><td align="left" valign="top">8 (6.2)</td><td align="char" char="." valign="top">5.081 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.24</td><td align="char" char="." valign="top">.024<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td></tr><tr><td align="left" valign="top">Transition to bipolar disorder, n (%)</td><td align="left" valign="top">4 (1.8)</td><td align="left" valign="top">1 (0.8)</td><td align="char" char="." valign="top">0.572 (1)<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="char" char="." valign="top">0.08</td><td align="char" char="." valign="top">.45</td></tr><tr><td align="left" valign="top">PQ-16<sup><xref ref-type="table-fn" rid="table1fn6">f</xref></sup>, mean (SD)</td><td align="left" valign="top">3.16 (2.9)</td><td align="left" valign="top">4.6 (3.2)</td><td align="char" char="." valign="top">4.311 (353)<sup><xref ref-type="table-fn" rid="table1fn8">h</xref></sup></td><td align="char" char="." valign="top">0.47</td><td align="char" char="." valign="top">.27</td></tr></tbody></table><table-wrap-foot><fn id="table1fn1"><p><sup>a</sup>SKID: Structured Clinical Interview for <italic>DSM-IV </italic>(<italic>Diagnostic and Statistical Manual of Mental Disorders </italic>[Fourth Edition]).</p></fn><fn id="table1fn2"><p><sup>b</sup><italic>P</italic>&#x003C;.05.</p></fn><fn id="table1fn3"><p><sup>c</sup><italic>P</italic>&#x003C;.001.</p></fn><fn id="table1fn4"><p><sup>d</sup>ADHD: attention-deficit hyperactivity disorder.</p></fn><fn id="table1fn5"><p><sup>e</sup>GAF: Global Assessment of Functioning,</p></fn><fn id="table1fn6"><p><sup>f</sup>PQ-16: Prodromal Questionnaire-16.</p></fn><fn id="table1fn7"><p><sup>g</sup>chi-square test value.</p></fn><fn id="table1fn8"><p><sup>h</sup><italic>t</italic> test value.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-2"><title>SVM Classification</title><p>The linear SVM classifier trained on clinical measures alone (sample size, n=357) to predict the impaired status within the 2-year follow-up achieved balanced accuracy 69.2%, sensitivity 64.3%, and specificity 71.9% (to assess classifier performance across the full range of thresholds, see the receiver operating characteristic curve in Figure S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). Training the classifier using MRI features (sample size n=124) exclusively achieved balanced accuracy 54%, sensitivity 43.5%, and specificity 60.3%. In the same subsample, using only clinical features achieved a balanced accuracy of 73% (sensitivity 65.2% and specificity 80.8%). Combining the clinical and the MRI classifiers via stacking did not improve the performance (balanced accuracy 65.6%, sensitivity 54.3%, and specificity 76.9%).</p><p>The most consistently predictive features were items related to occupational functioning, interpersonal relationships, cognitive functioning, psychotic and affective symptoms, as well as the presence of anxiety disorder (<xref ref-type="table" rid="table2">Table 2</xref>; <xref ref-type="fig" rid="figure2">Figure 2</xref>; and Figure S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). As GAF baseline was retrieved as the most predictive item, we trained an SVM classifier exclusively using GAF baseline as a single feature, achieving a comparable performance (balanced accuracy 70.2%, sensitivity 74.8%, and specificity 65.6%). However, for clinical decision-making, reliable probability estimates are essential, and single-feature classifiers typically yield poor calibration. To evaluate both the accuracy and reliability of probability estimates, we constructed calibration curves for single-feature and multifeature models. The multifeature model achieved a lower Brier score (0.214 vs 0.311), indicating more accurate and reliable probability estimates (Section 4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>The list of significant predictive clinical features as defined by the sign-based consistency (see also Figure S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Ranking</td><td align="left" valign="bottom">Item</td><td align="left" valign="bottom">Note</td></tr></thead><tbody><tr><td align="left" valign="top">1.</td><td align="left" valign="top">GAF<sup><xref ref-type="table-fn" rid="table2fn1">a</xref></sup> present</td><td align="left" valign="top">Baseline clinical functioning</td></tr><tr><td align="left" valign="top">2.</td><td align="left" valign="top">PQ-16<sup><xref ref-type="table-fn" rid="table2fn2">b</xref></sup></td><td align="left" valign="top">&#x2265;6 positive screening for psychosis</td></tr><tr><td align="left" valign="top">3.</td><td align="left" valign="top">FAST<sup><xref ref-type="table-fn" rid="table2fn3">c</xref></sup> 17</td><td align="left" valign="top">Interpersonal relationships: maintaining a friendship or friendships</td></tr><tr><td align="left" valign="top">4.</td><td align="left" valign="top">FAST 7</td><td align="left" valign="top">Occupational functioning: working in the field in which you were educated</td></tr><tr><td align="left" valign="top">5.</td><td align="left" valign="top">GAF maximum</td><td align="left" valign="top">Maximum GAF value over the past year prior to baseline</td></tr><tr><td align="left" valign="top">6.</td><td align="left" valign="top">Anxiety disorder</td><td align="left" valign="top"><italic>DSM-IV<sup><xref ref-type="table-fn" rid="table2fn4">d</xref></sup></italic> diagnosis (SKID-I)<sup><xref ref-type="table-fn" rid="table2fn5">e</xref></sup></td></tr><tr><td align="left" valign="top">7.</td><td align="left" valign="top">FAST 5</td><td align="left" valign="top">Occupational functioning: holding down a paid job</td></tr><tr><td align="left" valign="top">8.</td><td align="left" valign="top">FAST 6</td><td align="left" valign="top">Occupational functioning: accomplishing tasks as quickly as necessary</td></tr><tr><td align="left" valign="top">9.</td><td align="left" valign="top">IDS-C<sup><xref ref-type="table-fn" rid="table2fn6">f</xref></sup> 5</td><td align="left" valign="top">Mood (sad)</td></tr><tr><td align="left" valign="top">10.</td><td align="left" valign="top">FAST 12</td><td align="left" valign="top">Cognitive functioning: ability to solve a problem adequately</td></tr><tr><td align="left" valign="top">11.</td><td align="left" valign="top">FAST 19</td><td align="left" valign="top">Interpersonal relationships: having good relationships with people close to you</td></tr><tr><td align="left" valign="top">12.</td><td align="left" valign="top">FAST 22</td><td align="left" valign="top">Interpersonal relationships: being able to defend your interests</td></tr></tbody></table><table-wrap-foot><fn id="table2fn1"><p><sup>a</sup>GAF: Global Assessment of Functioning.</p></fn><fn id="table2fn2"><p><sup>b</sup>PQ-16: Prodromal Questionnaire 16.</p></fn><fn id="table2fn3"><p><sup>c</sup>FAST: Functioning Assessment Short Test.</p></fn><fn id="table2fn4"><p><sup>d</sup><italic>DSM-IV</italic>: <italic>Diagnostic and Statistical Manual of Mental Disorders</italic> (Fourth Edition).</p></fn><fn id="table2fn5"><p><sup>e</sup>SKID-I: Structured Clinical Interview for <italic>DSM-IV</italic> Axis I Disorders.</p></fn><fn id="table2fn6"><p><sup>f</sup>IDS-C: Inventory for Depressive Symptomatology&#x2013;Clinician-Rated.</p></fn></table-wrap-foot></table-wrap><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>The ranking of clinical features as defined by the sign-based consistency (the red line indicates the significance level <italic>P</italic>&#x003C;.05). FAST: Functioning Assessment Short Test; GAF: Global Assessment of Functioning; IDS-C: Inventory for Depressive Symptomatology&#x2013;Clinician-Rated; PQ-16: Prodromal Questionnaire-16.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="mental_v13i1e84424_fig02.png"/></fig></sec><sec id="s3-3"><title>Decision Tree</title><p>Training the decision tree using the set of most consistently predictive features (<xref ref-type="table" rid="table2">Table 2</xref>) retrieved a significant decision tree with the following parameters: balanced accuracy 76.6%, sensitivity 78.3%, and specificity 74.9%. The stratification using baseline GAF was further refined by combining the sequence with the best GAF in the past year and items related to social functioning, early life adversity, and psychosis screening. For the visualization of the decision tree, refer to <xref ref-type="fig" rid="figure3">Figure 3</xref>. Training the decision tree using GAF baseline only achieved balanced accuracy 72.7%, sensitivity 67.4%, and specificity 78%.</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>Decision tree predicting the impaired functional outcome within 2-year follow-up. The arrows pointing to the left indicate that the condition is fulfilled (true), the arrows to the right indicate not fulfilled (false). Colors indicate the decision being made by the tree when the condition was fulfilled. The decision tree assigns the leaf label according to the corresponding majority class in that leaf. The number of samples and the percentage of individuals with impaired outcome within each node or leaf are being displayed. FAST: Functioning Assessment Short Test; GAF: Global Assessment of Functioning; IDS-C: Inventory for Depressive Symptomatology&#x2013;Clinician-Rated.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="mental_v13i1e84424_fig03.png"/></fig></sec><sec id="s3-4"><title>Classification Using LLM</title><p>Classification using full-text notes yielded balanced accuracy 72.6%, sensitivity 78.3%, and specificity 66.9%. After excluding GAF baseline value, Llama-3 achieved balanced accuracy 69.7%, sensitivity 88.4%, and specificity 51%. In the external sample of persons with affective disorders (Table S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>), LLM achieved balanced accuracy 61.2%, sensitivity 55.4%, and specificity 70%. After excluding GAF, Llama-3 achieved balanced accuracy 60.8%, sensitivity 46.9%, and specificity 74.7%.</p></sec><sec id="s3-5"><title>Post Hoc Analyses</title><p>Decreasing GAF thresholds for impaired outcome (ie, increasing the impairment) revealed improved balanced accuracies for MRI data after reducing the feature set to hippocampus and amygdala subregions (Table S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). However, stacking amygdala and hippocampus features with clinical data revealed no improvement (73.0% vs 72.3%, respectively). Data-driven clustering of GAF trajectories using 6 GAF time points into 2 clusters revealed a low- and high-functioning cluster (Figure S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). However, MRI data were not able to differentiate between the 2 clusters (<xref ref-type="table" rid="table3">Table 3</xref>). The decision curve analysis for the SVM, decision tree, and LLM showed that neither the decision tree nor the SVM or LLM provided a positive net benefit compared with a &#x201C;treat none&#x201D; strategy (Figure S5 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). In order to elucidate the relationships between the most predictive variables and functional outcome, we performed partial dependence plot analyses (Figure S6 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p><table-wrap id="t3" position="float"><label>Table 3.</label><caption><p>Balanced accuracies of the support vector machine classifiers for different Global Assessment of Functioning cutoff values as outcomes. The different balanced accuracy values for clinical features and GAF 60 in the main analysis are due to reduced sample size (n=124, ie, participants with magnetic resonance imaging).</p></caption><table id="table3" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">GAF<sup><xref ref-type="table-fn" rid="table3fn1">a</xref></sup></td><td align="left" valign="bottom">Clinical (%)</td><td align="left" valign="bottom">sMRI<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup> (%)</td><td align="left" valign="bottom">Cortical thickness (%)</td><td align="left" valign="bottom">Hippocampus and amygdala subregions (%)</td><td align="left" valign="bottom">Stacked clinical+sMRI (%)</td></tr></thead><tbody><tr><td align="left" valign="top">GAF 55</td><td align="left" valign="top">78.0</td><td align="left" valign="top">56.5</td><td align="left" valign="top">52.7</td><td align="left" valign="top">58.6</td><td align="left" valign="top">69.4</td></tr><tr><td align="left" valign="top">GAF 60</td><td align="left" valign="top">73.0</td><td align="left" valign="top">51.9</td><td align="left" valign="top">45.4</td><td align="left" valign="top">57.1</td><td align="left" valign="top">65.6</td></tr><tr><td align="left" valign="top">GAF 65</td><td align="left" valign="top">58.2</td><td align="left" valign="top">46.5</td><td align="left" valign="top">47.2</td><td align="left" valign="top">52.2</td><td align="left" valign="top">51.3</td></tr><tr><td align="left" valign="top">GAF clustered</td><td align="left" valign="top">66.6</td><td align="left" valign="top">50.1</td><td align="left" valign="top">52.4</td><td align="left" valign="top">50.1</td><td align="left" valign="top">64.8</td></tr></tbody></table><table-wrap-foot><fn id="table3fn1"><p><sup>a</sup>GAF: Global Assessment of Functioning.</p></fn><fn id="table3fn2"><p><sup>b</sup> sMRI: structural magnetic resonance imaging.</p></fn></table-wrap-foot></table-wrap><p>SVM regression to predict the maximum GAF values over the past year to follow up using clinical features achieved a significant positive relationship between predicted and actual values (<italic>R</italic>&#x00B2;=0.12; <italic>P</italic>&#x003C;.001) with a mean absolute error (MAE)=10.0 GAF points for clinical data. MRI features revealed a weak relationship (<italic>R</italic>&#x00B2;=0.03; <italic>P</italic>&#x003C;.04, MAE=11.3) and there was no relevant improvement using stacking (<italic>R</italic>&#x00B2;=0.14; <italic>P</italic>&#x003C;.001, MAE=9.8). Repeating the primary SVM analysis to predict impaired outcome using different machine learning methods did not improve the balanced accuracies for clinical and structural MRI features (Table S6 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><p>Machine learning predicted global functioning within the 2-year follow-up with good performance. A detailed analysis of the most predictive features revealed baseline occupational functioning, interpersonal relationships, cognitive functioning, psychotic, affective, as well as anxiety symptoms as most predictive. The feature set was further refined using a decision tree, providing an interpretable solution for possible clinical translation. Native, &#x201C;out-of-the-box&#x201D; LLM achieved comparable performance using clinical data. Although MRI did not improve the prediction achieved by features based on clinical assessments only, amygdala and hippocampal subregions were more predictive than other MRI features, especially in individuals with lower functioning at follow-up.</p><p>SVM predicted the functional outcome with good accuracy using baseline clinical data. This is in alignment with [<xref ref-type="bibr" rid="ref12">12</xref>,<xref ref-type="bibr" rid="ref12">12</xref>], where machine learning predicted the 1-year functioning in individuals with clinical high risk for psychosis, although the accuracy in our sample was lower (69.2% vs 76.9%). This was most likely due to different populations between the cohorts, the latter containing mostly participants with affective and anxiety symptoms and only a minority with psychotic symptoms (average PQ-16 was below 6, which denotes negative psychosis prodrome screening; less than 1% fulfilled the <italic>DSM-IV</italic> criteria for psychotic disorder). Individuals with predominantly affective and anxiety symptoms might display more heterogeneous baseline symptoms as well as trajectories than persons with clinical high risk for psychosis. This might lead to less accurate predictive models.</p><p>In contrast to the clinical high risk for psychosis sample [<xref ref-type="bibr" rid="ref12">12</xref>], structural MRI in our sample did not improve the prediction beyond what was already achieved using clinical data. In models using structural neuroimaging only, Koutsouleris et al [<xref ref-type="bibr" rid="ref12">12</xref>] achieved balanced accuracy up to 76.2%. Whereas patients with schizophrenia display the most prominent structural alterations among major psychiatric disorders (excluding dementia), persons with affective anxiety disorders and ADHD tend to display less pronounced structural alterations than persons with psychosis [<xref ref-type="bibr" rid="ref45">45</xref>]. The concept of clinical high risk for psychosis encompasses persons with global structural deficits [<xref ref-type="bibr" rid="ref46">46</xref>]. Interestingly, reducing the set of features to hippocampus and amygdala subregions improved the prediction accuracy of MRI data in our sample, especially at lower thresholds of GAF, that is, while detecting individuals with poorer functional outcome. Indeed, hippocampus and amygdala tend to display structural alterations in affective disorders [<xref ref-type="bibr" rid="ref47">47</xref>,<xref ref-type="bibr" rid="ref48">48</xref>]. Focusing on these regions, even using multimodal or high-resolution MRI data [<xref ref-type="bibr" rid="ref49">49</xref>], might further improve predictions. On the other hand, as their incremental predictive value beyond clinical measures was modest, our study does not support routine MRI scanning given the considerable cost, limited availability, and additional patient burden.</p><p>Specificity exceeded sensitivity across all models. Yet, in early-intervention settings, maximizing sensitivity is often more clinically meaningful, as the priority is to identify individuals at risk. For implementation, sensitivity could be increased by modifying the decision threshold of probabilistic models (eg, lowering the SVM probability cutoff), allowing the model to favor true-positive detection. A data-driven selection of the most predictive variables revealed a limited set of features related to occupational functioning, interpersonal relationships, cognitive functioning, psychotic, affective, as well as anxiety symptoms as most predictive. For the SVM classifier, baseline GAF emerged as the single most predictive feature, and adding further clinical items did not increase overall classification accuracy. However, accuracy alone does not capture the quality of the probability estimates produced by the model. In clinical decision-making, well-calibrated probabilities are often more important than discrete class labels, as they allow clinicians to gauge the degree of risk and tailor interventions accordingly. Although baseline GAF largely drives classification performance, incorporating additional features produces smoother and more reliable probability estimates across individuals (refer to Section 4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). In this regard, the multifeature SVM outperformed the single-feature model, highlighting that models with richer input information can provide better-calibrated confidence estimates even when a single predictor dominates overall accuracy. This improved calibration may enhance clinical utility by supporting risk-stratified decision-making rather than binary classification. In contrast, the inclusion of additional features led to a modest improvement in performance for the decision tree classifier.</p><p>Interestingly, Llama-3 predicted functional outcome with a balanced accuracy comparable to trained SVM or decision tree classifiers. While it did not outperform these traditional models, it is important to emphasize that we used a native, &#x201C;out-of-the-box&#x201D; general-purpose LLM, not primarily trained for predicting clinical outcomes. Prompt-engineering [<xref ref-type="bibr" rid="ref50">50</xref>] or fine-tuning might further improve predictive performance [<xref ref-type="bibr" rid="ref7">7</xref>]. A significant disadvantage of LLMs is the lack of interpretability, bias risk due to nondisclosed training data [<xref ref-type="bibr" rid="ref51">51</xref>] as well as of reliable probability estimates [<xref ref-type="bibr" rid="ref52">52</xref>]. These issues need to be addressed in order to bring LLMs to the bedside. In order to explore the potential of LLMs for clinical predictions, unstructured text, such as clinical notes or interview transcripts, should become an integral part of longitudinal studies.</p><p>In this study, we mapped the trajectories of global functioning using GAF at follow-up as well as maximum GAF over the past year (assessed retrospectively). Although the GAF provides useful historical continuity and comparability with prior BipoLife and FOR2107 longitudinal studies, it has known limitations as it partly conflates symptom severity with functioning. We used the GAF to maintain consistency with the legacy datasets and to allow meaningful longitudinal comparisons across baseline and follow-up. Nonetheless, functioning-specific measures such as the SOFAS (Social and Occupational Functioning Assessment Scale) [<xref ref-type="bibr" rid="ref53">53</xref>], which avoid symptom contamination and are increasingly recommended for youth and transdiagnostic settings, may provide greater construct validity for future predictive modeling. Other more suitable measures for tracking long-term global functioning include &#x201C;days out of role&#x201D; (ie, the number of days an individual is unable to work or perform daily activities due to physical or mental health issues) [<xref ref-type="bibr" rid="ref54">54</xref>] and &#x201C;time use&#x201D; (ie, weekly engagement in structured activities) [<xref ref-type="bibr" rid="ref55">55</xref>]. Future longitudinal studies should incorporate more differentiated long-term assessments.</p><p>Interestingly, the number of first-degree relatives of bipolar patients, as well as transitions to bipolar disorder, was higher in the nonimpaired group. This might suggest that persons with manic episodes might have better functioning in the long run, at least in the early stages. However, the number of transitions was too low to be statistically significant. Moreover, some individuals in the sample with depressive symptoms might have unrecognized bipolar disorder that would be revealed with a longer follow-up period.</p><p>We used a conservative leave-one-site-out validation without data harmonization. Although harmonization might improve the performance of structural MRI-based models, it introduces a problem of data leakage between train and test sets. An external validation might provide better insights in generalizability of predictive models; however, as none of the models achieved &#x003E;80% accuracy and therefore relevance for clinical use [<xref ref-type="bibr" rid="ref56">56</xref>,<xref ref-type="bibr" rid="ref57">57</xref>], the prediction models require further refinement prior to external validation. Multimodal data such as genetics, immunological markers [<xref ref-type="bibr" rid="ref28">28</xref>], clinician prognostic estimates, or natural language processing features [<xref ref-type="bibr" rid="ref6">6</xref>,<xref ref-type="bibr" rid="ref58">58</xref>] could improve classification. In addition, functional outcome measures should map functional trajectories with sufficient temporal resolution.</p><p>In a transdiagnostic cohort of young individuals, machine learning and LLM can predict 2-year global functioning with good performance. Key predictors included occupational functioning, interpersonal relationships, cognitive functioning, psychotic and affective symptoms, as well as anxiety symptoms. Although hippocampal and amygdala subregions showed potential as more predictive MRI features, particularly in those with poorer outcomes, MRI data did not enhance overall performance. Decision curve analysis revealed that none of the 3 models provided net benefit beyond a &#x201C;treat-none&#x201D; strategy, suggesting limited clinical advantage of model-based decision-making in this cohort. Further refinements of predictors as well as functional outcome measures are needed to better reflect clinical trajectories and enhance predictive accuracy.</p></sec></body><back><ack><p>Beyond analyses using Llama-3 described in the Methods section in detail, generative artificial intelligence (AI; ChatGPT and OpenAI) was used to assist with text editing and code development. All content was critically reviewed and verified by the authors.</p></ack><notes><sec><title>Funding</title><p>Early-BipoLife was funded by the Federal Ministry of Education and Research (BMBF, grant numbers: 01EE1404A, 01EE1404E, and 01EE1404F). This work was funded in part by the German Research Foundation (DFG) grant numbers 521379614 [SFB/TRR 393] and GRK2773/1- 454245598. MM was supported by the DFG grant numbers: 178833530 (SFB 940) and 402170461 (TRR 265). JR was supported by the LOEWE program of 23 the Hessian Ministry of Science and Arts (grant number: LOEWE1/16/519/03/09.001(0009)/98). UD was funded by the German Research Foundation (DFG, grant FOR2107 DA1151/5-1, DA1151/5-2, DA1151/9-1, DA1151/10-1, DA1151/11-1 to UD; SFB/TRR 393, project grant no 521379614) and the Interdisciplinary Center for Clinical Research (IZKF) of the medical faculty of M&#x00FC;nster (grant Dan3/016/26 to UD).</p></sec><sec><title>Data Availability</title><p>The analytic code of this study will be openly available in the GitHub repository [<xref ref-type="bibr" rid="ref59">59</xref>]. The data will be provided upon reasonable request.</p></sec></notes><fn-group><fn fn-type="con"><p>AP, MB, PR, and AJ designed the study. KB, CB, JM, BM, AJF, TE, AR, TK, UD, IF, ML, GL, CM, VK, KL, AB, AR, SM, TS, FB, JF, GJ, VF, and CUC participated in the patient recruitment. FH, PM, JR, EM, PH, FGV, IW, JK, and MM developed the machine learning analyses pipelines, performed data analyses, and statistics. PM, CV, and FH performed the quality control. AP, MB, PR, UD, and TK obtained funding. PM, MM, FH, and AP wrote the article. MM, KB, CB, JM, PH, FGV, BM, AJF, TE, AR, TK, UD, IF, ML, GL, CM, VK, KL, AB, AR, JR, SM, TS, FB, JF, GJ, VF, CUC, IW, JK, EM, MB, and PR revised it 24 critically for important intellectual content. All of the authors reviewed and approved the manuscript for publication.</p></fn><fn fn-type="conflict"><p>KL has been a consultant and/or advisor to or has received honoraria from Janssen/J&#x0026;J, Lundbeck, Otsuka, Recordati, and ROVI. She has received grant support from Janssen/J&#x0026;J and Otsuka. JR received speaker&#x2019;s honoraria from Janssen, Hexal, Neuraxpharm, and Novartis. JNK declares consulting services for Owkin, France, DoMore Diagnostics, Norway, Panakeia, UK, Scailyte, Switzerland, Cancilico, Germany, Mindpeak, Germany, MultiplexDx, Slovakia, and Histofy, UK; furthermore, he holds shares in StratifAI GmbH, Germany, has received a research grant by GSK, and has received honoraria by AstraZeneca, Bayer, Eisai, Janssen, MSD, BMS, Roche, Pfizer, and Fresenius. ICW received honoraria from AstraZeneca. All other authors report no biomedical financial interests or potential conflicts of interest. All other authors declared no conflict of interest.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">ADHD</term><def><p>attention-deficit hyperactivity disorder</p></def></def-item><def-item><term id="abb2">BARS</term><def><p>extended Bipolar-at-Risk criteria</p></def></def-item><def-item><term id="abb3">BPSS-P</term><def><p>Bipolar Prodrome Symptom Scale-Prospective</p></def></def-item><def-item><term id="abb4">CTQ</term><def><p>Childhood Trauma Questionnaire</p></def></def-item><def-item><term id="abb5">CV</term><def><p> cross-validation</p></def></def-item><def-item><term id="abb6"><italic>DSM-IV</italic></term><def><p><italic>Diagnostic and Statistical Manual of Mental Disorders</italic> (Fourth Edition)</p></def></def-item><def-item><term id="abb7">ENIGMA</term><def><p>Enhancing NeuroImaging Genetics through Meta-Analysis</p></def></def-item><def-item><term id="abb8">FAST</term><def><p>Functioning Assessment Short Test</p></def></def-item><def-item><term id="abb9">GAF</term><def><p>Global Assessment of Functioning</p></def></def-item><def-item><term id="abb10">GAF-S</term><def><p>Global Assessment of Functioning-Symptom</p></def></def-item><def-item><term id="abb11">HAMD</term><def><p>Hamilton Depression Rating Scale</p></def></def-item><def-item><term id="abb12">IDS-C</term><def><p>Inventory for Depressive Symptomatology&#x2013;Clinician-Rated</p></def></def-item><def-item><term id="abb13">LLM</term><def><p> large language model</p></def></def-item><def-item><term id="abb14">MAE</term><def><p>mean absolute error</p></def></def-item><def-item><term id="abb15">MRI</term><def><p>magnetic resonance imaging</p></def></def-item><def-item><term id="abb16">PQ-16</term><def><p>Prodromal Questionnaire-16</p></def></def-item><def-item><term id="abb17">SKID-I </term><def><p>Structured Clinical Interview for <italic>DSM-IV</italic> Axis I Disorders</p></def></def-item><def-item><term id="abb18">SOFAS</term><def><p>Social and Occupational Functioning Assessment Scale</p></def></def-item><def-item><term id="abb19">SVM</term><def><p> support vector machine</p></def></def-item><def-item><term id="abb20">ZIH</term><def><p>Center for Information Services and High-Performance Computing</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="web"><article-title>Pension insurance in time series</article-title><source>German Pension Insurance</source><year>2024</year><access-date>2024-11-27</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.deutsche-rentenversicherung.de/SharedDocs/Downloads/DE/Statistiken-und-Berichte/statistikpublikationen/rv_in_zeitreihen.html">https://www.deutsche-rentenversicherung.de/SharedDocs/Downloads/DE/Statistiken-und-Berichte/statistikpublikationen/rv_in_zeitreihen.html</ext-link></comment></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Arias</surname><given-names>D</given-names> </name><name name-style="western"><surname>Saxena</surname><given-names>S</given-names> </name><name name-style="western"><surname>Verguet</surname><given-names>S</given-names> </name></person-group><article-title>Quantifying the global burden of mental disorders and their economic value</article-title><source>EClinicalMedicine</source><year>2022</year><month>12</month><volume>54</volume><fpage>101675</fpage><pub-id pub-id-type="doi">10.1016/j.eclinm.2022.101675</pub-id><pub-id pub-id-type="medline">36193171</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kjell</surname><given-names>ONE</given-names> </name><name name-style="western"><surname>Kjell</surname><given-names>K</given-names> </name><name name-style="western"><surname>Schwartz</surname><given-names>HA</given-names> </name></person-group><article-title>Beyond rating scales: With targeted evaluation, large language models are poised for psychological assessment</article-title><source>Psychiatry Res</source><year>2024</year><month>03</month><volume>333</volume><fpage>115667</fpage><pub-id pub-id-type="doi">10.1016/j.psychres.2023.115667</pub-id><pub-id pub-id-type="medline">38290286</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Goh</surname><given-names>E</given-names> </name><name name-style="western"><surname>Gallo</surname><given-names>R</given-names> </name><name name-style="western"><surname>Hom</surname><given-names>J</given-names> </name><etal/></person-group><article-title>Large language model influence on diagnostic reasoning: a randomized clinical trial</article-title><source>JAMA Netw Open</source><year>2024</year><month>10</month><day>1</day><volume>7</volume><issue>10</issue><fpage>e2440969</fpage><pub-id pub-id-type="doi">10.1001/jamanetworkopen.2024.40969</pub-id><pub-id pub-id-type="medline">39466245</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Buckley</surname><given-names>TA</given-names> </name><name name-style="western"><surname>Crowe</surname><given-names>B</given-names> </name><name name-style="western"><surname>Abdulnour</surname><given-names>REE</given-names> </name><name name-style="western"><surname>Rodman</surname><given-names>A</given-names> </name><name name-style="western"><surname>Manrai</surname><given-names>AK</given-names> </name></person-group><article-title>Comparison of frontier open-source and proprietary large language models for complex diagnoses</article-title><source>JAMA Health Forum</source><year>2025</year><month>03</month><day>7</day><volume>6</volume><issue>3</issue><fpage>e250040</fpage><pub-id pub-id-type="doi">10.1001/jamahealthforum.2025.0040</pub-id><pub-id pub-id-type="medline">40085109</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Wiest</surname><given-names>IC</given-names> </name><name name-style="western"><surname>Verhees</surname><given-names>FG</given-names> </name><name name-style="western"><surname>Ferber</surname><given-names>D</given-names> </name><etal/></person-group><article-title>Detection of suicidality from medical text using privacy-preserving large language models</article-title><source>Br J Psychiatry</source><year>2024</year><month>12</month><volume>225</volume><issue>6</issue><fpage>532</fpage><lpage>537</lpage><pub-id pub-id-type="doi">10.1192/bjp.2024.134</pub-id><pub-id pub-id-type="medline">39497458</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ben Shoham</surname><given-names>O</given-names> </name><name name-style="western"><surname>Rappoport</surname><given-names>N</given-names> </name></person-group><article-title>CPLLM: clinical prediction with large language models</article-title><source>PLOS Digit Health</source><year>2024</year><month>12</month><volume>3</volume><issue>12</issue><fpage>e0000680</fpage><pub-id pub-id-type="doi">10.1371/journal.pdig.0000680</pub-id><pub-id pub-id-type="medline">39642102</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Brown</surname><given-names>KE</given-names> </name><name name-style="western"><surname>Yan</surname><given-names>C</given-names> </name><name name-style="western"><surname>Li</surname><given-names>Z</given-names> </name><etal/></person-group><article-title>Large language models are less effective at clinical prediction tasks than locally trained machine learning models</article-title><source>J Am Med Inform Assoc</source><year>2025</year><month>05</month><day>1</day><volume>32</volume><issue>5</issue><fpage>811</fpage><lpage>822</lpage><pub-id pub-id-type="doi">10.1093/jamia/ocaf038</pub-id><pub-id pub-id-type="medline">40056436</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Yang</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Mitra</surname><given-names>A</given-names> </name><name name-style="western"><surname>Liu</surname><given-names>W</given-names> </name><name name-style="western"><surname>Berlowitz</surname><given-names>D</given-names> </name><name name-style="western"><surname>Yu</surname><given-names>H</given-names> </name></person-group><article-title>TransformEHR: transformer-based encoder-decoder generative model to enhance prediction of disease outcomes using electronic health records</article-title><source>Nat Commun</source><year>2023</year><month>11</month><day>29</day><volume>14</volume><issue>1</issue><fpage>7857</fpage><pub-id pub-id-type="doi">10.1038/s41467-023-43715-z</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Aas</surname><given-names>IHM</given-names> </name></person-group><article-title>Guidelines for rating Global Assessment of Functioning (GAF)</article-title><source>Ann Gen Psychiatry</source><year>2011</year><month>01</month><day>20</day><volume>10</volume><issue>1</issue><fpage>2</fpage><pub-id pub-id-type="doi">10.1186/1744-859X-10-2</pub-id><pub-id pub-id-type="medline">21251305</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Cowman</surname><given-names>M</given-names> </name><name name-style="western"><surname>Godfrey</surname><given-names>E</given-names> </name><name name-style="western"><surname>Walsh</surname><given-names>T</given-names> </name><etal/></person-group><article-title>Measures of social and occupational function in early psychosis: a systematic review and meta-analysis</article-title><source>Schizophr Bull</source><year>2024</year><month>03</month><day>7</day><volume>50</volume><issue>2</issue><fpage>266</fpage><lpage>285</lpage><pub-id pub-id-type="doi">10.1093/schbul/sbad062</pub-id><pub-id pub-id-type="medline">37173277</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Koutsouleris</surname><given-names>N</given-names> </name><name name-style="western"><surname>Kambeitz-Ilankovic</surname><given-names>L</given-names> </name><name name-style="western"><surname>Ruhrmann</surname><given-names>S</given-names> </name><etal/></person-group><article-title>Prediction models of functional outcomes for individuals in the clinical high-risk state for psychosis or with recent-onset depression: a multimodal, multisite machine learning analysis</article-title><source>JAMA Psychiatry</source><year>2018</year><month>11</month><day>1</day><volume>75</volume><issue>11</issue><fpage>1156</fpage><lpage>1172</lpage><pub-id pub-id-type="doi">10.1001/jamapsychiatry.2018.2165</pub-id><pub-id pub-id-type="medline">30267047</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Slot</surname><given-names>MIE</given-names> </name><name name-style="western"><surname>Urquijo Castro</surname><given-names>MF</given-names> </name><name name-style="western"><surname>Winter-van Rossum</surname><given-names>I</given-names> </name><etal/></person-group><article-title>Multivariable prediction of functional outcome after first-episode psychosis: a crossover validation approach in EUFEST and PSYSCAN</article-title><source>Schizophrenia (Heidelb)</source><year>2024</year><month>10</month><day>7</day><volume>10</volume><issue>1</issue><fpage>89</fpage><pub-id pub-id-type="doi">10.1038/s41537-024-00505-w</pub-id><pub-id pub-id-type="medline">39375356</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>de Nijs</surname><given-names>J</given-names> </name><name name-style="western"><surname>Burger</surname><given-names>TJ</given-names> </name><name name-style="western"><surname>Janssen</surname><given-names>RJ</given-names> </name><etal/></person-group><article-title>Individualized prediction of three- and six-year outcomes of psychosis in a longitudinal multicenter study: a machine learning approach</article-title><source>NPJ Schizophr</source><year>2021</year><month>07</month><day>2</day><volume>7</volume><issue>1</issue><fpage>34</fpage><pub-id pub-id-type="doi">10.1038/s41537-021-00162-3</pub-id><pub-id pub-id-type="medline">34215752</pub-id></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Oomen</surname><given-names>PP</given-names> </name><name name-style="western"><surname>Begemann</surname><given-names>MJH</given-names> </name><name name-style="western"><surname>Brand</surname><given-names>BA</given-names> </name><etal/></person-group><article-title>Longitudinal clinical and functional outcome in distinct cognitive subgroups of first-episode psychosis: a cluster analysis</article-title><source>Psychol Med</source><year>2023</year><month>04</month><volume>53</volume><issue>6</issue><fpage>2317</fpage><lpage>2327</lpage><pub-id pub-id-type="doi">10.1017/S0033291721004153</pub-id><pub-id pub-id-type="medline">34664546</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Arribas</surname><given-names>M</given-names> </name><name name-style="western"><surname>Oliver</surname><given-names>D</given-names> </name><name name-style="western"><surname>Patel</surname><given-names>R</given-names> </name><etal/></person-group><article-title>A transdiagnostic prodrome for severe mental disorders: an electronic health record study</article-title><source>Mol Psychiatry</source><year>2024</year><month>11</month><volume>29</volume><issue>11</issue><fpage>3305</fpage><lpage>3315</lpage><pub-id pub-id-type="doi">10.1038/s41380-024-02533-5</pub-id><pub-id pub-id-type="medline">38710907</pub-id></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Pfennig</surname><given-names>A</given-names> </name><name name-style="western"><surname>Leopold</surname><given-names>K</given-names> </name><name name-style="western"><surname>Martini</surname><given-names>J</given-names> </name><etal/></person-group><article-title>Improving early recognition and intervention in people at increased risk for the development of bipolar disorder: study protocol of a prospective-longitudinal, naturalistic cohort study (Early-BipoLife)</article-title><source>Int J Bipolar Disord</source><year>2020</year><month>07</month><day>1</day><volume>8</volume><issue>1</issue><fpage>22</fpage><pub-id pub-id-type="doi">10.1186/s40345-020-00183-4</pub-id><pub-id pub-id-type="medline">32607662</pub-id></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Leopold</surname><given-names>K</given-names> </name><name name-style="western"><surname>Ritter</surname><given-names>P</given-names> </name><name name-style="western"><surname>Correll</surname><given-names>CU</given-names> </name><etal/></person-group><article-title>Risk constellations prior to the development of bipolar disorders: rationale of a new risk assessment tool</article-title><source>J Affect Disord</source><year>2012</year><month>02</month><volume>136</volume><issue>3</issue><fpage>1000</fpage><lpage>1010</lpage><pub-id pub-id-type="doi">10.1016/j.jad.2011.06.043</pub-id><pub-id pub-id-type="medline">21802741</pub-id></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Martini</surname><given-names>J</given-names> </name><name name-style="western"><surname>Br&#x00F6;ckel</surname><given-names>KL</given-names> </name><name name-style="western"><surname>Leopold</surname><given-names>K</given-names> </name><etal/></person-group><article-title>Young people at risk for developing bipolar disorder: Two-year findings from the multicenter prospective, naturalistic Early-BipoLife study</article-title><source>Eur Neuropsychopharmacol</source><year>2024</year><month>01</month><volume>78</volume><fpage>43</fpage><lpage>53</lpage><pub-id pub-id-type="doi">10.1016/j.euroneuro.2023.10.001</pub-id><pub-id pub-id-type="medline">37913697</pub-id></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Wittchen</surname><given-names>HU</given-names> </name><name name-style="western"><surname>Zaudig</surname><given-names>M</given-names> </name><name name-style="western"><surname>Fydrich</surname><given-names>T</given-names> </name><collab>SKID</collab><etal/></person-group><article-title>Strukturiertes klinisches interview f&#x00FC;r DSM-IV</article-title><source>Achse I Und II: Achse I: Psychische St&#x00F6;rungen; Achse II: Pers&#x00F6;nlichkeitst&#x00F6;rungen 1 Auflage</source><year>1997</year><publisher-name>G&#x00F6;ttingen: Hogrefe</publisher-name></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Rush</surname><given-names>AJ</given-names> </name><name name-style="western"><surname>Giles</surname><given-names>DE</given-names> </name><name name-style="western"><surname>Schlesser</surname><given-names>MA</given-names> </name><name name-style="western"><surname>Fulton</surname><given-names>CL</given-names> </name><name name-style="western"><surname>Weissenburger</surname><given-names>J</given-names> </name><name name-style="western"><surname>Burns</surname><given-names>C</given-names> </name></person-group><article-title>The Inventory for Depressive Symptomatology (IDS): preliminary findings</article-title><source>Psychiatry Res</source><year>1986</year><month>05</month><volume>18</volume><issue>1</issue><fpage>65</fpage><lpage>87</lpage><pub-id pub-id-type="doi">10.1016/0165-1781(86)90060-0</pub-id><pub-id pub-id-type="medline">3737788</pub-id></nlm-citation></ref><ref id="ref22"><label>22</label><nlm-citation citation-type="web"><person-group person-group-type="author"><name name-style="western"><surname>Bernstein</surname><given-names>DP</given-names> </name><name name-style="western"><surname>Fink</surname><given-names>L</given-names> </name><name name-style="western"><surname>Handelsman</surname><given-names>L</given-names> </name><name name-style="western"><surname>Foote</surname><given-names>J</given-names> </name></person-group><article-title>Childhood trauma questionnaire</article-title><source>APA PsycNet</source><year>2011</year><access-date>2026-03-26</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1037/t02080-000">https://doi.org/10.1037/t02080-000</ext-link></comment></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Rosa</surname><given-names>AR</given-names> </name><name name-style="western"><surname>S&#x00E1;nchez-Moreno</surname><given-names>J</given-names> </name><name name-style="western"><surname>Mart&#x00ED;nez-Aran</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Validity and reliability of the Functioning Assessment Short Test (FAST) in bipolar disorder</article-title><source>Clin Pract Epidemiol Ment Health</source><year>2007</year><month>06</month><day>7</day><volume>3</volume><issue>1</issue><fpage>5</fpage><pub-id pub-id-type="doi">10.1186/1745-0179-3-5</pub-id><pub-id pub-id-type="medline">17555558</pub-id></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Christensen</surname><given-names>MC</given-names> </name><name name-style="western"><surname>Schmidt</surname><given-names>SN</given-names> </name><name name-style="western"><surname>Grande</surname><given-names>I</given-names> </name></person-group><article-title>The Functioning Assessment Short Test (FAST): clinically meaningful response threshold in patients with major depressive disorder receiving antidepressant treatment</article-title><source>J Affect Disord</source><year>2024</year><month>10</month><day>15</day><volume>363</volume><fpage>634</fpage><lpage>642</lpage><pub-id pub-id-type="doi">10.1016/j.jad.2024.07.018</pub-id><pub-id pub-id-type="medline">39019235</pub-id></nlm-citation></ref><ref id="ref25"><label>25</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ising</surname><given-names>HK</given-names> </name><name name-style="western"><surname>Veling</surname><given-names>W</given-names> </name><name name-style="western"><surname>Loewy</surname><given-names>RL</given-names> </name><etal/></person-group><article-title>The validity of the 16-item version of the Prodromal Questionnaire (PQ-16) to screen for ultra high risk of developing psychosis in the general help-seeking population</article-title><source>Schizophr Bull</source><year>2012</year><month>11</month><volume>38</volume><issue>6</issue><fpage>1288</fpage><lpage>1296</lpage><pub-id pub-id-type="doi">10.1093/schbul/sbs068</pub-id><pub-id pub-id-type="medline">22516147</pub-id></nlm-citation></ref><ref id="ref26"><label>26</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bechdolf</surname><given-names>A</given-names> </name><name name-style="western"><surname>Ratheesh</surname><given-names>A</given-names> </name><name name-style="western"><surname>Cotton</surname><given-names>SM</given-names> </name><etal/></person-group><article-title>The predictive validity of bipolar at-risk (prodromal) criteria in help-seeking adolescents and young adults: a prospective study</article-title><source>Bipolar Disord</source><year>2014</year><month>08</month><volume>16</volume><issue>5</issue><fpage>493</fpage><lpage>504</lpage><pub-id pub-id-type="doi">10.1111/bdi.12205</pub-id><pub-id pub-id-type="medline">24797824</pub-id></nlm-citation></ref><ref id="ref27"><label>27</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Correll</surname><given-names>CU</given-names> </name><name name-style="western"><surname>Olvet</surname><given-names>DM</given-names> </name><name name-style="western"><surname>Auther</surname><given-names>AM</given-names> </name><etal/></person-group><article-title>The Bipolar Prodrome Symptom Interview and Scale-Prospective (BPSS-P): description and validation in a psychiatric sample and healthy controls</article-title><source>Bipolar Disord</source><year>2014</year><month>08</month><volume>16</volume><issue>5</issue><fpage>505</fpage><lpage>522</lpage><pub-id pub-id-type="doi">10.1111/bdi.12209</pub-id><pub-id pub-id-type="medline">24807784</pub-id></nlm-citation></ref><ref id="ref28"><label>28</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Lalousis</surname><given-names>PA</given-names> </name><name name-style="western"><surname>Schmaal</surname><given-names>L</given-names> </name><name name-style="western"><surname>Wood</surname><given-names>SJ</given-names> </name><etal/></person-group><article-title>Neurobiologically based stratification of recent-onset depression and psychosis: identification of two distinct transdiagnostic phenotypes</article-title><source>Biol Psychiatry</source><year>2022</year><month>10</month><day>1</day><volume>92</volume><issue>7</issue><fpage>552</fpage><lpage>562</lpage><pub-id pub-id-type="doi">10.1016/j.biopsych.2022.03.021</pub-id><pub-id pub-id-type="medline">35717212</pub-id></nlm-citation></ref><ref id="ref29"><label>29</label><nlm-citation citation-type="web"><article-title>Scikit-learn: machine learning in python</article-title><source>scikit-learn</source><access-date>2026-04-28</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://scikit-learn.org/stable/">https://scikit-learn.org/stable/</ext-link></comment></nlm-citation></ref><ref id="ref30"><label>30</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Vogelbacher</surname><given-names>C</given-names> </name><name name-style="western"><surname>M&#x00F6;bius</surname><given-names>TWD</given-names> </name><name name-style="western"><surname>Sommer</surname><given-names>J</given-names> </name><etal/></person-group><article-title>The Marburg-M&#x00FC;nster Affective Disorders Cohort Study (MACS): a quality assurance protocol for MR neuroimaging data</article-title><source>Neuroimage</source><year>2018</year><month>05</month><day>15</day><volume>172</volume><fpage>450</fpage><lpage>460</lpage><pub-id pub-id-type="doi">10.1016/j.neuroimage.2018.01.079</pub-id><pub-id pub-id-type="medline">29410079</pub-id></nlm-citation></ref><ref id="ref31"><label>31</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Esteban</surname><given-names>O</given-names> </name><name name-style="western"><surname>Birman</surname><given-names>D</given-names> </name><name name-style="western"><surname>Schaer</surname><given-names>M</given-names> </name><name name-style="western"><surname>Koyejo</surname><given-names>OO</given-names> </name><name name-style="western"><surname>Poldrack</surname><given-names>RA</given-names> </name><name name-style="western"><surname>Gorgolewski</surname><given-names>KJ</given-names> </name></person-group><person-group person-group-type="editor"><name name-style="western"><surname>Bernhardt</surname><given-names>BC</given-names> </name></person-group><article-title>MRIQC: advancing the automatic prediction of image quality in MRI from unseen sites</article-title><source>PLoS One</source><year>2017</year><volume>12</volume><issue>9</issue><fpage>e0184661</fpage><pub-id pub-id-type="doi">10.1371/journal.pone.0184661</pub-id><pub-id pub-id-type="medline">28945803</pub-id></nlm-citation></ref><ref id="ref32"><label>32</label><nlm-citation citation-type="web"><article-title>Data intensive computing &#x2013; high performance computing</article-title><source>Dresden University of Technology</source><access-date>2026-03-26</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://tu-dresden.de/zih/hochleistungsrechnen">https://tu-dresden.de/zih/hochleistungsrechnen</ext-link></comment></nlm-citation></ref><ref id="ref33"><label>33</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Desikan</surname><given-names>RS</given-names> </name><name name-style="western"><surname>S&#x00E9;gonne</surname><given-names>F</given-names> </name><name name-style="western"><surname>Fischl</surname><given-names>B</given-names> </name><etal/></person-group><article-title>An automated labeling system for subdividing the human cerebral cortex on MRI scans into gyral based regions of interest</article-title><source>Neuroimage</source><year>2006</year><month>07</month><day>1</day><volume>31</volume><issue>3</issue><fpage>968</fpage><lpage>980</lpage><pub-id pub-id-type="doi">10.1016/j.neuroimage.2006.01.021</pub-id><pub-id pub-id-type="medline">16530430</pub-id></nlm-citation></ref><ref id="ref34"><label>34</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Fischl</surname><given-names>B</given-names> </name><name name-style="western"><surname>van der Kouwe</surname><given-names>A</given-names> </name><name name-style="western"><surname>Destrieux</surname><given-names>C</given-names> </name><etal/></person-group><article-title>Automatically parcellating the human cerebral cortex</article-title><source>Cereb Cortex</source><year>2004</year><month>01</month><volume>14</volume><issue>1</issue><fpage>11</fpage><lpage>22</lpage><pub-id pub-id-type="doi">10.1093/cercor/bhg087</pub-id><pub-id pub-id-type="medline">14654453</pub-id></nlm-citation></ref><ref id="ref35"><label>35</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Iglesias</surname><given-names>JE</given-names> </name><name name-style="western"><surname>Augustinack</surname><given-names>JC</given-names> </name><name name-style="western"><surname>Nguyen</surname><given-names>K</given-names> </name><etal/></person-group><article-title>A computational atlas of the hippocampal formation using ex vivo, ultra-high resolution MRI: application to adaptive segmentation of in vivo MRI</article-title><source>Neuroimage</source><year>2015</year><month>07</month><day>15</day><volume>115</volume><fpage>117</fpage><lpage>137</lpage><pub-id pub-id-type="doi">10.1016/j.neuroimage.2015.04.042</pub-id><pub-id pub-id-type="medline">25936807</pub-id></nlm-citation></ref><ref id="ref36"><label>36</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Iglesias</surname><given-names>JE</given-names> </name><name name-style="western"><surname>Van Leemput</surname><given-names>K</given-names> </name><name name-style="western"><surname>Augustinack</surname><given-names>J</given-names> </name><etal/></person-group><article-title>Bayesian longitudinal segmentation of hippocampal substructures in brain MRI using subject-specific atlases</article-title><source>Neuroimage</source><year>2016</year><month>11</month><day>1</day><volume>141</volume><issue>542&#x2013;555</issue><fpage>542</fpage><lpage>555</lpage><pub-id pub-id-type="doi">10.1016/j.neuroimage.2016.07.020</pub-id><pub-id pub-id-type="medline">27426838</pub-id></nlm-citation></ref><ref id="ref37"><label>37</label><nlm-citation citation-type="web"><article-title>Structural image processing protocols</article-title><source>ENIGMA</source><access-date>2026-03-26</access-date><comment><ext-link ext-link-type="uri" xlink:href="http://enigma.ini.usc.edu/protocols/imaging-protocols">http://enigma.ini.usc.edu/protocols/imaging-protocols</ext-link></comment></nlm-citation></ref><ref id="ref38"><label>38</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Mikolas</surname><given-names>P</given-names> </name><name name-style="western"><surname>Marxen</surname><given-names>M</given-names> </name><name name-style="western"><surname>Riedel</surname><given-names>P</given-names> </name><etal/></person-group><article-title>Prediction of estimated risk for bipolar disorder using machine learning and structural MRI features</article-title><source>Psychol Med</source><year>2024</year><month>01</month><volume>54</volume><issue>2</issue><fpage>278</fpage><lpage>288</lpage><pub-id pub-id-type="doi">10.1017/S0033291723001319</pub-id><pub-id pub-id-type="medline">37212052</pub-id></nlm-citation></ref><ref id="ref39"><label>39</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Huth</surname><given-names>F</given-names> </name><name name-style="western"><surname>Tozzi</surname><given-names>L</given-names> </name><name name-style="western"><surname>Marxen</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Machine learning prediction of estimated risk for bipolar disorders using hippocampal subfield and amygdala nuclei volumes</article-title><source>Brain Sci</source><year>2023</year><month>05</month><day>27</day><volume>13</volume><issue>6</issue><fpage>870</fpage><pub-id pub-id-type="doi">10.3390/brainsci13060870</pub-id><pub-id pub-id-type="medline">37371350</pub-id></nlm-citation></ref><ref id="ref40"><label>40</label><nlm-citation citation-type="web"><article-title>LIBSVM: a library for support vector machines</article-title><source>ACM Digital Library</source><access-date>2026-04-28</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://dl.acm.org/doi/10.1145/1961189.1961199">https://dl.acm.org/doi/10.1145/1961189.1961199</ext-link></comment></nlm-citation></ref><ref id="ref41"><label>41</label><nlm-citation citation-type="web"><article-title>Neurominer-git/neurominer_1.2</article-title><source>GitHub</source><access-date>2026-03-26</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://github.com/neurominer-git/NeuroMiner_1.2">https://github.com/neurominer-git/NeuroMiner_1.2</ext-link></comment></nlm-citation></ref><ref id="ref42"><label>42</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Koutsouleris</surname><given-names>N</given-names> </name><name name-style="western"><surname>Dwyer</surname><given-names>DB</given-names> </name><name name-style="western"><surname>Degenhardt</surname><given-names>F</given-names> </name><etal/></person-group><article-title>Multimodal machine learning workflows for prediction of psychosis in patients with clinical high-risk syndromes and recent-onset depression</article-title><source>JAMA Psychiatry</source><year>2021</year><month>02</month><day>1</day><volume>78</volume><issue>2</issue><fpage>195</fpage><lpage>209</lpage><pub-id pub-id-type="doi">10.1001/jamapsychiatry.2020.3604</pub-id><pub-id pub-id-type="medline">33263726</pub-id></nlm-citation></ref><ref id="ref43"><label>43</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Fitzgerald</surname><given-names>M</given-names> </name><name name-style="western"><surname>Saville</surname><given-names>BR</given-names> </name><name name-style="western"><surname>Lewis</surname><given-names>RJ</given-names> </name></person-group><article-title>Decision curve analysis</article-title><source>JAMA</source><year>2015</year><month>01</month><day>27</day><volume>313</volume><issue>4</issue><fpage>409</fpage><lpage>410</lpage><pub-id pub-id-type="doi">10.1001/jama.2015.37</pub-id><pub-id pub-id-type="medline">25626037</pub-id></nlm-citation></ref><ref id="ref44"><label>44</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kircher</surname><given-names>T</given-names> </name><name name-style="western"><surname>W&#x00F6;hr</surname><given-names>M</given-names> </name><name name-style="western"><surname>Nenadic</surname><given-names>I</given-names> </name><etal/></person-group><article-title>Neurobiology of the major psychoses: a translational perspective on brain structure and function-the FOR2107 consortium</article-title><source>Eur Arch Psychiatry Clin Neurosci</source><year>2019</year><month>12</month><volume>269</volume><issue>8</issue><fpage>949</fpage><lpage>962</lpage><pub-id pub-id-type="doi">10.1007/s00406-018-0943-x</pub-id><pub-id pub-id-type="medline">30267149</pub-id></nlm-citation></ref><ref id="ref45"><label>45</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ching</surname><given-names>CRK</given-names> </name><name name-style="western"><surname>Hibar</surname><given-names>DP</given-names> </name><name name-style="western"><surname>Gurholt</surname><given-names>TP</given-names> </name><etal/></person-group><article-title>What we learn about bipolar disorder from large-scale neuroimaging: findings and future directions from the ENIGMA Bipolar Disorder Working Group</article-title><source>Hum Brain Mapp</source><year>2022</year><month>01</month><volume>43</volume><issue>1</issue><fpage>56</fpage><lpage>82</lpage><pub-id pub-id-type="doi">10.1002/hbm.25098</pub-id><pub-id pub-id-type="medline">32725849</pub-id></nlm-citation></ref><ref id="ref46"><label>46</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Vissink</surname><given-names>CE</given-names> </name><name name-style="western"><surname>Winter-van Rossum</surname><given-names>I</given-names> </name><name name-style="western"><surname>Cannon</surname><given-names>TD</given-names> </name><name name-style="western"><surname>Fusar-Poli</surname><given-names>P</given-names> </name><name name-style="western"><surname>Kahn</surname><given-names>RS</given-names> </name><name name-style="western"><surname>Bossong</surname><given-names>MG</given-names> </name></person-group><article-title>Structural brain volumes of individuals at clinical high risk for psychosis: a meta-analysis</article-title><source>Biol Psychiatry Glob Open Sci</source><year>2022</year><month>04</month><volume>2</volume><issue>2</issue><fpage>147</fpage><lpage>152</lpage><pub-id pub-id-type="doi">10.1016/j.bpsgos.2021.09.002</pub-id><pub-id pub-id-type="medline">36325161</pub-id></nlm-citation></ref><ref id="ref47"><label>47</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Schmaal</surname><given-names>L</given-names> </name><name name-style="western"><surname>Hibar</surname><given-names>DP</given-names> </name><name name-style="western"><surname>S&#x00E4;mann</surname><given-names>PG</given-names> </name><etal/></person-group><article-title>Cortical abnormalities in adults and adolescents with major depression based on brain scans from 20 cohorts worldwide in the ENIGMA Major Depressive Disorder Working Group</article-title><source>Mol Psychiatry</source><year>2017</year><month>06</month><volume>22</volume><issue>6</issue><fpage>900</fpage><lpage>909</lpage><pub-id pub-id-type="doi">10.1038/mp.2016.60</pub-id><pub-id pub-id-type="medline">27137745</pub-id></nlm-citation></ref><ref id="ref48"><label>48</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hibar</surname><given-names>DP</given-names> </name><name name-style="western"><surname>Westlye</surname><given-names>LT</given-names> </name><name name-style="western"><surname>van Erp</surname><given-names>TGM</given-names> </name><etal/></person-group><article-title>Subcortical volumetric abnormalities in bipolar disorder</article-title><source>Mol Psychiatry</source><year>2016</year><month>12</month><volume>21</volume><issue>12</issue><fpage>1710</fpage><lpage>1716</lpage><pub-id pub-id-type="doi">10.1038/mp.2015.227</pub-id><pub-id pub-id-type="medline">26857596</pub-id></nlm-citation></ref><ref id="ref49"><label>49</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ebneabbasi</surname><given-names>A</given-names> </name><name name-style="western"><surname>Mahdipour</surname><given-names>M</given-names> </name><name name-style="western"><surname>Nejati</surname><given-names>V</given-names> </name><etal/></person-group><article-title>Emotion processing and regulation in major depressive disorder: a 7T resting-state fMRI study</article-title><source>Hum Brain Mapp</source><year>2021</year><month>02</month><day>15</day><volume>42</volume><issue>3</issue><fpage>797</fpage><lpage>810</lpage><pub-id pub-id-type="doi">10.1002/hbm.25263</pub-id><pub-id pub-id-type="medline">33151031</pub-id></nlm-citation></ref><ref id="ref50"><label>50</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Verhees</surname><given-names>FG</given-names> </name><name name-style="western"><surname>Huth</surname><given-names>F</given-names> </name><name name-style="western"><surname>Meyer</surname><given-names>V</given-names> </name><etal/></person-group><source>clickBrick Prompt Engineering: Optimizing Large Language Model Performance in Clinical Psychiatry</source><year>2025</year><publisher-name>Cold Spring Harbor Laboratory</publisher-name><pub-id pub-id-type="doi">10.1101/2025.06.28.25330267</pub-id></nlm-citation></ref><ref id="ref51"><label>51</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zack</surname><given-names>T</given-names> </name><name name-style="western"><surname>Lehman</surname><given-names>E</given-names> </name><name name-style="western"><surname>Suzgun</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Assessing the potential of GPT-4 to perpetuate racial and gender biases in health care: a model evaluation study</article-title><source>Lancet Digit Health</source><year>2024</year><month>01</month><volume>6</volume><issue>1</issue><fpage>e12</fpage><lpage>e22</lpage><pub-id pub-id-type="doi">10.1016/S2589-7500(23)00225-X</pub-id><pub-id pub-id-type="medline">38123252</pub-id></nlm-citation></ref><ref id="ref52"><label>52</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Gu</surname><given-names>B</given-names> </name><name name-style="western"><surname>Desai</surname><given-names>RJ</given-names> </name><name name-style="western"><surname>Lin</surname><given-names>KJ</given-names> </name><name name-style="western"><surname>Yang</surname><given-names>J</given-names> </name></person-group><article-title>Probabilistic medical predictions of large language models</article-title><source>NPJ Digit Med</source><year>2024</year><month>12</month><day>19</day><volume>7</volume><issue>1</issue><fpage>367</fpage><pub-id pub-id-type="doi">10.1038/s41746-024-01366-4</pub-id><pub-id pub-id-type="medline">39702641</pub-id></nlm-citation></ref><ref id="ref53"><label>53</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Rybarczyk</surname><given-names>B</given-names> </name></person-group><person-group person-group-type="editor"><name name-style="western"><surname>Kreutzer</surname><given-names>JS</given-names> </name><name name-style="western"><surname>DeLuca</surname><given-names>J</given-names> </name><name name-style="western"><surname>Caplan</surname><given-names>B</given-names> </name></person-group><article-title>Social and occupational functioning assessment scale (SOFAS)</article-title><source>Encyclopedia of Clinical Neuropsychology</source><year>2011</year><publisher-name>Springer</publisher-name><fpage>2313</fpage><lpage>2313</lpage><pub-id pub-id-type="doi">10.1007/978-0-387-79948-3_428</pub-id><pub-id pub-id-type="other">978-0-387-79947-6</pub-id></nlm-citation></ref><ref id="ref54"><label>54</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Alonso</surname><given-names>J</given-names> </name><name name-style="western"><surname>Petukhova</surname><given-names>M</given-names> </name><name name-style="western"><surname>Vilagut</surname><given-names>G</given-names> </name><etal/></person-group><article-title>Days out of role due to common physical and mental conditions: results from the WHO World Mental Health surveys</article-title><source>Mol Psychiatry</source><year>2011</year><month>12</month><volume>16</volume><issue>12</issue><fpage>1234</fpage><lpage>1246</lpage><pub-id pub-id-type="doi">10.1038/mp.2010.101</pub-id><pub-id pub-id-type="medline">20938433</pub-id></nlm-citation></ref><ref id="ref55"><label>55</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hodgekins</surname><given-names>J</given-names> </name><name name-style="western"><surname>French</surname><given-names>P</given-names> </name><name name-style="western"><surname>Birchwood</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Comparing time use in individuals at different stages of psychosis and a non-clinical comparison group</article-title><source>Schizophr Res</source><year>2015</year><month>02</month><volume>161</volume><issue>2-3</issue><fpage>188</fpage><lpage>193</lpage><pub-id pub-id-type="doi">10.1016/j.schres.2014.12.011</pub-id><pub-id pub-id-type="medline">25541138</pub-id></nlm-citation></ref><ref id="ref56"><label>56</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Nunes</surname><given-names>A</given-names> </name><name name-style="western"><surname>Schnack</surname><given-names>HG</given-names> </name><name name-style="western"><surname>Ching</surname><given-names>CRK</given-names> </name><etal/></person-group><article-title>Using structural MRI to identify bipolar disorders - 13 site machine learning study in 3020 individuals from the ENIGMA Bipolar Disorders Working Group</article-title><source>Mol Psychiatry</source><year>2020</year><month>09</month><volume>25</volume><issue>9</issue><fpage>2130</fpage><lpage>2143</lpage><pub-id pub-id-type="doi">10.1038/s41380-018-0228-9</pub-id><pub-id pub-id-type="medline">30171211</pub-id></nlm-citation></ref><ref id="ref57"><label>57</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Radua</surname><given-names>J</given-names> </name><name name-style="western"><surname>Carvalho</surname><given-names>AF</given-names> </name></person-group><article-title>Route map for machine learning in psychiatry: absence of bias, reproducibility, and utility</article-title><source>Eur Neuropsychopharmacol</source><year>2021</year><month>09</month><volume>50</volume><fpage>115</fpage><lpage>117</lpage><pub-id pub-id-type="doi">10.1016/j.euroneuro.2021.05.006</pub-id><pub-id pub-id-type="medline">34116365</pub-id></nlm-citation></ref><ref id="ref58"><label>58</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Irving</surname><given-names>J</given-names> </name><name name-style="western"><surname>Patel</surname><given-names>R</given-names> </name><name name-style="western"><surname>Oliver</surname><given-names>D</given-names> </name><etal/></person-group><article-title>Using natural language processing on electronic health records to enhance detection and prediction of psychosis risk</article-title><source>Schizophr Bull</source><year>2021</year><month>03</month><day>16</day><volume>47</volume><issue>2</issue><fpage>405</fpage><lpage>414</lpage><pub-id pub-id-type="doi">10.1093/schbul/sbaa126</pub-id><pub-id pub-id-type="medline">33025017</pub-id></nlm-citation></ref><ref id="ref59"><label>59</label><nlm-citation citation-type="web"><article-title>Pmiko/bl_gaf</article-title><source>GitHub</source><access-date>2026-03-26</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://github.com/pmiko/BL_GAF">https://github.com/pmiko/BL_GAF</ext-link></comment></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p>Supplementary information.</p><media xlink:href="mental_v13i1e84424_app1.docx" xlink:title="DOCX File, 526 KB"/></supplementary-material></app-group></back></article>