Skip to main content
Neurology logoLink to Neurology
. 2024 Sep 5;103(7):e209861. doi: 10.1212/WNL.0000000000209861

Common Critiques and Recommendations for Studies in Neurology Using Machine Learning Methods

Jaime L Speiser 1,✉, Wesley T Kerr 1, Andreas Ziegler 1
PMCID: PMC11379123  PMID: 39236270

Abstract

Machine learning (ML) methods are becoming more prevalent in the neurology literature as alternatives to traditional statistical methods to address challenges in the analysis of modern data sets. Despite the increase in the popularity of ML methods in neurology studies, some authors do not fully address all items recommended in reporting guidelines. The authors of this Research Methods article are members of the Neurology® editorial board and have reviewed many studies using ML methods. In their review reports, several critiques often appear, which could be avoided if guidance were available. In this article, we detail common critiques found in ML research studies and make recommendations for how to avoid them. The first critique involves misalignment of the study goals and the analysis conducted. The second critique focuses on ML terminology being appropriately used. Critiques 3–6 are related to the study design: justifying sample sizes and the suitability of the data set for the study goals, describing the ML analysis pipeline sufficiently, quantifying the amount of missing data and providing information about missing data handling, and including uncertainty estimates for key metrics. The seventh critique focuses on fairly describing both strengths and limitations of the ML study, including the analysis methodology and results. We provide examples in neurology for each critique and guidance on how to avoid the critique. Overall, we recommend that authors use ML-specific checklists developed by research consortia for designing and reporting studies using ML. We also recommend that authors involve both a statistician and an ML expert in work that uses ML. Although our list of critiques is not exhaustive, our recommendations should help improve the quality and rigor of ML studies. ML has great potential to revolutionize neurology, but investigators need to conduct and report the results in a way that allows readers to fully evaluate the benefits and limitations of ML approaches.

Introduction

Medicine has changed from a data-sparse to data-rich science, where data are abundant to address unanswered questions in neurology. For example, neurology research may use complex data sets from large observational surveillance studies, electronic health records, or imaging modalities. In parallel, computational power has substantially increased, and many powerful machine learning (ML) methods have been developed, which may revolutionize both knowledge and clinical care in neurology. ML does not replace traditional statistical data analysis. Instead, ML adds alternative analysis methods for different questions that may address the challenges of modern data sets. ML is focused on using algorithms to describe patterns in data, and methods are typically categorized as supervised, that is, when there is an outcome variable; unsupervised, that is, analyzing patterns in data without a specific outcome variable; and reinforcement learning, that is, learning tasks and skills from a set of rules. In neurology, supervised ML analyses are common and may include predicting outcomes using methods such as random forest or artificial neural networks.

While statistics is often concerned with estimating population parameters by statistical inference, the emphasis of ML is typically the prediction of an outcome on the individual level. This focus on individual-level prediction leads to the development of practical tools. Model interpretability may thus be a secondary goal of explainable ML.1 For example, efficacy and safety of a new intervention is investigated in randomized controlled trials (RCTs) with classical statistics to evaluate a treatment on the population level. By contrast, a ML tool trained on the same RCT data could predict which individual patients would benefit from the new treatment. In addition to response prediction, ML can use high-throughput omics,2 imaging,3 and other technologies to detect the presence of a disease or predict disease progression by leveraging complex structural patterns in data. To accomplish this task, ML methods aim to describe patterns from training data and then model performance is evaluated with validation.

The design, analysis, and reporting of interventional and diagnostic studies has become standard through recommendations.4 However, standards for studies using ML methods have not been universally adopted to date, although initiatives such as STRATOS5 or TRIPOD-AI6 aim to provide guidance in the design, analysis, and reporting of observational studies and clinical prediction models. In parallel, the prevalence of studies using ML methods in Neurology journals has significantly increased over the past few years. A keyword search of “machine learning” on the journal's website resulted in over 500 studies, with more than 200 of them published in 2019 through 2024. The authors of this Research Methods article are members of the Neurology editorial board and have reviewed many studies using ML methods. In their review reports, several critiques often appear, which could be avoided if guidance were available.

In this article, we thus discuss common critiques that we have observed for studies that use ML, and we provide guidance on how to avoid or address the critiques. Throughout this article, we give examples that we have seen in neurology. We note that there is recent interest in artificial intelligence (AI) methods for studies in neurology. The critiques here likely apply to AI, but there are additional complex considerations unique to AI. We will focus on ML methods that have been more commonly used and established in the scientific community. We conclude by summarizing the critiques and give overall recommendations that facilitate rigorous and reproducible studies using ML.

Common Critiques, Examples, and Recommendations

In this section, we discuss common critiques of studies using ML analyses, give examples related to applications in neurology, and provide recommendations for how to avoid or address the critiques.

Topic 1: Study Goals and the Analysis Conducted Need to Be Aligned

Critique

The stated goals of the research study may not be consistent with the analysis conducted. Typically, ML analyses are focused on data-driven predictive analyses for individual patients or data points, whereas traditional approaches are focused on statistical inference of a hypothesis about a population of interest.7 In other words, ML analyses are usually focused on predicting clinical outcomes, whereas traditional approaches are focused on testing associations (e.g., assessing whether a treatment works). However, we often see a misalignment between the original study goals and the analysis performed. Occasionally, ML was used to increase the perceived novelty or innovation of the study, but the original study goal was not addressed.

Example

