mlsanityData to 14 Oct 2026

Sample Size in Natural Language Processing within Healthcare Research

arXiv 2309.02237 ↗First posted 5 Sep 2023cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Sample size calculation is an essential step in most data-based disciplines. Large enough samples ensure representativeness of the population and determine the precision of estimates. This is true for most quantitative studies, including those that employ machine learning methods, such as natural language processing, where free-text is used to generate predictions and classify instances of text. Within the healthcare domain, the lack of sufficient corpora of previously collected data can be a limiting factor when determining sample sizes for new studies. This paper tries to address the issue by making recommendations on sample sizes for text classification tasks in the healthcare domain. Models trained on the MIMIC-III database of critical care records from Beth Israel Deaconess Medical Center were used to classify documents as having or not having Unspecified Essential Hypertension, the most common diagnosis code in the database. Simulations were performed using various classifiers on different sample sizes and class proportions. This was repeated for a comparatively less common diagnosis code within the database of diabetes mellitus without mention of complication. Smaller sample sizes resulted in better results when using a K-nearest neighbours classifier, whereas larger sample sizes provided better results with support vector machines and BERT models. Overall, a sample size larger than 1000 was sufficient to provide decent performance metrics. The simulations conducted within this study provide guidelines that can be used as recommendations for selecting appropriate sample sizes and class proportions, and for predicting expected performance, when building classifiers for textual healthcare data. The methodology used here can be modified for sample size estimates calculations with other datasets.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 6 of its 60 references that are in the map. First posted on arXiv 5 Sep 2023.

Builds on

6 of 60 references.

References · 6

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  3. 2020Metrics for Multi-Class Classification: an Overviewcited by 143
  4. 2020With Little Power Comes Great Responsibilitycited by 142
  5. 2020Cost-Sensitive BERT for Generalisable Sentence Classification with Imbalanced Datacited by 14
  6. 2022Attributing AUC-ROC to Analyze Binary Classifier Performancecited by 2

Built on by

Not cited yet.