<?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 Form Res</journal-id><journal-id journal-id-type="publisher-id">formative</journal-id><journal-id journal-id-type="index">27</journal-id><journal-title>JMIR Formative Research</journal-title><abbrev-journal-title>JMIR Form Res</abbrev-journal-title><issn pub-type="epub">2561-326X</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">v9i1e78941</article-id><article-id pub-id-type="doi">10.2196/78941</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Prediction of Respiratory Decompensation in Patients Receiving Home Mechanical Ventilation: Machine Learning Model Development and Validation Study</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Berbel Casado</surname><given-names>Nerea</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>L&#x00F3;pez Segu&#x00ED;</surname><given-names>Francesc</given-names></name><degrees>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>Mu&#x00F1;oz Moruno</surname><given-names>Natalia</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Rosell</surname><given-names>Antoni</given-names></name><degrees>MD, 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>Mu&#x00F1;oz Ferrer</surname><given-names>A&#x00EF;da</given-names></name><degrees>MD, 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>Garcia Olive</surname><given-names>Ignasi</given-names></name><degrees>MD, 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" corresp="yes"><name name-style="western"><surname>Galdeano Lozano</surname><given-names>Marina</given-names></name><degrees>MD, 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-group><aff id="aff1"><institution>Chair in ICT and Health, Centre for Health and Social Care Research (CESS), Universitat de Vic - Universitat Central de Catalunya</institution><addr-line>Carrer Miquel Mart&#x00ED; i Pol, 1</addr-line><addr-line>Vic</addr-line><country>Spain</country></aff><aff id="aff2"><institution>Centre de Recerca en Economia i Salut, Universitat Pompeu Fabra</institution><addr-line>Barcelona</addr-line><country>Spain</country></aff><aff id="aff3"><institution>Department of Pulmonology, Clinical Directorate of the Thorax Area, Hospital Universitari Germans Trias i Pujol</institution><addr-line>Carretera de Canyet, s/n</addr-line><addr-line>Badalona</addr-line><country>Spain</country></aff><aff id="aff4"><institution>Institut d'Investigaci&#x00F3; en Ci&#x00E8;ncies de la Salut Germans Trias i Pujol</institution><addr-line>Badalona</addr-line><country>Spain</country></aff><aff id="aff5"><institution>Universitat Aut&#x00F2;noma de Barcelona</institution><addr-line>Bellaterra</addr-line><country>Spain</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Schwartz</surname><given-names>Amy</given-names></name></contrib><contrib contrib-type="editor"><name name-style="western"><surname>Balcarras</surname><given-names>Matthew</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Bai</surname><given-names>Enze</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Joyner</surname><given-names>Robert L</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Marina Galdeano Lozano, MD, PhD, Department of Pulmonology, Clinical Directorate of the Thorax Area, Hospital Universitari Germans Trias i Pujol, Carretera de Canyet, s/n, Badalona, 08916, Spain, 34 934 65 12 00; <email>mgaldeanol.germanstrias@gencat.cat</email></corresp></author-notes><pub-date pub-type="collection"><year>2025</year></pub-date><pub-date pub-type="epub"><day>30</day><month>12</month><year>2025</year></pub-date><volume>9</volume><elocation-id>e78941</elocation-id><history><date date-type="received"><day>12</day><month>06</month><year>2025</year></date><date date-type="rev-recd"><day>08</day><month>11</month><year>2025</year></date><date date-type="accepted"><day>21</day><month>11</month><year>2025</year></date></history><copyright-statement>&#x00A9; Nerea Berbel Casado, Francesc L&#x00F3;pez Segu&#x00ED;, Natalia Mu&#x00F1;oz Moruno, Antoni Rosell, A&#x00EF;da Mu&#x00F1;oz Ferrer, Ignasi Garcia Olive, Marina Galdeano Lozano. Originally published in JMIR Formative Research (<ext-link ext-link-type="uri" xlink:href="https://formative.jmir.org">https://formative.jmir.org</ext-link>), 30.12.2025. </copyright-statement><copyright-year>2025</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 Formative Research, is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://formative.jmir.org">https://formative.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://formative.jmir.org/2025/1/e78941"/><abstract><sec><title>Background</title><p>Chronic respiratory diseases often require long-term ventilatory support, leading to a growing number of patients treated with home mechanical ventilation (HMV). Despite advancements in telemonitoring with real-time tracking of noninvasive mechanical ventilation enabled by integrated software in HMV devices, early signs of respiratory decompensation may go unnoticed, leading to emergency visits and hospitalizations, which burden both patients and health care systems.</p></sec><sec><title>Objective</title><p>This study aims to develop and evaluate a machine learning&#x2013;based model capable of predicting respiratory decompensation events, defined as emergency visits or hospitalizations due to acute deterioration in the patient&#x2019;s underlying respiratory condition. These events reflect episodes of worsening respiratory status that require urgent medical attention. The model uses data from HMV telemonitoring platforms, with the aim of improving patient outcomes.</p></sec><sec sec-type="methods"><title>Methods</title><p>This retrospective study analyzed data from 482 patients on HMV monitored via ResMed, Philips, and Breas platforms, collected between March 2021 and November 2024 at the Germans Trias i Pujol Hospital in Catalonia, Spain. Data included device use, compliance, mask leakage, and ventilator settings. Decompensation was defined as emergency department visits or hospitalizations. A windowing strategy captured the 5 weeks prior to events. Multiple machine learning models were trained using grid search to identify the optimal hyperparameters, prioritizing recall in order to minimize false negatives. Models were evaluated using 10-fold cross-validation. Finally, Shapley Additive Explanations (SHAP) analysis was used for model interpretability.</p></sec><sec sec-type="results"><title>Results</title><p>The final dataset included 157 data windows, balanced for positive and negative cases. Among the models tested, logistic regression achieved the highest recall (mean 0.94, SD 0.06, 95% CI 0.90&#x2010;0.98) though with moderate accuracy (mean 0.60, SD 0.05, 95% CI 0.56&#x2010;0.64). The random forest classifier achieved the best balance across metrics (accuracy: mean 0.66, SD 0.10, 95% CI 0.59&#x2010;0.73; recall: mean 0.78, SD 0.15, 95% CI 0.67&#x2010;0.89; <italic>F</italic><sub>1</sub>-score: mean 0.70, SD 0.10, 95% CI 0.63&#x2010;0.77). SHAP analysis revealed that higher use, leakage, and compliance in the week before a decompensation event were key predictors, suggesting compensatory behavior or early clinical deterioration. Overall performance remained moderate, reflecting limitations in sample size, incomplete longitudinal records for daily data, and the absence of key physiological measurements.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>This study demonstrates the feasibility of predicting respiratory decompensation using data from HMV telemonitoring systems. Tree-based ensemble models, particularly random forests, provided the most balanced performance, while SHAP analysis offered clinically relevant insights. Although performance was moderate, the findings support further development of predictive tools to enable timely telemedical interventions. Limitations include sample size, missing physiological parameters, and a single-center design. Future research should expand to multicenter datasets and incorporate additional clinical variables to enhance model robustness and generalizability.</p></sec></abstract><kwd-group><kwd>home mechanical ventilation</kwd><kwd>machine learning</kwd><kwd>noninvasive ventilation</kwd><kwd>predictive modeling</kwd><kwd>random forest classifier</kwd><kwd>remote patient monitoring</kwd><kwd>respiratory decompensation</kwd><kwd>Shapley Additive Explanations analysis</kwd><kwd>SHAP</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>The increasing life expectancy of the population has led to the chronicization of numerous diseases, including respiratory conditions. As a result, changes in the treatment and monitoring of these pathologies are necessary. Over the years, there has been a significant rise in the number of patients with respiratory diseases that ultimately develop into chronic respiratory failure, requiring oxygen therapy with or without ventilatory support [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref2">2</xref>].</p><p>In response to this growing challenge, noninvasive mechanical ventilation (NIMV) has become widely used since the 1980s, prompting the creation of intermediate respiratory care units (IRCUs). In 2005, the Spanish Society of Pulmonology and Thoracic Surgery defined IRCUs as specialized units dedicated to the monitoring and treatment of patients with acute or exacerbated respiratory failure, aiming to provide appropriate respiratory monitoring and treatment through NIMV [<xref ref-type="bibr" rid="ref3">3</xref>]. Many patients admitted to IRCUs are advised to continue treatment at home with home mechanical ventilation (HMV) devices. Recent technological advancements have enabled the integration of software into HMV devices, facilitating close and continuous patient monitoring. However, despite these improvements, issues such as poor adherence, limited family support, and undetected patient-ventilator asynchronies continue to compromise treatment effectiveness and patient health [<xref ref-type="bibr" rid="ref4">4</xref>,<xref ref-type="bibr" rid="ref5">5</xref>].</p><p>Previous research suggests that combining telemonitoring and teleintervention could improve health outcomes, with one study reporting a 70% reduction in the risk of cardiovascular events [<xref ref-type="bibr" rid="ref6">6</xref>], highlighting the broad potential of such integrated approaches. Additionally, changes detected by the integrated monitoring systems in HMV devices may correlate with clinical deterioration in these patients [<xref ref-type="bibr" rid="ref7">7</xref>,<xref ref-type="bibr" rid="ref8">8</xref>]. This convergence of HMV data and proven teleintervention strategies highlights the potential of using HMV parameters in the context of telemedicine for early detection of respiratory decompensation, enabling timely adjustment of ventilator settings or remote intervention. Previous studies have shown the potential of machine learning in predicting ventilator-associated complications among critically ill intensive care unit patients, reaching an average accuracy of 0.69 (SD 0.10) [<xref ref-type="bibr" rid="ref9">9</xref>]. However, this study focuses on invasive mechanical ventilation, incorporating parameters that are not available in HMV applications.</p><p>Building on this evidence, this paper aims to assess the feasibility of using machine learning to detect early signs of respiratory decompensation, based on data extracted from HMV software. Respiratory decompensation in this context is defined as emergency department visits or hospitalizations due to acute deterioration in the patient&#x2019;s underlying respiratory condition, reflecting episodes of worsening respiratory status that require urgent medical attention; therefore, early identification of potential decompensation can significantly reduce preventable emergency visits due to worsening clinical status or quality of life, which also impose a considerable travel burden on frail individuals. The ultimate goal of this approach is to anticipate respiratory decompensation in individuals using HMV by identifying early warning patterns in ventilator data. Future data-driven predictive models integration into telemonitoring workflows could enable timely adjustments of ventilatory parameters or clinical management before an acute event occurs, helping to maintain patient stability, reduce emergency visits and hospitalizations, improve quality of life, and optimize health care resource use.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Patient Recruitment and Inclusion Criteria</title><p>This study was conducted at Germans Trias i Pujol Hospital (HUGTiP), a reference hospital in Catalonia (Spain) that serves a population of 1,448,812 people across 70 municipalities. The study included data collected between March 2021 and November 2024. Patients were recruited voluntarily before their inclusion in the study. The study population comprised hospitalized patients who required HMV initiation after an acute exacerbation in the IRCU or in general hospitalization wards at HUGTiP. It also included patients already on HMV who required therapy adjustments before discharge. Additionally, patients attending outpatient clinics who required new HMV initiation or adjustments in follow-up consultations were included in the analysis.</p><p>The study population, comprising both women and men, had a mean age of 69.3 years, with most individuals aged between 60 and 80 years. Chronic obstructive pulmonary disease accounted for more than half of the patients treated with NIMV, representing the main indication for ventilatory support. Other underlying conditions included obesity hypoventilation syndrome (often associated with obstructive sleep apnea) and restrictive thoracic or neuromuscular disorders, such as postsurgical thoracic sequelae, amyotrophic lateral sclerosis, and muscular dystrophies.</p><p>To ensure appropriate follow-up and reliable data acquisition, only patients residing within the hospital&#x2019;s coverage area were considered eligible for HMV. Furthermore, patients needed to have a designated caregiver to assist in therapy adherence and monitoring.</p></sec><sec id="s2-2"><title>Data Acquisition and Telemonitoring</title><p>Patient monitoring was conducted through validated commercial telemonitoring platforms commonly used in HMV: ResMed, Philips, and Breas. These platforms allow for real-time tracking of NIMV therapy. The home respiratory therapy provider, Esteve Teijin, which is responsible for the geographic area of HUGTiP, granted access to its telemonitoring system through a licensed workstation located at the sleep unit in the Pulmonology Department at HUGTiP.</p><p>The telemonitoring system facilitated automated data extraction from ventilators, providing detailed information on therapy adherence and device performance through weekly and daily reports. The weekly reports included information on ventilator use patterns, ventilation settings, and device and mask characteristics. More specifically, the extracted data comprised weekly continuous compliance, last recorded values of expiratory and inspiratory positive airway pressure, ventilation mode, ramp activation and duration, device type, mask type, and size. Daily reports focused on key physiological indicators, such as use (in min), apnea-hypopnea index, and leakage levels.</p><p>To provide a comprehensive view of patient status, ventilator-derived parameters were supplemented with hospital admission and emergency department visit dates. Consequently, the study included 482 patients for whom both telemonitoring reports and corresponding date records were available.</p></sec><sec id="s2-3"><title>Ethical Considerations</title><p>This study complies with the approval of the Ethics Committee of HUGTiP (approval code PI-21&#x2010;236) and adheres to the ethical principles outlined in the Declaration of Helsinki [<xref ref-type="bibr" rid="ref10">10</xref>], ensuring the highest standards of research ethics. Informed consent was obtained from all participants (or their legal guardians, where applicable) prior to enrollment. No financial compensation was provided for participation, and involvement was entirely voluntary. To ensure confidentiality, all personal identifiers, including names and medical record numbers, were replaced by the hospital&#x2019;s information system professionals with unique study codes. These codes were used for data analysis, ensuring that no real patient information is disclosed. Patient autonomy and rights were respected throughout the study, with participant well-being prioritized above scientific or societal interests.</p></sec><sec id="s2-4"><title>Data Preprocessing</title><sec id="s2-4-1"><title>Overview</title><p>To capture temporal trends associated with decompensation events, a data preprocessing pipeline was implemented based on the consecutive reports obtained from the telemonitoring system. Both the constant parameters, expiratory positive airway pressure and inspiratory positive airway pressure, and the dynamic variables from the reports that reflect treatment adherence and patient status were selected, which included continuous compliance in the current period, use, apnea-hypopnea index, and leakage. The key steps of the pipeline are described in the following sections.</p></sec><sec id="s2-4-2"><title>Windowing Strategy</title><p>Ensuring that each patient had consecutive reports with complete data was critical to capture the patterns leading up to a decompensation. However, strict continuity requirements risked significant data loss. To overcome this limitation, &#x201C;windows&#x201D; were defined spanning from 35 days before a decompensation event up to 7 days before the event date. In addition, for the daily variables, the mean of the available values for the weekdays was calculated. This allowed for the inclusion of patients even if they had some missing values. In patients with multiple decompensation events separated by at least 35 days, each event was treated as an independent window.</p></sec><sec id="s2-4-3"><title>Reference Group Selection</title><p>The reference group was comprised of patients without any emergency or hospital admission, as well as patients with decompensation events, from whom report data were selected only if both the start and end of the window were at least 35 days away from any decompensation event, even when multiple events occurred. This approach ensured that the models would learn temporal patterns predictive of imminent decompensation, rather than simply distinguishing between inherently frail patients&#x2014;who tend to have more frequent health care encounters and poorer baseline health&#x2014;and less frail patients. Frail patients often exhibit distinct patterns in ventilator use, such as higher total use, which could confound the model if not properly controlled. By controlling for these differences, the model focuses on true predictors of imminent decompensation rather than patterns related solely to baseline frailty.</p></sec></sec><sec id="s2-5"><title>Vector Preparation</title><p>Each variable was first rescaled using min-max normalization, computing each feature&#x2019;s global minimum and maximum across all reports. Next, to emphasize how recent each measurement was relative to a decompensation event, each report was multiplied by a decreasing time-decay weight. The closest report to the event received a weight of 1, while older reports were down-weighted by a constant decreasing factor, up to 0.5 for the oldest report. Finally, the dataset was balanced to ensure representation of both classes.</p></sec><sec id="s2-6"><title>Model Development and Evaluation</title><p>Different machine learning models were trained with grid search for hyperparameter tuning, ensuring that the best possible parameter configurations were identified. The models included logistic regression (LR), random forest classifier (RFC), decision tree classifier (DTC), na&#x00EF;ve Bayes (NB), k-nearest neighbors (KNN), and extra trees classifier (ETC). For each model, a predefined set of hyperparameters was exhaustively explored. For LR, the hyperparameters included the regularization strength <italic>C</italic>, ranging from 0.01 to 100, the penalty types <italic>l1</italic> and <italic>l2</italic>, the solvers <italic>lbfgs</italic>, <italic>liblinear</italic>, and <italic>saga</italic>, and maximum iterations ranging from 1000 to 1,000,000. The RFC and ETC were both tuned by varying the number of estimators between 10 and 500, adjusting the maximum depth from shallow to unrestricted (up to 30), and modifying the minimum number of samples required to split a node or form a leaf, while also exploring different splitting criteria such as <italic>gini</italic>, <italic>entropy</italic>, or <italic>log_loss</italic>. DTCs were similarly optimized by adjusting depth, split, and leaf requirements and splitting criteria to balance model complexity and generalization. KNN was tuned by varying the number of neighbors from 1 to 11, the weighting method between uniform and distance, and the algorithm among <italic>auto</italic>, <italic>ball_tree</italic>, <italic>kd_tree</italic>, and <italic>brute</italic>. Finally, for NB, the variance smoothing parameter ranged from 1&#x00B7;<inline-formula><mml:math id="ieqn1"><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>12</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> to 1&#x00B7;<inline-formula><mml:math id="ieqn2"><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>7</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>.</p><p>Given the clinical context, where minimizing false negatives is crucial, grid search was configured to prioritize maximizing recall, thus ensuring that the number of false negatives is minimized, as failing to identify a positive case is more critical than a false positive in this setting. All models were implemented using the open-source Python (version 3.11.12; Python Software Foundation) library <italic>scikit-learn</italic> [<xref ref-type="bibr" rid="ref11">11</xref>].</p><p>Additionally, two separate neural network models were developed. The first was a neural network (NN) with a depth ranging from 2 to 5 layers, selected based on performance. This model consisted of alternating fully connected layers and rectified linear unit activations, ending with a sigmoid output layer for binary classification. The second model was a recurrent neural network (RNN), composed of stacked RNN layers with tanh activation, followed by fully connected layers and rectified linear unit activations, also terminating in a sigmoid output. The optimal architecture for each model was empirically determined. Both models were trained using binary cross-entropy loss, and the limited-memory Broyden-Fletcher-Goldfarb-Shanno and Adam optimizers were evaluated and compared. The entire pipeline was implemented using the open-source Python library <italic>PyTorch</italic> [<xref ref-type="bibr" rid="ref12">12</xref>].</p><p>Models were evaluated through 10-fold cross-validation, using accuracy, precision, recall, and <italic>F</italic><sub>1</sub>-score as performance metrics. Results are reported as mean (SD) with 95% CIs.</p></sec><sec id="s2-7"><title>Model Interpretation</title><p>In this study, the Shapley Additive Explanations (SHAP) method [<xref ref-type="bibr" rid="ref13">13</xref>] was used to assess the interpretability of the predictive models developed. Once the optimal model was identified, a SHAP explainer was created. This explainer is designed to compute SHAP values, where each value indicates the contribution of a corresponding feature toward the final prediction, thus breaking down the prediction into interpretable parts. Summary plots that display the global importance of features across the entire dataset were generated. These plots rank features by their average impact on predictions and reveal the direction of their influence, making it easier to interpret how changes in feature values affect the model&#x2019;s outcomes.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Windows</title><p>The dataset resulted in a balanced sample size of 157 windows; thus, each fold holds 16 windows for testing and the remaining 141 for training.</p></sec><sec id="s3-2"><title>Evaluation Outcomes</title><p>Results show that LR with <italic>C</italic>=0.1, a maximum of 1000 iterations and the <italic>liblinear</italic> solver, achieved the highest mean recall of 0.94 (SD 0.06; 95% CI 0.90&#x2010;0.98) but exhibited a mean overall accuracy of 0.60 (SD 0.05, 95% CI 0.56&#x2010;0.64), a mean <italic>F</italic><sub>1</sub>-score of 0.71 (SD 0.03, 95% CI 0.69&#x2010;0.73), and a mean precision of 0.58 (SD 0.04, 95% CI 0.55&#x2010;0.61; <xref ref-type="table" rid="table1">Table 1</xref>). RFC, with 200 trees, a maximum depth of 5, and default splitting and leaf parameters, reached the highest mean accuracy of 0.66 (SD 0.10, 95% CI 0.59&#x2010;0.73), along with a mean recall of 0.78 (SD 0.15, 95% CI 0.67&#x2010;0.89), a mean precision of 0.66 (SD 0.13, 95% CI 0.57&#x2010;0.75), and mean <italic>F</italic><sub>1</sub>-score of 0.70 (SD 0.10, 95% CI 0.63&#x2010;0.77). The ETC, a related ensemble approach, using 50 trees with similar depth constraints, achieved a mean accuracy of 0.62 (SD 0.08, 95% CI 0.56&#x2010;0.68), mean recall of 0.81 (SD 0.12, 95% CI 0.72&#x2010;0.89), and mean <italic>F</italic><sub>1</sub>-score of 0.69 (SD 0.07, 95% CI 0.64&#x2010;0.74).</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Results of classifier performance across 10-fold cross-validation with hyperparameter settings (N=157).</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Model</td><td align="left" valign="bottom">Hyperparameters</td><td align="left" valign="bottom">Accuracy, mean (SD, 95% CI)</td><td align="left" valign="bottom">Recall, mean (SD, 95% CI)</td><td align="left" valign="bottom">Precision, mean (SD, 95% CI)</td><td align="left" valign="bottom"><italic>F</italic><sub>1</sub>-score, mean (SD, 95% CI)</td></tr></thead><tbody><tr><td align="left" valign="top">LR<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup></td><td align="justify" valign="top"><list list-type="simple"><list-item><p>C=0.1</p></list-item><list-item><p>max_iter=1000</p></list-item><list-item><p>solver= &#x2018;liblinear&#x2019;</p></list-item></list></td><td align="char" char="plusmn" valign="top">0.60 (0.05, 0.56&#x2010;0.64)</td><td align="char" char="plusmn" valign="top">0.94 (0.06, 0.90&#x2010;0.98)</td><td align="left" valign="top">0.58 (0.04, 0.55&#x2010;0.61)</td><td align="char" char="plusmn" valign="top">0.71 (0.03, 0.69&#x2010;0.73)</td></tr><tr><td align="left" valign="top">RFC<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td><td align="justify" valign="top"><list list-type="simple"><list-item><p>max_depth=5</p></list-item><list-item><p>min_samples_leaf=1</p></list-item><list-item><p>min_samples_split=2</p></list-item><list-item><p>n_estimators=200</p></list-item></list></td><td align="char" char="plusmn" valign="top">0.66 (0.10, 0.59&#x2010;0.73)</td><td align="char" char="plusmn" valign="top">0.78 (0.15, 0.67&#x2010;0.89)</td><td align="left" valign="top">0.66 (0.13, 0.57&#x2010;0.75)</td><td align="char" char="plusmn" valign="top">0.70 (0.10, 0.63&#x2010;0.77)</td></tr><tr><td align="left" valign="top">DTC<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td><td align="justify" valign="top"><list list-type="simple"><list-item><p>criterion='entropy'</p></list-item><list-item><p>max_depth=None</p></list-item><list-item><p>min_samples_leaf=1</p></list-item><list-item><p>min_samples_split=5</p></list-item><list-item><p>min_weight_fraction_leaf= 0</p></list-item></list></td><td align="char" char="plusmn" valign="top">0.57 (0.12, 0.48&#x2010;0.66)</td><td align="char" char="plusmn" valign="top">0.67 (0.17, 0.55&#x2010;0.79)</td><td align="left" valign="top">0.58 (0.09, 0.52&#x2010;0.65)</td><td align="char" char="plusmn" valign="top">0.61 (0.11, 0.53&#x2010;0.69)</td></tr><tr><td align="left" valign="top">ETC<sup><xref ref-type="table-fn" rid="table1fn4">d</xref></sup></td><td align="justify" valign="top"><list list-type="simple"><list-item><p>criterion='entropy'</p></list-item><list-item><p>max_depth=5</p></list-item><list-item><p>min_samples_leaf=1</p></list-item><list-item><p>min_samples_split=2</p></list-item><list-item><p>n_estimators=50</p></list-item></list></td><td align="char" char="plusmn" valign="top">0.62 (0.08, 0.56&#x2010;0.68)</td><td align="char" char="plusmn" valign="top">0.81 (0.12, 0.72&#x2010;0.89)</td><td align="left" valign="top">0.62 (0.09, 0.56&#x2010;0.69)</td><td align="char" char="plusmn" valign="top">0.69 (0.07, 0.64&#x2010;0.74)</td></tr><tr><td align="left" valign="top">KNN<sup><xref ref-type="table-fn" rid="table1fn5">e</xref></sup></td><td align="justify" valign="top"><list list-type="simple"><list-item><p>n_neighbors=3</p></list-item><list-item><p>weights='distance'</p></list-item></list></td><td align="char" char="plusmn" valign="top">0.60 (0.15, 0.49&#x2010;0.71)</td><td align="char" char="plusmn" valign="top">0.70 (0.20, 0.56&#x2010;0.84)</td><td align="left" valign="top">0.61 (0.13, 0.52&#x2010;0.70)</td><td align="char" char="plusmn" valign="top">0.64 (0.15, 0.53&#x2010;0.75)</td></tr><tr><td align="left" valign="top">NB<sup><xref ref-type="table-fn" rid="table1fn6">f</xref></sup></td><td align="justify" valign="top"><list list-type="simple"><list-item><p>var_smoothing=1&#x00B7;<inline-formula><mml:math id="ieqn3"><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>11</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></p></list-item></list></td><td align="char" char="plusmn" valign="top">0.57 (0.09, 0.51&#x2010;0.64)</td><td align="char" char="plusmn" valign="top">0.62 (0.13, 0.53&#x2010;0.71)</td><td align="left" valign="top">0.61 (0.14, 0.51&#x2010;0.71)</td><td align="char" char="plusmn" valign="top">0.60 (0.08, 0.54&#x2010;0.66)</td></tr><tr><td align="left" valign="top">NN<sup><xref ref-type="table-fn" rid="table1fn7">g</xref></sup></td><td align="justify" valign="top"><list list-type="simple"><list-item><p>Layers=100,50</p></list-item><list-item><p>solver=&#x2018;L-BFGS<sup><xref ref-type="table-fn" rid="table1fn9">i</xref></sup>&#x2019;</p></list-item></list></td><td align="char" char="plusmn" valign="top">0.61 (0.06, 0.57&#x2010;0.65)</td><td align="char" char="plusmn" valign="top">0.64 (0.12, 0.55&#x2010;0.73)</td><td align="left" valign="top">0.63 (0.07, 0.58&#x2010;0.68)</td><td align="char" char="plusmn" valign="top">0.63 (0.07, 0.58&#x2010;0.68)</td></tr><tr><td align="left" valign="top">RNN<sup><xref ref-type="table-fn" rid="table1fn8">h</xref></sup></td><td align="justify" valign="top"><list list-type="simple"><list-item><p>Layers=100,50,16,8,1</p></list-item><list-item><p>solver=&#x2018;Adam&#x2019;</p></list-item></list></td><td align="char" char="plusmn" valign="top">0.61 (0.11, 0.53&#x2010;0.69)</td><td align="char" char="plusmn" valign="top">0.70 (0.18, 0.57&#x2010;0.83)</td><td align="left" valign="top">0.62 (0.12, 0.53&#x2010;0.71)</td><td align="char" char="plusmn" valign="top">0.65 (0.11, 0.57&#x2010;0.73)</td></tr></tbody></table><table-wrap-foot><fn id="table1fn1"><p><sup>a</sup>LR: logistic regression.</p></fn><fn id="table1fn2"><p><sup>b</sup>RFC: random forest classifier.</p></fn><fn id="table1fn3"><p><sup>c</sup>DTC: decision tree classifier.</p></fn><fn id="table1fn4"><p><sup>d</sup>ETC: extra trees classifier.</p></fn><fn id="table1fn5"><p><sup>e</sup>KNN: K-nearest neighbors.</p></fn><fn id="table1fn6"><p><sup>f</sup>NB: na&#x00EF;ve Bayes.</p></fn><fn id="table1fn7"><p><sup>g</sup>NN: neural network.</p></fn><fn id="table1fn8"><p><sup>h</sup>RNN: recurrent neural network.</p></fn><fn id="table1fn9"><p><sup>i</sup>L-BFGS: limited-memory Broyden-Fletcher-Goldfarb-Shanno</p></fn></table-wrap-foot></table-wrap><p>The single DTC with entropy criterion and unrestricted depth reached a mean accuracy of 0.57 (SD 0.12, 95% CI 0.48&#x2010;0.66), mean recall of 0.67 (SD 0.17, 95% CI 0.55&#x2010;0.79), mean precision of 0.58 (SD 0.09, 95% CI 0.52&#x2010;0.65), and mean <italic>F</italic><sub>1</sub>-score of 0.61 (SD 0.11, 95% CI 0.53&#x2010;0.69). KNN, with three neighbors and distance weighting, produced a mean accuracy of 0.60 (SD 0.15, 95% CI 0.49&#x2010;0.71), mean recall of 0.70 (SD 0.20, 95% CI 0.56&#x2010;0.84) and mean <italic>F</italic><sub>1</sub>-score of 0.64 (SD 0.15, 95% CI 0.53&#x2010;0.75). NB, tuned with a <italic>var_smoothing</italic> parameter of 1&#x00B7;<inline-formula><mml:math id="ieqn4"><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>11</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, showed a mean accuracy of 0.57 (SD 0.09, 95% CI 0.51&#x2010;0.64) and mean <italic>F</italic><sub>1</sub>-score of 0.60 (SD 0.08, 95% CI 0.54&#x2010;0.66). The neural network with hidden layers of 100 and 50 neurons achieved a mean accuracy of 0.61 (SD 0.06, 95% CI 0.57&#x2010;0.65), mean recall of 0.64 (SD 0.12, 95% CI 0.55&#x2010;0.73), and mean <italic>F</italic><sub>1</sub>-score of 0.63 (SD 0.07, 95% CI 0.58&#x2010;0.68), while the RNN, comprising 2 <italic>simpleRNN</italic> layers of 100 and 50 units followed by dense layers, yielded comparable metrics (accuracy: mean 0.61, SD 0.11, 95% CI 0.53&#x2010;0.69; recall: mean 0.70, SD 0.18, 95% CI 0.57&#x2010;0.83; and <italic>F</italic><sub>1</sub>-score: mean 0.65, SD 0.11, 95% CI 0.57&#x2010;0.73).</p></sec><sec id="s3-3"><title>Feature Importances</title><p>As shown in <xref ref-type="fig" rid="figure1">Figure 1</xref>, the SHAP interpretation of the RFC. The labels (1) through (5) correspond to the number of weeks preceding a decompensation event: (1) indicates the week immediately before the event, (2) two weeks prior, and so on, up to (5), which represents 5 weeks before decompensation. The SHAP values highlight the importance of use patterns in the model&#x2019;s predictions. Specifically, higher patient use and continuous compliance during the week immediately prior to the event (1) appear to be strong indicators of respiratory decompensation. Lower compliance in weeks (3) and (4) also contributes to the model&#x2019;s prediction, while higher compliance in weeks (1), (2), and (5) is similarly associated with increased risk. Elevated leakage values in the period leading up to the event also emerge as relevant features influencing the model&#x2019;s output.</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Feature importances and Shapley Additive Explanation (SHAP) values from a random forest classifier (RFC) trained with a fixed train-test split (random seed=42). AHI: apnea-hypopnea index; IPAP: inspiratory positive airway pressure.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v9i1e78941_fig01.png"/></fig></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Principal Results</title><p>Although LR achieved the highest recall (mean 0.94, SD 0.06, 95% CI 0.90&#x2010;0.98), it showed lower precision (mean 0.58, SD 0.04, 95% CI 0.55&#x2010;0.61) and accuracy (mean 0.60, SD 0.05, 95% CI 0.56&#x2010;0.64), indicating a tendency to overpredict positive cases. This may be advantageous in clinical scenarios where identifying all potential positives is prioritized, but it comes at the cost of increased false positives. In contrast, the RFC, configured with 200 trees and a maximum depth of 5, provided a more balanced performance across all metrics, including the highest accuracy (mean 0.66, SD 0.10, 95% CI 0.59&#x2010;0.73) and solid values for recall (mean 0.78, SD 0.15, 95% CI 0.67&#x2010;0.89), precision (mean 0.66, SD 0.13, 95% CI 0.57&#x2010;0.75), and <italic>F</italic><sub>1</sub>-score (mean 0.70, SD 0.10, 95% CI 0.63&#x2010;0.77). This suggests that RFC may be more suitable for general-purpose prediction in this context, balancing sensitivity and specificity.</p><p>Other models such as DTC and KNN performed moderately, with KNN exhibiting high variability across folds, indicating sensitivity to the specific train-test splits. DTC and NB recorded the lowest accuracy among all models, while NB also showed the lowest <italic>F</italic><sub>1</sub>-score. This underperformance of NB suggests that its strong independence assumptions limit its ability to capture data patterns. Ensemble approaches like the ETC also yielded competitive results, reinforcing the robustness of tree-based methods. Both neural networks achieved intermediate performance; however, their capacity to learn more intricate patterns may have been limited by the relatively small sample size. Recurrent models generally require larger datasets and longer temporal sequences to effectively learn temporal dependencies. In this study, the relatively short input sequences and small cohort may have restricted the RNN&#x2019;s capacity to model temporal dynamics robustly. Larger datasets, finer-grained temporal data, and extended temporal windows could allow the exploration of more advanced sequential architectures, such as attention-based models in future applications.</p><p>SHAP analysis from the RFC indicated that increased compliance, use, and leakage in the week preceding decompensation could be meaningful predictors. Although at first glance, it may seem counterintuitive that higher compliance is associated with increased risk, this pattern could reflect increased ventilator dependence in patients whose health is deteriorating. Patients may use the device more intensively as their condition worsens, while elevated leakage could indicate improper mask fitting under higher use. Furthermore, variations in global compliance patterns over time, such as a drop in compliance during periods (3) and (4), may be indicative of behavioral changes that precede decompensation.</p><p>While SHAP does not directly assess temporal trends or causality, these insights highlight the potential clinical relevance of use trends, suggesting that both increases and fluctuations in ventilator parameters could serve as early warning signals. Nonetheless, interpretability remains a challenge: models with moderate performance may limit the robustness of conclusions, and potential confounding factors that are not captured in the dataset&#x2014;particularly the absence of detailed physiological variables&#x2014;could reduce predictive power or lead to misattributions.</p></sec><sec id="s4-2"><title>Limitations</title><p>One of the primary limitations of this study is the absence of enough physiological explanatory variables. While many such variables are inherently unavailable from HMV data, respiratory rate, although a common monitored parameter, was not available in the reports used for the analysis. The absence of broader physiological or clinical variables (eg, comorbidities and vital signs) could have limited the models&#x2019; ability to account for the full clinical picture, reducing the predictive power.</p><p>Another notable constraint is the sample size. Although the dataset comprised 482 patients, and the strategy of constructing windows aimed to maximize the sample size, extracting windows with complete necessary information remained a challenge: generally, complete daily data across all 5 consecutive week reports could not be obtained consistently. For this reason, to address data sparsity, available daily measurements were averaged, as mentioned previously in the methodology. However, this approach could compromise temporal resolution, and due to the characteristics of the missing data, data augmentation techniques were insufficient to overcome this limitation.</p><p>Finally, the study is limited by its monocentric design, as all patients were sourced from a single center, which may impact the generalizability of the findings.</p></sec><sec id="s4-3"><title>Comparison With Prior Work</title><p>Although no studies in the literature directly use HMV parameters to predict respiratory decompensation [<xref ref-type="bibr" rid="ref6">6</xref>], constructed an RF model that achieved an average accuracy of 0.69 (SD 0.10) for predicting ventilatory complications in critically ill intensive care unit patients, using invasive mechanical ventilation parameters. This performance is comparable to our model, which achieved an average accuracy of 0.66 (SD 0.10, 95% CI 0.59&#x2010;0.73) using RFC models.</p></sec><sec id="s4-4"><title>Conclusions</title><p>This study introduced a novel framework for predicting respiratory decompensation using only HMV data. Ensemble tree models, particularly a random forest, achieved the best balance of metrics (accuracy: mean 0.66, SD 0.10, 95% CI 0.59&#x2010;0.73; recall: mean 0.78, SD 0.15, 95% CI 0.67&#x2010;0.89), while SHAP analysis revealed that higher use, leakage, and compliance 7 days before, that is, period (1), could be an indicator of respiratory decompensation.</p><p>Despite the promising nature of these findings, overall performance remained moderate, reflecting the limitations imposed by incomplete longitudinal daily records and the lack of key physiological measurements. Combined with the relatively small sample size, these constraints position the present results as exploratory rather than ready for clinical application. Nevertheless, the findings suggest the potential of using NIMV data for early decompensation identification. Future research should focus on incorporating more clinical and contextual features and validating larger, multicenter cohorts to improve predictive power. With such advancements, this approach could translate into a clinically useful, noninvasive decision support tool for the proactive management of patients on home ventilation.</p></sec></sec></body><back><ack><p>The authors acknowledge the use of generative artificial intelligence tools (ChatGPT-4.5) for assistance in proofreading and grammar correction. All tasks were performed under full human supervision. All content has been reviewed and validated by the authors to ensure accuracy and integrity. Responsibility for the final manuscript lies entirely with the authors. Generative artificial intelligence tools are not listed as authors and do not bear responsibility for the final outcomes.</p></ack><notes><sec><title>Funding</title><p>No external financial support or grants were received from any public, commercial, or not-for-profit entities for the research, authorship, or publication of this article.</p></sec></notes><fn-group><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">NB</term><def><p>na&#x00EF;ve Bayes</p></def></def-item><def-item><term id="abb2">ETC</term><def><p>extra trees classifier</p></def></def-item><def-item><term id="abb3">DTC</term><def><p>decision tree classifier</p></def></def-item><def-item><term id="abb4">HMV</term><def><p>home mechanical ventilation</p></def></def-item><def-item><term id="abb5">HUGTiP</term><def><p>Germans Trias i Pujol Hospital</p></def></def-item><def-item><term id="abb6">IRCU</term><def><p>intermediate respiratory care unit</p></def></def-item><def-item><term id="abb7">KNN</term><def><p>k-nearest neighbor</p></def></def-item><def-item><term id="abb8">LR</term><def><p>logistic regression</p></def></def-item><def-item><term id="abb9">NIMV</term><def><p>noninvasive mechanical ventilation</p></def></def-item><def-item><term id="abb10">NN</term><def><p>neural network</p></def></def-item><def-item><term id="abb11">RFC</term><def><p>random forest classifier</p></def></def-item><def-item><term id="abb12">RNN</term><def><p>recurrent neural network</p></def></def-item><def-item><term id="abb13">SHAP</term><def><p>Shapley Additive Explanations</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="book"><person-group person-group-type="author"><collab>Department of Economic and Social Affairs, Population Division</collab></person-group><source>World Population Prospects: The 2006 Revision Volume I: Comprehensive Tables</source><year>2007</year><access-date>2025-12-08</access-date><publisher-name>United Nations</publisher-name><comment><ext-link ext-link-type="uri" xlink:href="https://www.un.org/development/desa/pd/sites/www.un.org.development.desa.pd/files/files/documents/2020/Jan/un_2006_world_population_prospects-2006_revision_volume-i.pdf">https://www.un.org/development/desa/pd/sites/www.un.org.development.desa.pd/files/files/documents/2020/Jan/un_2006_world_population_prospects-2006_revision_volume-i.pdf</ext-link></comment><pub-id pub-id-type="other">978-92-1-151429-2</pub-id></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>Needham</surname><given-names>DM</given-names> </name><name name-style="western"><surname>Bronskill</surname><given-names>SE</given-names> </name><name name-style="western"><surname>Calinawan</surname><given-names>JR</given-names> </name><name name-style="western"><surname>Sibbald</surname><given-names>WJ</given-names> </name><name name-style="western"><surname>Pronovost</surname><given-names>PJ</given-names> </name><name name-style="western"><surname>Laupacis</surname><given-names>A</given-names> </name></person-group><article-title>Projected incidence of mechanical ventilation in Ontario to 2026: Preparing for the aging baby boomers</article-title><source>Crit Care Med</source><year>2005</year><month>03</month><volume>33</volume><issue>3</issue><fpage>574</fpage><lpage>579</lpage><pub-id pub-id-type="doi">10.1097/01.ccm.0000155992.21174.31</pub-id><pub-id pub-id-type="medline">15753749</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>Torres</surname><given-names>A</given-names> </name><name name-style="western"><surname>Ferrer</surname><given-names>M</given-names> </name><name name-style="western"><surname>Blanquer</surname><given-names>JB</given-names> </name><etal/></person-group><article-title>Unidades de cuidados respiratorios intermedios. Definici&#x00F3;n y caracter&#x00ED;sticas [Article in Spanish]</article-title><source>Archivos de Bronconeumolog&#x00ED;a</source><year>2005</year><month>09</month><volume>41</volume><issue>9</issue><fpage>505</fpage><lpage>512</lpage><pub-id pub-id-type="doi">10.1157/13078653</pub-id><pub-id pub-id-type="medline">16194514</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>Gonzalez-Bermejo</surname><given-names>J</given-names> </name><name name-style="western"><surname>Perrin</surname><given-names>C</given-names> </name><name name-style="western"><surname>Janssens</surname><given-names>JP</given-names> </name><etal/></person-group><article-title>Proposal for a systematic analysis of polygraphy or polysomnography for identifying and scoring abnormal events occurring during non-invasive ventilation</article-title><source>Thorax</source><year>2012</year><month>06</month><volume>67</volume><issue>6</issue><fpage>546</fpage><lpage>552</lpage><pub-id pub-id-type="doi">10.1136/thx.2010.142653</pub-id><pub-id pub-id-type="medline">20971982</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>Janssens</surname><given-names>JP</given-names> </name><name name-style="western"><surname>Borel</surname><given-names>JC</given-names> </name><name name-style="western"><surname>P&#x00E9;pin</surname><given-names>JL</given-names> </name><name name-style="western"><surname>Group</surname><given-names>S</given-names> </name></person-group><article-title>Nocturnal monitoring of home non-invasive ventilation: the contribution of simple tools such as pulse oximetry, capnography, built-in ventilator software and autonomic markers of sleep fragmentation</article-title><source>Thorax</source><year>2011</year><month>05</month><volume>66</volume><issue>5</issue><fpage>438</fpage><lpage>445</lpage><pub-id pub-id-type="doi">10.1136/thx.2010.139782</pub-id><pub-id pub-id-type="medline">20971980</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>Yun</surname><given-names>S</given-names> </name><name name-style="western"><surname>Com&#x00ED;n-Colet</surname><given-names>J</given-names> </name><name name-style="western"><surname>Calero-Molina</surname><given-names>E</given-names> </name><etal/></person-group><article-title>Evaluation of mobile health technology combining telemonitoring and teleintervention versus usual care in vulnerable-phase heart failure management (HERMeS): a multicentre, randomised controlled trial</article-title><source>Lancet Digit Health</source><year>2025</year><month>05</month><volume>7</volume><issue>5</issue><fpage>100866</fpage><pub-id pub-id-type="doi">10.1016/j.landig.2025.02.006</pub-id><pub-id pub-id-type="medline">40374486</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>Rabec</surname><given-names>C</given-names> </name><name name-style="western"><surname>Rodenstein</surname><given-names>D</given-names> </name><name name-style="western"><surname>Leger</surname><given-names>P</given-names> </name><etal/></person-group><article-title>Ventilator modes and settings during non-invasive ventilation: effects on respiratory events and implications for their identification</article-title><source>Thorax</source><year>2011</year><month>02</month><volume>66</volume><issue>2</issue><fpage>170</fpage><lpage>178</lpage><pub-id pub-id-type="doi">10.1136/thx.2010.142661</pub-id><pub-id pub-id-type="medline">20947891</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>Duiverman</surname><given-names>ML</given-names> </name></person-group><article-title>&#x201C;Tricks and tips for home mechanical ventilation&#x201D; home mechanical ventilation: set-up and monitoring protocols</article-title><source>Pulmonology</source><year>2021</year><volume>27</volume><issue>2</issue><fpage>144</fpage><lpage>150</lpage><pub-id pub-id-type="doi">10.1016/j.pulmoe.2020.08.002</pub-id><pub-id pub-id-type="medline">32912752</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>Tan</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Young</surname><given-names>M</given-names> </name><name name-style="western"><surname>Girish</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Predicting respiratory decompensation in mechanically ventilated adult ICU patients</article-title><source>Front Physiol</source><year>2023</year><volume>14</volume><fpage>1125991</fpage><pub-id pub-id-type="doi">10.3389/fphys.2023.1125991</pub-id><pub-id pub-id-type="medline">37123253</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><collab>World Medical Association</collab></person-group><article-title>World Medical Association Declaration of Helsinki: ethical principles for medical research involving human subjects</article-title><source>JAMA</source><year>2013</year><month>11</month><day>27</day><volume>310</volume><issue>20</issue><fpage>2191</fpage><lpage>2194</lpage><pub-id pub-id-type="doi">10.1001/jama.2013.281053</pub-id><pub-id pub-id-type="medline">24141714</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>Pedregosa</surname><given-names>F</given-names> </name><name name-style="western"><surname>Varoquaux</surname><given-names>G</given-names> </name><name name-style="western"><surname>Gramfort</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Scikit-learn: machine learning in Python</article-title><source>J Mach Learn Res</source><year>2011</year><volume>12</volume><issue>85</issue><fpage>2825</fpage><lpage>2830</lpage><pub-id pub-id-type="doi">10.5555/1953048.2078195</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Paszke</surname><given-names>A</given-names> </name><name name-style="western"><surname>Gross</surname><given-names>S</given-names> </name><name name-style="western"><surname>Massa</surname><given-names>F</given-names> </name><etal/></person-group><article-title>PyTorch: an imperative style, high-performance deep learning library</article-title><access-date>2025-12-08</access-date><conf-name>Advances in Neural Information Processing Systems 32</conf-name><conf-date>Dec 8-14, 2019</conf-date><comment><ext-link ext-link-type="uri" xlink:href="http://papers.neurips.cc/paper/9015-pytorch-an-imperative-style-high-performance-deep-learning-library.pdf">http://papers.neurips.cc/paper/9015-pytorch-an-imperative-style-high-performance-deep-learning-library.pdf</ext-link></comment></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Lundberg</surname><given-names>SM</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>SI</given-names> </name></person-group><person-group person-group-type="editor"><name name-style="western"><surname>Guyon</surname><given-names>I</given-names> </name><name name-style="western"><surname>Luxburg</surname><given-names>U</given-names> </name><name name-style="western"><surname>Bengio</surname><given-names>S</given-names> </name><name name-style="western"><surname>Wallach</surname><given-names>H</given-names> </name><name name-style="western"><surname>Fergus</surname><given-names>R</given-names> </name><name name-style="western"><surname>Vishwanathan</surname><given-names>S</given-names> </name><name name-style="western"><surname>Garnett</surname><given-names>R</given-names> </name></person-group><article-title>A unified approach to interpreting model predictions</article-title><access-date>2025-12-08</access-date><conf-name>31st Conference on Neural Information Processing Systems (NIPS 2017)</conf-name><conf-date>Dec 4-9, 2017</conf-date><comment><ext-link ext-link-type="uri" xlink:href="https://proceedings.neurips.cc/paper_files/paper/2017/file/8a20a8621978632d76c43dfd28b67767-Paper.pdf">https://proceedings.neurips.cc/paper_files/paper/2017/file/8a20a8621978632d76c43dfd28b67767-Paper.pdf</ext-link></comment></nlm-citation></ref></ref-list></back></article>