Consider an RCT of a novel treatment of hemorrhagic stroke aimed at evaluating the efficacy and safety of an intervention at the population level using the primary outcome of improvement in the modified Rankin Scale (mRS). A statistical inference approach could be used to test whether the intervention leads to improved outcomes based on mRS in the intervention group compared with the control group. A ML approach could be used to develop a prediction model for mRS based on pretreatment factors and the assigned treatment. While the ML approach focused on mRS prediction could be investigated to see whether the assigned treatment was predictive of improved outcomes, the primary goal of the ML approach was mRS prediction, and the interpretation of the underlying predictors can be challenging, such as variable importance in a neural network. In this example, a population-level statistical inference approach is preferred because the goal was to determine the efficacy of the treatment, and classical regression models provide the best estimates in this scenario.8

Recommendation

As a general principle, the analysis methods should match the goals of the research. Statistical inference approaches should be used when the goal of the study is to formally test population-level hypotheses. By contrast, ML approaches may be considered when the goal of the study is to predict outcomes or generate data-driven hypotheses. Simplicity in the methods of a study and analysis of data should be prioritized. Based on the principle of parsimony, if simple methods work as well as more complex methods such as ML, then the simpler methods are preferable. ML should not be used solely to increase novelty or innovation because the complexity and reduced interpretability of the ML methodology can obscure the original study goals. We recommend that authors clearly describe why ML uniquely aligns with the study goals and is preferable to other approaches.

Topic 2: ML Terminology Is Appropriately Used

Critique

ML terminology is often incorrectly used when study methods or results are described.9 Different terminology is used for statistical and ML methods, although sometimes terms are synonymous while sometimes they are not.

Example

The terms “statistical significance,” “variable importance,” and “conditional predictive impact” are not the same, although they measure similar concepts. Statistical significance relates to statistical hypothesis testing in an inferential setting. By contrast, variable importance relates to the relative importance of variables in ML models measured by criteria such as decision tree depth, impact on performance by permuting variable values, or contribution of variables to predicting outcome. Although permutation testing or other approaches can be used to demonstrate that the measured variable importance was more extreme than in >95% of null data sets, the interpretation of this is not that there is a significant association of the variable with the outcome. Conditional predictive impact estimates the impact of a variable or a set of variables on an outcome, given the other variables included in the model. For example, volumetric pixels outside the brain in a magnetic resonance imaging study may be “important” to an ML model because they control for artifacts, such as field inhomogeneity. In fact, variable importance showed that motion artifact was a superior predictor than blood oxygen level–dependent modulations to identify autism spectrum disorders and attention deficit hyperactivity disorder.10

Recommendation

Appropriate terminology for the paradigm in the study should be used, whether statistical ML methods are used. Terms that are not synonymous should not be used interchangeably. Including a ML expert in studies can help ensure correct terminology is used. In general, all terms should be explained such that the study has clearly described aims, analysis, results, interpretations, and conclusions.

Topic 3: Sample Size of the Analysis Data Set Is Suitable and Justified to Address the Study Goals

Critique

Often, the sample size is criticized as being not justified or too small or the data composition is inappropriate. Failure to include sample size justification is common in ML studies, and this may lead to major issues during both model development and model validation. Using an appropriate data set for the goals of the study is essential for medical research, in general, but it is particularly important for studies using ML. ML algorithms are data-hungry and thus require large amounts of training data to perform well. Moreover, many parameters need to be optimized during the development of an ML model, and approaches such as cross-validation, bootstrapping, or subsampling may be used for this purpose.11-13 Under the principle of “garbage in leads to garbage out,” if a model is trained based on biased and unreliable data, then the conclusions will also be biased and unreliable.14,15

Example

One study reviewed 69 studies using ML approaches identifying attention deficit hyperactivity disorder and identified that classification accuracies were inflated by methodological errors, particularly in data sets with small sample sizes.16 Lack of an independent test data set for validation was noted in 13% of the studies.

Recommendation

Researchers should specifically evaluate the appropriateness of the size and representativeness of their data set to be clear and transparent about potential limitations. Formal power calculations for ML analyses can be challenging because of complex relationships between sample size of the training data, validation data set, complexity of the ML model, and number of variables included. There are various emerging and traditional methods to address these challenges. At minimum, the size of the validation data set must be large enough to observe a meaningful improvement upon chance performance.17 If expected predictive performance can be hypothesized based on previous studies, researchers could use sample size calculations18 to determine whether a data set is of sufficiently large size to answer the question of interest. When expected performance is unclear based on prior knowledge, a rule of thumb can be used such that there should be 10 events per predictor included in the model. However, this may not be feasible for high-dimensional data sets containing hundreds or thousands of predictors.19

To evaluate the performance of the developed ML model, while considering sample size, requires special attention. If the same data set is used for model development and model testing, performance estimates are generally biased and model performance is overestimated.16 An alternative is to split the original data into a training and test data set. However, there are several disadvantages of such an approach as discussed as a bias-variance tradeoff.20 A large training set maximizes the ability to train the algorithm but, when data are split using cross-validation or other techniques, a large training set can limit the size of the validation set to estimate performance on “unseen” data reliably. In addition, any splits should respect the structural organization of the data (e.g., multiple examples from the same person or site). Before advocating for tools to be adopted, the robustness of the performance of an ML model must be best evaluated using prospective studies, external validation studies, or formal randomized clinical trials.21,22

In addition to the sample size, researchers should evaluate the data set for bias because ML algorithms can exacerbate biases present in data based on characteristics such as ethnicity, sex, age, and social determinants of health.23 The data should be assessed by evaluating the distribution of variables, screening for outliers, and inspecting example data points with a panel of domain area and quantitative experts. Only relevant predictors and outcomes should be used in modeling, and researchers should specifically evaluate if predictions differ based on protected characteristics.24 ML is not a magic fix for small data sets, data sets with many more predictors than observations, messy data, incomplete data, and data that simply do not have strong associations. Choosing an appropriate data set for a study is crucial for studies involving ML, and the strengths and limitations of data sets should be carefully considered and described.

Topic 4: ML Analysis Pipeline Is Appropriate and Fully Described

Critique

The analysis pipeline often is not appropriate or sufficiently described. Because there are many study-specific aspects of ML analysis, a lot of details are necessary so that other researchers understand the exact methods used and the validation approach to the study. Some details for ML studies that are often omitted include data processing; parameter tuning; missing data handling (see below); deficiency time25; and approaches to internal, temporal, or external model validation.21 Researchers sometimes fail to clearly define how the inputs and outputs of ML models were measured.24 Furthermore, ML models may overfit the data, meaning that they too closely reflect the data used to develop the model, and they may thus fail when the model is applied to unseen data from a different population, even after calibration. Many studies mistakenly do not include methods to prevent or address overfitting.

Example

Several risk prediction models have been developed for intracranial hemorrhage in patients with acute ischemic stroke receiving intravenous alteplase treatment, which were systematically reviewed.26 The authors included 13 studies and evaluated the models using the Prediction Model Risk of Bias Assessment Tool.27 Twelve articles used logistic regression for model development, and 1 article used ML methods. The risk of bias was considered high in all 13 studies because of model-building considerations.26

Recommendation

Authors should include all the relevant information needed to replicate their study. Specifically, researchers should explicitly ensure that data used for validation does not contribute to any aspect of model training including, but not limited to, variable selection, data cleaning, missing data imputation, and outlier detection.16 One helpful way to describe the analysis pipeline is to include a figure to visualize the flow of data through the analysis and detail exactly what inputs and outputs are being produced (e.g., Figure 1). When possible, we recommend that authors make their code and data publicly available in a repository, such as GitHub or Mendeley Data. Including a figure illustrating the analysis pipeline and making codes publicly available facilitates replication and promotes transparency in scientific research by allowing others to verify details of the analysis described in the study, but it is not a replacement for an adequate description in the text of the study. Several guidelines are available detailing how ML predictive models should be developed and reported.6,28,29

Figure 1. Example Analysis Pipeline for ML Studies.

Figure 1

Details about inclusion/exclusion criteria, data acquisition and splitting, model development with training data, and internal and external validation are provided in a logical flow. The output of the ML analysis, internal validation, and external validation are explicitly described. ML = machine learning.

Topic 5: Missing Data Are Quantified and Methods for Handling Missing Data Are Properly Used

Critique

Missing data are ignored, not mentioned, or improperly handled. The quantification of missing data by outcomes and predictors is often omitted from studies, but it is vital for determining potential biases in the analysis of data used in the study. In addition, missing data handling is an essential yet often unspecified detail in the statistical analysis section of studies. Some common approaches to missing data include complete case analysis (only including observations with complete, nonmissing data in all variables) and imputation (filling in missing values).30 Consideration of the missing data pattern, which describes the assumptions about the nature of missing data, including missing completely at random, missing at random, and missing not at random, is often neglected.31 Details about imputation are often omitted, including the imputation method, variables used in the imputation model, and whether single or multiple imputation was used.32

Example

A systematic review of 152 studies using ML found that one-third of all articles did not report on missing data at all.33 In approximately another third of the articles, no information was given on the extent of missing data. The most common approach for handling missing data was complete case analysis (one-third of the studies).33 In fact, if data were not missing completely at random, then deleting subjects with missing data may lead to substantially biased estimates, and the bias may increase with the proportion of missing data. One example of such bias involved a study of cognitive testing using differential item functioning methods.34 Only approximately 10% of the studies included in the systematic review used multiple imputation or other mechanisms that directly address missing data during model development, validation, or implementation.33

Recommendation

When researchers describe their outcomes and predictors in a table (e.g., Table 1) of a study, they should quantify missing data in each variable for any reason, including insufficient data quality.25 Authors need to describe how missing values were handled in the analyses and describe assumptions about the missing data pattern. The deletion of cases with missing or poor-quality data in relevant variables should be justified when used. Researchers should provide a discussion of the impact of the amount of missing data and the methods used to handle missing data, with particular emphasis on how missing data may have introduced bias. When authors publish ML models, they should follow the existing reporting guidelines, specifically STRATOS5 or TRIPOD-AI.6

Table 1.

Summary of Common Critiques and Recommendations

Summary Recommendations
Topic 1: Study goals and the analysis conducted need to be aligned • ML models are more complex than simple ones
• ML may seem more “novel,” but simplicity is often more important
• Use ML for individual-level prediction and when complexity is okay
• Use standard methods for population-level statistical inference and when simplicity is preferable
• Ensure that the goals and study aims are consistent with the analysis conducted
Topic 2: ML terminology is appropriately used • ML terminology is often used incorrectly
• A common example is the terms: “statistical significance,” “variable importance,” and “conditional predictive impact”
• Terms should be used appropriately within the context of ML and traditional methods
• Terms should be explained so that the study has clearly defined aims, analysis, results, interpretations, and conclusions
Topic 3: Sample size of the analysis data set is suitable and justified to address the study goals • ML is not a magic fix for a small or messy data set
• Garbage in, garbage out principle
• Justify the sample size using formal calculations or events per variables included
• Evaluate the data for bias, variance, and quality issues
• Consider strengths and weaknesses of data sets used in ML analyses
Topic 4: ML analysis pipeline is appropriate and fully described • Details about ML modeling are often inappropriate or underspecified, including data processing, parameter tuning, model validation, missing data handling • Describe details fully (Supplemental Methods are okay)
• Include a figure displaying the analysis pipeline
• Make codes and data publicly available when possible. Even when data are protected, codes without data may be publicly shared
Topic 5: Missing data are quantified and methods for handling missing data are properly used • Missing data are often ignored, not mentioned, or handled improperly
• Missing data patterns are not considered
• Complete case analysis vs imputation
• Quantify amount of missing data
• Clearly describe how missing data were handled in the analysis and validation
• Describe how missing data affects bias of results
Topic 6: Uncertainty measures are included for key performance metrics • Measures of uncertainty are needed to make meaningful comparisons, but many ML methods do not automatically provide these metrics • Present confidence intervals, variance, or standard deviation estimates for key results
• Cross-validation, permutation methods, and bootstrapping may be used to obtain uncertainty estimates
Topic 7: Study discussion includes a fair assessment of strengths and limitations of the study • Papers with ML often contain “spin” or “hype,” intentional or unintentional reporting that inaccurately represents study methods or findings
• Examples of “spin” or “hype” include inaccurate reporting, misrepresentation of study findings, overstating strengths, and understating weaknesses
• Consider bias, generalizability, interpretability, transparency/reproducibility, and potential for clinical utility/impact
• Use the REAL ML guide: recognizing, exploring, and articulating limitations of machine learning research
• Use the SPIN-PM to evaluate spin
Overall recommendations
• Include a statistician and ML expert in the study
• Use an appropriate article writing checklist that includes ML-specific guidance

Abbreviation: ML = machine learning.

Topic 6: Uncertainty Measures Are Included for Key Performance Metrics

Critique

Studies using ML methods often omit measures of variability or uncertainty around key performance statistics of models. Although this is not inherently a problem with ML, we often see that studies that use ML omit key statistical features, specifically uncertainty. One reason is that many ML software packages do not provide uncertainty metrics as default output. This may be because some ML metrics have complex distributions, such as variable importance measures. It is important to include measures of uncertainty around key performance metrics because this facilitates the comparison of different models and allows for the identification of optimal models based on a range of plausible values of performance.35

Example

A systematic review on ML-based prediction models found that approximately 75% of the studies did not report precision estimates in the abstract.36 To illustrate the importance of uncertainty metrics in ML studies, we provide a fictitious example. Consider a comparison of multiple ML models within a study aiming to identify whether an adult has Alzheimer disease using neuroimaging data. The primary performance metric used might be the area under the receiver-operating curve (AUC). Simply reporting the AUC estimates from a test or validation set, such as 0.70 for logistic regression and 0.80 for a neural network, is insufficient to identify the “best” model because we do not know whether the models perform significantly differently. Suppose the 95% CI for the AUC from the logistic regression is 0.55–0.85. Then, we can conclude that the neural network model is not different from the logistic regression model because the AUC estimate of 0.80 is within the CI for the support vector machine; however, if the estimated 95% CI for logistic regression was 0.67–0.73 and the neural network was 0.77–0.83, then we could conclude that the neural network is better than logistic regression.

Recommendation

Measures of variability such as variance, standard deviations, or confidence intervals must be presented to make appropriate comparisons. In the absence of closed form equations for these uncertainty estimates, techniques such as permutation testing or bootstrapping may be used to obtain empirical distributions from which to attain uncertainty estimates for the key performance metrics.

Topic 7: Study Discussion Includes a Fair Assessment of Strengths and Limitations of the Study

Critique

Inaccurate reporting, misinterpretation of study findings, overstating strengths, and understating weaknesses may have consequences for public trust in scientific findings.36 In fact, authors may “spin” or “hype” their study findings, defined as intentional or unintentional reporting, that fails to reflect the nature and range of findings faithfully, thereby affecting the impression the results produce in readers.37 Spin may appear in the methods section of a study when justifying models used and the discussion of model results. A common error we see in reviewed articles is that authors make claims about the clinical utility of an ML prediction model based on broad discrimination metrics such as AUC.

Example

A systematic review showed that ML models were recommended to be used in daily practice in 21 abstracts.36 However, 20 of these 21 studies lacked any external validation of the developed models, and reporting guidelines were cited in 13 of 152 (8.6%) studies.36 Based on these and other findings, they highlight the importance of following reporting guidelines and a systematic evaluation to identify “spin” in the results. Without prospective or external validation, including analyses focused on clinical benefit, it is an overstatement to recommend ML model use in practice. This is a classic example of “spin” often seen in studies using ML.

Recommendation

Authors should recognize the discrepancy between the hype around ML and the reality by highlighting both the strengths and limitations of their approach without spin or marketing.38-44 We recommend following the REAL ML recommendation45 of “recognizing, exploring, and articulating limitations of machine learning research.” SPIN-PM may also be used to critically evaluate the presence of spin.46 Before advocating that an ML tool be applied within a clinical setting, there should be a direct demonstration that the ML tool improves upon the existing standard of care when implemented.47 Clinical utility may be assessed using the Analytic validity, Clinical validity, Clinical utility, and Ethical, legal and social implications framework developed by the Centers for Disease Control and Prevention.48 Decision curve analysis and net benefit are metrics that may address practical aspects regarding prediction model use.49-51 Metrics such as positive and negative predictive value provide concrete estimates of how ML will perform in practice, whereas metrics such as the AUC describe overall performance fit irrespective of the choice of decision threshold. Before application, specific choices of decision threshold must be made and evaluated (e.g., >60% likelihood of subsequent unprovoked seizures is sufficient to diagnose epilepsy). Studies focused on developing prediction models using ML should include a statement about the next steps in the research, which often includes external validation and evaluation of model impact in real-world settings.24 All studies should discuss potential biases, generalizability, interpretability, transparency, reproducibility, clinical validity, and clinical utility.52

Additional Critiques

Although we present 7 critiques common in ML research, our list is not exhaustive. Some examples of other critiques may include analyses with insufficient data quality; issues with cross-validation, bootstrapping, or internal/external validation; feature or model selection, failure to include explainable aspects of ML models (e.g., importance measures); lack of description of the ML model structure (e.g., number of nodes and layers in a neural network); and omitting important performance measures (e.g., calibration). In addition, guidelines may change over time as new methods are developed for ML analysis, and this list may need updating in the future.

Overall Recommendations for Studies Using ML

In this article, we detailed common critiques found in ML research studies and made recommendations on how to avoid them. We summarize critiques and recommendations in Table 1. Figure 2 graphically displays the topics we presented in this article and how they relate to the research process, from idea formation and study design over analysis to reporting. We also provide suggested resources for learning more about ML in general and the specific topics discussed in the article (Table 2).

Figure 2. Critiques and Recommendations Related to Conducting ML Research.

Figure 2

Topics for critiques and recommendations presented in the article as related to the process of conducting research, including idea formation and study design, analysis, and reporting. Some of the topics span all areas (i.e., topics 2 and 3), whereas many are related to analysis and reporting (i.e., topics 4–7). Topic 1 relates mainly to idea formation and analysis because these should be aligned. ML = machine learning.

Table 2.

Resources for Learning About ML and the Topics Presented in the Article

Content Resources
ML in general (topics 1, 2, 4, 7) • James, Witten, Hastie, and Tibshirani. An Introduction to Statistical Learning (statlearning.com/)
• Hadley Wickham. R for Data Science (r4ds.had.co.nz/)
• Malley, Malley and Pajevic. Statistical Learning for Biomedical Data (doi.org/10.1093/aje/kws582)
• Kubat. An Introduction to Machine Learning (link.springer.com/book/10.1007/978-3-030-81935-4)
• Nagy, Radakovich, and Nazha. Machine Learning in Oncology: What Should Clinicians Know? (doi.org/10.1200/CCI.20.00049)
• Lo Vercio et al. Supervised machine learning tools: a tutorial for clinicians (doi.org/10.1088/1741-2552/abbff2)
• Poldrack, Huckins, and Varoquaux. Establishment of Best Practices for Evidence for Prediction: A Review (doi.org/10.1001/jamapsychiatry.2019.3671)
Sample size justification (topic 3) • Chow, Shao, Want, and Lokhnygina. Same Size Calculations in Clinical Research (doi.org/10.1201/9781315183084)
Missing data (topic 5) • Molenberghs and Kenward. Missing Data in Clinical Studies (onlinelibrary.wiley.com/doi/book/10.1002/9780470510445)
• Stern et al. Multiple imputation for missing data in epidemiological and clinical research: potential and pitfalls (doi.org/10.1136/bmj.b2393)
Reporting guidelines • TRIPOD6
• CONSORT54
• SPIRIT55

Abbreviation: ML = machine learning.

In addition to those in Table 1, we offer 2 general recommendations. The first recommendation is to include both a biostatistician and an ML expert on ML research studies. Sometimes, this can be the same person. Some biostatisticians can conduct ML analysis and some ML researchers are familiar with rigorous statistical practice, but it is often beneficial to include an expert in both areas whenever possible. The most rigorous ML studies occur when ML, statistics, and neurology experts work collaboratively from idea formation until the reporting of results.

The second general recommendation is to use an appropriate checklist for conducting ML studies, to which we have referred throughout this article. Some groups of researchers have formed networks to intensively collect and report on data for the best methods for different study designs, such as the Equator Network.53 These groups have developed priceless resources for conducting studies and reporting study results. For example, the TRIPOD,6 CONSORT,54 and SPIRIT55 checklists all have specific versions for studies using ML. Using the right checklist tailored to ML studies is very helpful for planning, executing, and reporting results. We strongly recommend that authors use these checklists when writing articles and ensure that every item is addressed.

Conclusion

Use of ML can transform our ability to use data to understand the basic principles of neurology and to address key clinical challenges. In this article, we summarize mistakes we have seen while reviewing studies in neurology and provide recommendations for how to conduct ML studies to avoid critical errors. Although our list is not exhaustive, our recommendations should improve the quality and rigor of ML studies. ML has great potential to revolutionize neurology, but investigators need to conduct studies and report the results in a way that allow readers to fully evaluate the benefits and limitations of this approach.

Acknowledgment

The content is solely the responsibility of the authors and does not necessarily represent the official views of the NIH. The findings and conclusions in this article are those of the authors and do not necessarily represent the official position of the American Academy of Neurology.

Glossary

AI

artificial intelligence

AUC

area under the receiver-operating curve

ML

machine learning

mRS

modified Rankin Scale

RCT

randomized controlled trial

Appendix. Authors

Name Location Contribution
Jaime L. Speiser, PhD, MS Department of Biostatistics and Data Science, Wake Forest University School of Medicine, Winston-Salem, NC Drafting/revision of the manuscript for content, including medical writing for content; study concept or design
Wesley T. Kerr, MD, PhD Department of Neurology and Biomedical Informatics, University of Pittsburgh, PA Drafting/revision of the manuscript for content, including medical writing for content; study concept or design
Andreas Ziegler, Dr rer nat Cardio-CARE, Medizincampus Davos, Switzerland; Department of Cardiology and Population Health Innovation, University Medical Center Hamburg-Eppendorf, Germany; Department of Mathematics, Statistics and Computer Science, University of KwaZulu-Natal, Berea, Durban, South Africa Drafting/revision of the manuscript for content, including medical writing for content; study concept or design

Study Funding

The authors report no targeted funding.

Disclosure

All authors serve on the editorial board of Neurology. J.L. Speiser is supported by the National Institute on Aging of the NIH under Award Number K25AG068253. W.T. Kerr received funding for research time from the American Epilepsy Society, the Epilepsy Foundation, the American Academy of Neurology (not applicable to this work), and the American Brain Foundation, serves as an associate editor for Epilepsia, writes review articles for Medlink Neurology, is a paid consultant for the Epilepsy Study Consortium, SK Life Sciences, Biohaven Pharmaceuticals, Jazz Pharmaceuticals, UCB Pharmaceuticals, EpiTel, and Cerebral Therapeutics, and has collaborative or data use agreements with Eisai, Janssen, Radius Health, GSK, Ventus, and Neureka. A. Ziegler is listed as co-inventor of an international patent on the use of a computing device to estimate the probability of myocardial infarction (International Publication Number WO2022043229A1), and is scientific director and CEO of Cardio-CARE (a 100% non-profit daughter of the Kühne Foundation, and shareholder of the ART-EMIS Hamburg GmbH). Go to Neurology.org/N for full disclosures.

References

  • 1.Champendal M, Müller H, Prior JO, Dos Reis CS. A scoping review of interpretability and explainability concerning artificial intelligence methods in medical imaging. Eur J Radiol. 2023;169:111159. doi: 10.1016/j.ejrad.2023.111159 [DOI] [PubMed] [Google Scholar]
  • 2.Tsukita K, Sakamaki-Tsukita H, Kaiser S, et al. High-throughput CSF proteomics and machine learning to identify proteomic signatures for Parkinson disease development and progression. Neurology. 2023;101(14):e1434-e1447. doi: 10.1212/WNL.0000000000207725 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Bonkhoff AK, Hong S, Bretzner M, et al. Association of stroke lesion pattern and white matter hyperintensity burden with stroke severity and outcome. Neurology. 2022;99(13):e1364-e1379. doi: 10.1212/WNL.0000000000200926 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Tate RL, Douglas J. Use of reporting guidelines in scientific writing: PRISMA, CONSORT, STROBE, STARD and other resources. Brain Impai. 2011;12:1-21. doi: 10.1375/brim.12.1.1 [DOI] [Google Scholar]
  • 5.Sauerbrei W, Abrahamowicz M, Altman DG, le Cessie S, Carpenter J; STRATOS initiative. STRengthening analytical thinking for observational studies: the STRATOS initiative. Stat Med. 2014;33(30):5413-5432. doi: 10.1002/sim.6265 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Collins GS, Moons KG, Dhiman P, et al. TRIPOD+ AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods. BMJ. 2024;385:e078378. doi: 10.1136/bmj-2023-078378 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Bzdok D, Altman N, Krzywinski M. Statistics versus machine learning. Nat Methods. 2018;15(4):233-234. doi: 10.1038/nmeth.4642 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Abdollahi-Arpanahi R, Gianola D, Peñagaricano F. Deep learning versus parametric and ensemble methods for genomic prediction of complex phenotypes. Genet Sel Evol. 2020;52:12. doi: 10.1186/s12711-020-00531-z [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.van Iterson M, van Haagen HH, Goeman JJ. Resolving confusion of tongues in statistics and machine learning: a primer for biologists and bioinformaticians. Proteomics. 2012;12(4-5):543-549. doi: 10.1002/pmic.201100395 [DOI] [PubMed] [Google Scholar]
  • 10.Torres EB, Denisova K. Motor noise is rich signal in autism research and pharmacological treatments. Sci Rep. 2016;6:37422. doi: 10.1038/srep37422 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Bates S, Hastie T, Tibshirani R. Cross-validation: what does it estimate and how well does it do it? J Am Stat Assoc. 2024;119(546):1434-1445. doi: 10.1080/01621459.2023.2197686 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Guo S, Bocklitz T, Neugebauer U, Popp J. Common mistakes in cross-validating classification models. Anal Methods. 2017;9(30):4410-4417. doi: 10.1039/c7ay01363a [DOI] [Google Scholar]
  • 13.Xu Y, Goodacre R. On splitting training and validation set: a comparative study of cross-validation, bootstrap and systematic sampling for estimating the generalization performance of supervised learning. J Anal Test. 2018;2(3):249-262. doi: 10.1007/s41664-018-0068-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Ozminkowski R. Garbage In, Garbage Out. Towards Data Science; 2021. [Google Scholar]
  • 15.Teno JM. Garbage in, garbage out: words of caution on big data and machine learning in medical practice. JAMA Health Forum. 2023;4(2):e230397. doi: 10.1001/jamahealthforum.2023.0397 [DOI] [PubMed] [Google Scholar]
  • 16.Pulini AA, Kerr WT, Loo SK, Lenartowicz A. Classification accuracy of neuroimaging biomarkers in attention-deficit/hyperactivity disorder: effects of sample size and circular analysis. Biol Psychiatry Cogn Neurosci Neuroimaging. 2019;4(2):108-120. doi: 10.1016/j.bpsc.2018.06.003 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Goldenholz DM, Sun H, Ganglberger W, Westover MB. Sample size analysis for machine learning clinical validation studies. Biomedicines. 2023;11(3):685. doi: 10.3390/biomedicines11030685 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Riley RD, Ensor J, Snell KIE, et al. Calculating the sample size required for developing a clinical prediction model. BMJ. 2020;368:m441. doi: 10.1136/bmj.m441 [DOI] [PubMed] [Google Scholar]
  • 19.Cremers HR, Wager TD, Yarkoni T. The relation between statistical power and inference in fMRI. PLoS One. 2017;12(11):e0184923. doi: 10.1371/journal.pone.0184923 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Varoquaux G, Raamana PR, Engemann DA, Hoyos-Idrobo A, Schwartz Y, Thirion B. Assessing and tuning brain decoders: cross-validation, caveats, and guidelines. Neuroimage. 2017;145(pt B):166-179. doi: 10.1016/j.neuroimage.2016.10.038 [DOI] [PubMed] [Google Scholar]
  • 21.Altman DG, Royston P. What do we mean by validating a prognostic model? Stat Med. 2000;19(4):453-473. doi: 10.1002/(sici)1097-0258(20000229)19:4<453::aid-sim350>3.0.co;2-5 [DOI] [PubMed] [Google Scholar]
  • 22.Wissel BD, Greiner HM, Glauser TA, et al. Automated, machine learning–based alerts increase epilepsy surgery referrals: a randomized controlled trial. Epilepsia. 2023;64(7):1791-1799. doi: 10.1111/epi.17629 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Obermeyer Z, Powers B, Vogeli C, Mullainathan S. Dissecting racial bias in an algorithm used to manage the health of populations. Science. 2019;366(6464):447-453. doi: 10.1126/science.aax2342 [DOI] [PubMed] [Google Scholar]
  • 24.Speiser JL. So you developed a clinical prediction model, now what? J Data Sci. 2021;19:519-527. doi: 10.6339/21-jds1029 [DOI] [Google Scholar]
  • 25.Beniczky S, Wiebe S, Jeppesen J, et al. Automated seizure detection using wearable devices: a clinical practice guideline of the International League Against Epilepsy and the International Federation of Clinical Neurophysiology. Clin Neurophysiol. 2021;132(5):1173-1184. doi: 10.1016/j.clinph.2020.12.009 [DOI] [PubMed] [Google Scholar]
  • 26.Hua Y, Yan C, Zhou C, Zheng Q, Li D, Tu P. Risk prediction models for intracranial hemorrhage in acute ischemic stroke patients receiving intravenous alteplase treatment: a systematic review. Front Neurol. 2023;14:1224658. doi: 10.3389/fneur.2023.1224658 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Moons KGM, Wolff RF, Riley RD, et al. PROBAST: a tool to assess risk of bias and applicability of prediction model studies: explanation and elaboration. Ann Intern Med. 2019;170(1):W1-W33. doi: 10.7326/M18-1377 [DOI] [PubMed] [Google Scholar]
  • 28.Klement W, El Emam K. Consolidated reporting guidelines for prognostic and diagnostic machine learning modeling studies: development and validation. J Med Internet Res. 2023;25:e48763. doi: 10.2196/48763 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Stevens LM, Mortazavi BJ, Deo RC, Curtis L, Kao DP. Recommendations for reporting machine learning analyses in clinical research. Circ Cardiovasc Qual Outcomes. 2020;13(10):e006556. doi: 10.1161/CIRCOUTCOMES.120.006556 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Little RJ, Carpenter JR, Lee KJ. A comparison of three popular methods for handling missing data: complete-case analysis, inverse probability weighting, and multiple imputation. Sociol Methods Res. 2022;2022:004912412211138. doi: 10.1177/00491241221113873 [DOI] [Google Scholar]
  • 31.Little RJ, Rubin DB. Statistical Analysis With Missing Data. John Wiley & Sons; 2019. [Google Scholar]
  • 32.Gómez-Carracedo MP, Andrade J, López-Mahía P, Muniategui S, Prada D. A practical comparison of single and multiple imputation methods to handle complex missing data in air quality datasets. Chemometr Intell Lab Syst. 2014;134:23-33. doi: 10.1016/j.chemolab.2014.02.007 [DOI] [Google Scholar]
  • 33.Nijman S, Leeuwenberg AM, Beekers I, et al. Missing data is poorly handled and reported in prediction model studies using machine learning: a literature review. J Clin Epidemiol. 2022;142:218-229. doi: 10.1016/j.jclinepi.2021.11.023 [DOI] [PubMed] [Google Scholar]
  • 34.Nichols E, Deal JA, Swenor BK, et al. The effect of missing data and imputation on the detection of bias in cognitive testing using differential item functioning methods. BMC Med Res Methodol. 2022;22(1):81. doi: 10.1186/s12874-022-01572-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Psaros AF, Meng X, Zou Z, Guo L, Karniadakis GE. Uncertainty quantification in scientific machine learning: methods, metrics, and comparisons. J Comput Phys. 2023;477:111902. doi: 10.1016/j.jcp.2022.111902 [DOI] [Google Scholar]
  • 36.Andaur Navarro CL, Damen JAA, Takada T, et al. Systematic review finds “spin” practices and poor reporting standards in studies on machine learning-based prediction models. J Clin Epidemiol. 2023;158:99-110. doi: 10.1016/j.jclinepi.2023.03.024 [DOI] [PubMed] [Google Scholar]
  • 37.Boutron I, Ravaud P. Misrepresentation and distortion of research in biomedical literature. Proc Natl Acad Sci USA. 2018;115(11):2613-2619. doi: 10.1073/pnas.1710755115 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Bhattacharya S, Pradhan KB, Bashar MA, et al. Artificial intelligence enabled healthcare: a hype, hope or harm. J Family Med Prim Care. 2019;8(11):3461-3464. doi: 10.4103/jfmpc.jfmpc_155_19 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Dunnmon J. Separating hope from hype: artificial intelligence pitfalls and challenges in radiology. Radiol Clin North Am. 2021;59(6):1063-1074. doi: 10.1016/j.rcl.2021.07.006 [DOI] [PubMed] [Google Scholar]
  • 40.Emanuel EJ, Wachter RM. Artificial intelligence in health care: will the value match the hype? JAMA. 2019;321(23):2281-2282. doi: 10.1001/jama.2019.4914 [DOI] [PubMed] [Google Scholar]
  • 41.Hollis KF, Soualmia LF, Séroussi B. Artificial intelligence in health informatics: hype or reality? Yearb Med Inform. 2019;28(1):003-004. doi: 10.1055/s-0039-1677951 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Kulkarni PA, Singh H. Artificial intelligence in clinical diagnosis: opportunities, challenges, and hype. JAMA. 2023;330(4):317-318. doi: 10.1001/jama.2023.11440 [DOI] [PubMed] [Google Scholar]
  • 43.Wilkinson J, Arnold KF, Murray EJ, et al. Time to reality check the promises of machine learning-powered precision medicine. Lancet Digit Health. 2020;2(12):e677-e680. doi: 10.1016/S2589-7500(20)30200-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Xu Z, Biswas B, Li L, Amzal B. AI/ML in precision medicine: a look beyond the hype. Ther Innov Regul Sci. 2023;57(5):957-962. doi: 10.1007/s43441-023-00541-1 [DOI] [PubMed] [Google Scholar]
  • 45.Smith JJ, Amershi S, Barocas S, Wallach H, Wortman Vaughan J. Real ml: recognizing, exploring, and articulating limitations of machine learning research. Proceedings of the 2022 ACM Conference on Fairness, Accountability, and Transparency; 2022:587-597.
  • 46.Jing J, Ge W, Hong S, et al. Development of expert-level classification of seizures and rhythmic and periodic patterns during EEG interpretation. Neurology. 2023;100(17):e1750-e1762. doi: 10.1212/WNL.0000000000207127 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Staffa SJ, Zurakowski D. Statistical development and validation of clinical prediction models. Anesthesiology. 2021;135(3):396-405. doi: 10.1097/ALN.0000000000003871 [DOI] [PubMed] [Google Scholar]
  • 48.Grosse SD, Khoury MJ. What is the clinical utility of genetic testing? Genet Med. 2006;8(7):448-450. doi: 10.1097/01.gim.0000227935.26763.c6 [DOI] [PubMed] [Google Scholar]
  • 49.Van Calster B, Wynants L, Verbeek JF, et al. Reporting and interpreting decision curve analysis: a guide for investigators. Eur Urol. 2018;74(6):796-804. doi: 10.1016/j.eururo.2018.08.038 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Vickers AJ, Holland F. Decision curve analysis to evaluate the clinical benefit of prediction models. Spine J. 2021;21(10):1643-1648. doi: 10.1016/j.spinee.2021.02.024 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Vickers AJ, van Calster B, Steyerberg EW. A simple, step-by-step guide to interpreting decision curve analysis. Diagn Progn Res. 2019;3:18. doi: 10.1186/s41512-019-0064-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Chiang S, Picard RW, Chiong W, et al. Guidelines for conducting ethical artificial intelligence research in neurology: a systematic approach for clinicians and researchers. Neurology. 2021;97(13):632-640. doi: 10.1212/WNL.0000000000012570 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Simera I, Moher D, Hirst A, Hoey J, Schulz KF, Altman DG. Transparent and accurate reporting increases reliability, utility, and impact of your research: reporting guidelines and the EQUATOR Network. BMC Med. 2010;8:24. doi: 10.1186/1741-7015-8-24 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54.Liu X, Cruz Rivera S, Moher D, Calvert MJ, Denniston AK; SPIRIT-AI and CONSORT-AI Working Group. Reporting guidelines for clinical trial reports for interventions involving artificial intelligence: the CONSORT-AI extension. Lancet Digit Health. 2020;2(10):e537-e548. doi: 10.1016/S2589-7500(20)30218-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Cruz Rivera S, Liu X, Chan AW, Denniston AK, Calvert MJ; SPIRIT-AI and CONSORT-AI Working Group. Guidelines for clinical trial protocols for interventions involving artificial intelligence: the SPIRIT-AI extension. Lancet Digit Health. 2020;2(10):e549-e560. doi: 10.1016/S2589-7500(20)30219-3 [DOI] [PMC free article] [PubMed] [Google Scholar]

Articles from Neurology are provided here courtesy of American Academy of Neurology

RESOURCES