Vitamin D3 for Life. Live Enlightened.

Research libraryVitamin D3 For Life
Study design and methods

Secondary relevance to vitamin D This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.

This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.

Why this paper is included

Supporting source evidence:

static analysis | Sheen et al. (2014) [24] | eGFR decline >5 mL/min/1.73 m2/year | T2D, review paper | ethnic/genetic and demographic causes, smoking habits, increased glycated hemoglobin levels, obesity, albuminuria, anemia, low serum magnesium levels, high serum phosphate levels, vitamin D deficiency, elevated systolic blood pressure, pulse pressure, brachial-ankle pulse wave velocity values, retinopathy, cardiac autonomic neuropathy | –

Source: Results table. View original paper

Relevance classification does not establish study quality, causation or editorial approval.

Study design Study design awaiting verification.

Study design awaiting verification

The available source does not establish a sufficiently clear study design.

Meta-analysis unclear · Blinding unclear / not reported · Research setting awaiting verification

How this paper was classified

Automatic source-based classification; awaiting editorial verification. This is not a quality score.

View supporting evidence in the original paper

What the study types mean
Systematic review
Uses explicit methods to identify, assess and summarise research on a defined question.
Scoping review
Maps the extent and characteristics of research on a topic.
Narrative review
Discusses existing research; systematic-review methods have not been established by this classification.
Review / evidence synthesis
Reviews existing research; the exact review methods need further assessment.
Randomised controlled trial
Assigns participants or groups to comparison interventions by chance.
Non-randomised intervention study
Examines an intervention without random allocation.
Cohort study
Examines exposures and outcomes over time within a defined group.
Case-control study
Compares people with an outcome against people without it, examining exposures.
Cross-sectional study
Examines a population at a particular point in time.
Observational study
Observes exposures and outcomes without assigning the exposure; the subtype is not established here.
Case report
Describes an individual case.
Case series
Describes a group of individual cases.
Secondary analysis
Analyses existing study data; this paper is not automatically another independent trial.
Laboratory study
Investigates biological processes in a laboratory setting.
Qualitative study
Examines experiences or meanings using qualitative methods.
Genetic instrumental-variable study
Uses genetic variation as an instrument to investigate relationships; this is not a randomised treatment trial.
Study protocol
Describes planned methods and is not evidence that the planned study has reported results.
Multiple reported designs
More than one design is explicitly reported; examine the supporting methods.
Study design awaiting verification
The available source does not establish a sufficiently clear study design.

Meta-analysis combines numerical results from studies. Blinding describes who was unaware of treatment allocation. Neither is a separate quality grade. Study design, vitamin D relevance and document format are independent filters.

Full studies

Predicting rapid decline in kidney function among type 2 diabetes patients: A machine learning approach

Study design awaiting verification · Heliyon · 2025

Original publication title

Predicting rapid decline in kidney function among type 2 diabetes patients: A machine learning approach

Eri Nakahara; Kayo Waki; Hisashi Kurasawa; Imari Mimura; Tomohisa Seki; Akinori Fujino; Nagisa Shiomi; Masaomi Nangaku; Kazuhiko Ohe

© 2024 The Authors

Original publication · Publisher record · CC BY 4.0

Source wording retained. Formatting, section navigation and display-title punctuation adapted for this research record.

At a glance

Study background

What background does the paper provide?

Diabetic kidney disease (DKD) is one of the typical complications of type 2 diabetes (T2D) and affects approximately 20 % of the 400 million individuals with diabetes globally [1]. DKD typically initially presents as moderately increased albuminuria and progresses to severely increased albuminuria as the disease advances. Ultimately, DKD leads to a decline in kidney function, necessitating long-term dialysis therapy. Physicians need to identify early signs of DKD in diabetes patients to support early referral to a nephrologist in order to prepare for dialysis.

In recent years, a subset of diabetes patients has exhibited a sudden and precipitous decline in kidney function, termed Rapid decline (RD) [[2], [3], [4], [5], [6]]. Albuminuria is known to be a kidney damage biomarker in DKD and is commonly seen as diabetes progresses, but RD has a rapid deterioration in kidney function not always associated with prominent albuminuria.

In previous studies, RD has been indicated by the decline in the slope of the estimated glomerular filtration rate (eGFR) greater than 5 mL/min/1.73 m2/year [5] or by a loss of eGFR of from 2.8 % to 10 % per year or greater [[2], [7], [8], [9], [10], [11], [12], [13], [21]]. A cohort study in Japan revealed the prevalence of DKD was 52 %, and 12 % of these DKD patients had RD indicated [12].

RD has been reported to be a predictor of future kidney failure [[14], [15], [16]]. Currently, there is little understanding about the mechanisms underlying the progression of RD.

Since some cases of RD do not exhibit changes in albuminuria, studies have worked on detecting signs of RD using alternative methods. One approach is to find biomarkers related to RD, such as the measurement of serum TNF receptors (TNFR) [17] or microRNA [18,19]. However, measuring these items in all diabetes patients within the routine clinical practice of diabetes care is challenging. Many laboratory tests are already being carried out in daily diabetes care, and it would be very useful if signs of RD could be found among them.

Factors associated with RD have been identified and include high hemoglobin A1c (HbA1c), high systolic blood pressure, older age, and low low-density lipoprotein cholesterol (LDL-C). Machine learning (ML) has been used to predict RD using these factors [20,21] (Table 1). A study predicted RD among 19,894 diabetes patients based on changes in eGFR by using the Random Forest method [22], resulting in an ROC-AUC of 0.73 [20]. A second predicted RD with an ROC-AUC of 0.775 using an ML model that uses binary (e.g., sex, family history of diabetes), multi-categorical (e.g., urine nitrous acid (U-NIT), urine urobilinogen (U-UBG)), and quantitative features (e.g., body height and hemoglobin) as inputs [21].

Most studies on predicting RD have focused on a limited number of specific laboratory tests. No comprehensive study targeting a wide range of laboratory tests has been done. When increasing the number of laboratory tests targeted by ML, two challenges are overfitting and missing data [27,28]. This study used Light Gradient Boosting Machine (LightGBM) [29] and Recursive Feature Elimination with Cross-Validation (RFECV) [30] to address these problems. LightGBM is a gradient boosting framework that uses tree-based learning algorithms and is acknowledged for its superior predictive performance [31,32].

Even when given a huge variety of interpolated and quantized laboratory test values as input, LightGBM avoids overfitting with built-in regularization techniques. RFECV enhances accuracy, reduces overfitting, and improves interpretability by iteratively removing less important features to focus on key data.

Table 1

Comparison of previous studies using static analysis and ML.

Table 1
TypeAuthorDefinition of RDTarget patientsAssociation factor of RDPerformance index (ROC-AUC)
static analysisKrolewski et al. (2014)[8]eGFR decline ≥3.3 %/yearT1D and albuminuria (N = 277)high HbA1c, high systolic blood pressure, older age, high uric acid value, high TNFR-1, high TNFR-2, low eGFR–
static analysisZoppini et al. (2012) [4]eGFR decline ≥4 %/yearT2D and albuminuria (N = 699)high albuminuria, high eGFR, high body mass index, high systolic blood pressure, cardiovascular disease, older age, insulin therapy–
static analysisJiang et al. (2019) [13]eGFR decline ≥3.1 %/yearT2D and albuminuria (N = 4685)high HbA1c, low LDL-C, low eGFR, high blood pressure, retinopathy, moderately increased albuminuria–
static analysisVistisen et al. (2019) [9]eGFR decline ≥2.8 %/yearT2D and albuminuria (N = 857)no statin, no renin-angiotensin system blockers, older age, low eGFR, less exercise–
static analysisBjornstad et al. (2015) [23]eGFR decline >3 mL/min/1.73 m2/yearT1D (N = 519)HbA1c, systolic blood pressure, LDL-C, diabetes duration, estimated insulin sensitivity, baseline albumin/creatinine ratio–
static analysisSheen et al. (2014) [24]eGFR decline >5 mL/min/1.73 m2/yearT2D, review paperethnic/genetic and demographic causes, smoking habits, increased glycated hemoglobin levels, obesity, albuminuria, anemia, low serum magnesium levels, high serum phosphate levels, vitamin D deficiency, elevated systolic blood pressure, pulse pressure, brachial-ankle pulse wave velocity values, retinopathy, cardiac autonomic neuropathy–
static analysisYokoyama et al. (2011) [10]eGFR decline ≥4 %/yearT2D (N = 1100)high eGFR, high HbA1c, high systolic blood pressure, low total protein, presence of retinopathy–
static analysisWang et al. (2019) [25]eGFR decline >5 mL/min per 1.73 m2/yearT2D (N = 128)a family history of diabetes, higher degree of proteinuria, higher grades of glomerular pathology class, higher interstitial fibrosis and tubular atrophy, interstitial inflammation–
static analysisFujii et al. (2023) [11]eGFR decline ≥10 %/yearT2D, T1D (N = 10,712,577)high systolic blood pressure, poor or strict diabetes control, increased urinary protein excretion, decreased blood hemoglobin levels–
static analysisXie et al. (2023) [33]eGFR decline >5 mL/min/1.73 m2/yearT2D (N = 526)anemia–
static analysisLi et al. (2023) [26]eGFR decline >5 mL/min/1.73 m2/yearT2D (N = 573,860)lifestyles (skipping breakfast, regular smoking, a lack of habitual exercise, late-night dinners, non-refreshing sleep, and a high alcohol intake)–
static analysisYoshida et al. (2020) [12]eGFR decline ≥10 %/yearT1D, T2D (N = 9010)older age, higher basal eGFR, higher urinary albumin to creatinine ratio , higher systolic blood pressure–
MLInaguma et al. (2020) [20]eGFR decline ≥30 % within 2 yearsCKD patients (N = 9911)urine protein, hemoglobin, total cholesterol, uric acid0.73
MLHirakawa et al. (2022) [21]eGFR decline ≥10 %/yearDKD patients (N = 150)systolic blood pressure, urinary albumin, and urinary metabolites such as threnodic acid, trigonelline, urinary metabolite (urinary 1-Methylpyridin-1- ium )0.775

The definition of RD varies somewhat across studies. Several predictors of RD, such as HbA1c, have been identified.

The aim of this study is to develop an ML tool that accurately predicts RD using input from common laboratory tests performed in diabetes care, selecting tests and their timing that contribute to the prediction. The importance and originality of this study is that it explores factors associated with RD from 1202 clinical examinations in 3438 T2D patients. Based on the performance of prior studies [20,21], our goal is to achieve an ROC-AUC above 0.775 for the task of predicting RD among diabetes patients.

By selecting laboratory tests by balancing test frequency and contribution to prediction, we aim to have a model using a limited number of laboratory tests, with the expectation that such a parsimonious model is more likely to be adopted in clinical settings. Identifying patients who are likely to develop RD gives physicians early warning and allows them to refer patients to a nephrologist. The identification of the tests useful to the model may contribute to the understanding of RD.

Source: Introduction Source: Introduction Source: Introduction Source: Introduction Source: Introduction Source: Introduction

Study methods

What methods does the paper describe?

2.1

Definition of RD and study design

According to the KDIGO 2012 clinical practice guidelines [5], RD is characterized by a decrease in eGFR over 1 year that is greater than 5 mL/min/1.73 m2/year. RD has been defined in different ways across studies (Table 1). While some studies define RD as a decline in the slope of eGFR [[23], [24], [25], [26],33], others use the criterion of a loss of eGFR percentage per year exceeding a certain threshold [2,[7], [8], [9], [10], [11], [12]].

In our observation, practicing physicians at the University of Tokyo Hospital generally decide that RD is indicated when eGFR is below 60 mL/min/1.73 m2, indicating kidney disease, and eGFR declines greater than 5 mL/min/1.73 m2/year, as estimated via visual examination of multiple eGFRs to estimate the slope, accounting for the effects of bias from the testing date and minor fluctuations.

Based on these studies and observations, we set this study's criteria for RD as having an eGFR below 60 mL/min/1.73 m2 and observing a decrease of 5 mL/min/1.73 m2 or more from 1 year ago to the indication point (the consultation date on which a patient measures eGFR and an indication of RD or not_RD is made), after smoothing using the Lowess method [34,35]. This smoothing was used to reduce the impact of different numbers of eGFR tests.

As a first step, we classified all indications as RD or not_RD.

Predictions are made at a decision point (a date on which a patient measures eGFR and an RD prediction is made), using inputs from an input window (a window from the decision point to 54 weeks prior) (Fig. 1). The prediction is whether RD will be indicated in the event window (a window of 1 year following the decision point). For each patient, we ceased predictions once RD was indicated. The timing avoids making predictions at inappropriate times - when RD has already been indicated, when there is not at least 1 eGFR measurement in the input window, and when there are no measurements in the event window.

Our ML task is to predict at each decision point if the indication of RD will occur within the event window based on laboratory test values collected within the input window.

Fig. 1

Illustration of input windows, decision points, event windows, and indication points.

Fig. 1Figure image at the original source — open the original paper. This file is not included in this text import.

To prevent the misclassification of RD, one possible approach is to set a threshold for the number of eGFR tests or the value of eGFR like Nojima's et al. [35] However, the purpose of our ML model is designed to identify patients at high RD risk and quickly refer them to specialists. To ensure that no potential cases are overlooked, we did not set such a threshold based on the advice of nephrologists. Therefore, we classified all cases with a potential risk of RD as RD, regardless of the number of eGFR tests conducted.

Moreover, we adopted a policy of using multiple decision points from a single patient. We think that using multiple data points matches the way that physicians treat patients over a trajectory of visits and can lead to better predictive models because the scale of data available for model training is larger. This approach is a good way to build better models with limed EHR data. This method has also been shown to be effective in a previous study [20].

2.2

Data source

Our participant-selection process used 2 data sources, electronic health records (EHRs) at the University of Tokyo Hospital and the Japan diabetes comprehensive database project based on an Advanced electronic medical record system (J-DREAMS) [36]. J-DREAMS is a database of patients with diabetes in Japan launched by the National Center for Global Health and Medicine and the Japan Diabetes Society. J-DREAMS registers both outpatients and inpatients with diabetes who are treated by diabetologists at participating institutions. The University of Tokyo Hospital is also one of the participating institutions in the J-DREAMS project.

The database includes standardized information on patients' physical conditions, medical histories, and complications. In this study, we extracted demographic and laboratory test data from EHRs at the University of Tokyo Hospital, and diagnostic codes (ICD-10) and information of kidney dialysis and kidney transplant from J-DREAMS. We obtained data from a general hospital in Japan. This hospital offers a wide range of medical services beyond just diabetes care, allowing for comprehensive consideration of patients’ overall health conditions. Compared to data from a single clinic specializing in a particular department, the data from this general hospital includes a broader spectrum of patient backgrounds and comorbidities, making it more representative of the general patient population.

Therefore, we think that the data from this general hospital provides a more reliable foundation for evaluating RD and offers findings that are more applicable to a general patient population compared to data from a single clinic.

Initially, our data consisted of patients who visited the University of Tokyo Hospital between January 1st, 2018, and August 31st, 2021, and registered in J-DREAMS (Fig. 2). We excluded patients who had never had any diagnostic codes indicating T2D (coded as ICD-10 E11) or unspecified diabetes (coded as ICD-10 E14), and then excluded patients who had ever had any diagnostic code indicating Type 1 Diabetes (T1D, coded as ICD-10 E10), malnutrition-related diabetes (coded as ICD-10 E12), or other specified diabetes (coded as ICD-10 E13).

We then filtered down to the patients who had at least 1 eGFR measurement during the period, as the model makes predictions at decision points defined by the occurrence of an eGFR measurement. In our analysis, each patient had multiple visits during the analysis period, so events of dialysis and kidney transplant may have changed during the analysis period. Therefore, we checked each eGFR test date and excluded test dates where patients had a kidney transplant or kidney dialysis before the test date.

Patients may have had more than one instance of these excluded conditions. We also excluded eGFR test dates if they were after or on the date of an RD indication or if there were no other eGFR test dates within 1 year after the eGFR test date. Each remaining eGFR test date between January 1st, 2018, and August 31st, 2020, was used as a decision point. For each decision point, we prepared labels to indicate whether RD is included in the event window and made a set of input values that were included in the input window for that decision point.

Fig. 2

Patient selection process.

Fig. 2Figure image at the original source — open the original paper. This file is not included in this text import.

Dialysis and kidney transplant event are not relevant to the decision point and event window decision process. These events were used only to ensure that no data were recorded after the date of dialysis and kidney transplant.

2.3

Laboratory tests used as features

Laboratory test values at each time were used as features because we expected that the rate of change of each test value might be significant. We obtained laboratory data from the EHR database that used standardized Japanese Laboratory Code Version 10 (JLAC10) [37]. As preliminary data processing, we used the nearest-neighbor method to interpolate the sparse data, producing daily values for each patient and each input window. We did not extrapolate (In the example shown in Fig. 1, eGFR tests were performed 1, 29, and 64 days before the decision point, and the eGFR test values from 2 to 28 days ago and from 30 to 63 days ago were then interpolated.).

All cases where there was no value in the input window were treated as missing. Then, we quantized the input data into equally-spaced values (with a 2-week spacing) [38] and calculated the logarithm of the average as a representative value for the 2-week period. The test results were transformed into tabular data. The features were named, in the order from newest to oldest test, as “1st_space_of_LabTest”, “2nd_space_of_LabTest ", …, “27th_space_of_LabTest”. Thus, each laboratory test has 27 features within the 54-week window.

2.4

ML models

We designed an ML model that takes as input laboratory test values spanning over the past 54 weeks and outputs a score representing the probability of whether the patient will have an indication of RD within the next year and a binary decision based on whether the probability is greater than or equal to 0.5. The score ranges from 0 to 1, with a threshold of 0.5 indicating an equal probability of having an indication of RD within the next year versus not having one.

We used LightGBM [29] for the model architecture. LightGBM is a highly efficient algorithm capable of handling large-scale tabular datasets, making it well-suited for our research using various kinds of laboratory tests. LightGBM also treats missingness as a feature. Previous studies of similar T2D prediction tasks showed good performance using LightGBM [31,32], so we selected this algorithm. RFECV is a feature selection algorithm eliminating features based on feature importance. By reducing the feature set, RFECV contributes to a simpler and more generalizable model.

RFECV has an advantage over other feature selection methods in that it does not rely on a specific algorithm and adaptively identifies the optimal features for the model. A similar method to RFECV is a feature selection based on feature importance. RFECV aims to find the optimal subset of features, whereas feature importance ranks all features based on their contribution to the model. Since the goal of this work is to find optimal subsets of laboratory tests to indicate RD, RFECV was used.

Combining RFECV with LightGBM allows for the construction of a highly accurate model while improving interpretability.

To prevent to over fitting and data leakage, we performed the evaluation by combining the holdout verification and the bootstrap methods (Fig. 3). First, we randomly split the patients using a 70–30 ratio, with 70 % of the patients for training and the remaining 30 % for testing. There is no overlap between the patients in the training and test datasets. Second, we optimized the 5 parameters for LightGBM (bagging_fraction, bagging_freq, feature_fraction, lambda_l1, lambda_l2) using the Optuna library [39] and the training dataset (Table 2).

We searched for the best parameters using 100 trials to maximize the area under the precision-recall curve (PR-AUC) using Optuna library. Third, we selected features using RFECV and created models for each feature set selected by RFECV in the training dataset, using parameters optimized by Optuna. While applying RFECV, we eliminated 5 % of the features at each iteration while there were more than 40 features. We then eliminated features one by one, down to 1 feature. We created models for each feature set selected by RFECV using the training dataset.

To prevent overfitting, we set the early stopping option in LightGBM. If no improvement in PR-AUC was observed after 50 iterations, training was stopped. Finally, to evaluate prediction performances of each feature set, we used the bootstrap method [41] in the testing dataset. We resampled from the test dataset, with replacement, 1000 times to generate 1000 samples. By calculating the predictive accuracy for each sample, we determined the 95 % CI. We confirmed overfitting by visualizing performance metric trends for both the training and test datasets.

If the performance metrics of the test dataset were lower than that of the metrics of the training dataset, we can determine that overfitting did not occur.

Fig. 3

The process of feature selection and leaning models.

Fig. 3Figure image at the original source — open the original paper. This file is not included in this text import.

Table 2

LightGBM Model details.

Table 2
ConfigureValueTune of Optuna
bagging_fraction1✓
bagging_freq0✓
boostingGbdt
deterministicTRUE
device typeCuda
feature_fraction0.852✓
feature_pre_filterFALSE
force_col_wiseTRUE
lambda_l19.998✓
lambda_l22.561✓
learning_rate0.05
max_depth10
metricPR-AUC
min_child_samples100
n_jobs−1
n_estimater1000
num_leaves50
objectivecross entropy loss
stratifiedTRUE
threshold0.5
feature importancegain
GPUcuda12.2
libraryPython 3.11, Scikit-lean 2.2.0 [40] and LightGBM 3.3.1 [29], Optuna 2.10.0 [39].

Five of the parameters were optimized with Optuna.

2.5

Statistical methods and data usage

We analyzed the characteristics of patients in the dataset using means, standard deviation, and frequency counts. We performed all statistical analyses using custom Python code. P values comparing RD and not_RD were computed using the Fisher exact test for categorical variables and missing rates and Mann-Whitney U test for continuous variables.

We assessed the predictive accuracy of classification models using the receiver operating characteristic (ROC) area under the curve (AUC), PR-AUC, accuracy rate, and F1-score. ROC captures the relationship between the true positive rate (sensitivity) on the y-axis and the false positive rate on the x-axis. The ROC curve varies based on the selection of threshold, with a tradeoff between true positives and false positives. The AUC, calculated by numerically integrating the area under the ROC curve, assesses overall discriminatory performance across thresholds, with a higher ROC-AUC score indicating better overall discriminatory performance.

Similarly, the PR curve has the proportion of correctly identified positive cases among all cases predicted as positive (precision) on the y-axis and the proportion of correctly identified positive cases among all actual positive cases (recall) on the x-axis, and the PR-AUC is the area under the precision-recall (PR) curve. A higher PR-AUC score signifies better precision in identifying positive cases while mitigating false positives [42]. The accuracy rate is the percentage of all predictions in a given dataset that are correctly predicted.

The F1-score is the harmonic mean of precision and recall.

In addition, selected variance inflation factors (VIF) are calculated to identify the effects of multicollinearity. VIF is one indicator of multicollinearity, and if the value is large, it may be better to remove the variable from the analysis. In general, a VIF >10 indicates strong multicollinearity. We calculate correlation using the Pearson product-moment correlation coefficient method. The VIFs are calculated using statsmodels 0.14.2 [43].

2.6

Ethical considerations

This study was approved by the Institutional Review Board of the University of Tokyo School of Medicine (approval number: 10,705) and was conducted in accordance with the Declaration of Helsinki. This was a retrospective, non-interventional database study without patient involvement. Confidentiality was safeguarded by the University of Tokyo Hospital. According to the Guidelines for Epidemiological Studies of the Ministry of Health, Labour and Welfare of Japan [44], written informed consent was not required. Information about the current study was available to patients on a website, and patients have the right to cease registration of their data at any time [45].

Table 1

Comparison of previous studies using static analysis and ML.

Table 1
TypeAuthorDefinition of RDTarget patientsAssociation factor of RDPerformance index (ROC-AUC)
static analysisKrolewski et al. (2014)[8]eGFR decline ≥3.3 %/yearT1D and albuminuria (N = 277)high HbA1c, high systolic blood pressure, older age, high uric acid value, high TNFR-1, high TNFR-2, low eGFR–
static analysisZoppini et al. (2012) [4]eGFR decline ≥4 %/yearT2D and albuminuria (N = 699)high albuminuria, high eGFR, high body mass index, high systolic blood pressure, cardiovascular disease, older age, insulin therapy–
static analysisJiang et al. (2019) [13]eGFR decline ≥3.1 %/yearT2D and albuminuria (N = 4685)high HbA1c, low LDL-C, low eGFR, high blood pressure, retinopathy, moderately increased albuminuria–
static analysisVistisen et al. (2019) [9]eGFR decline ≥2.8 %/yearT2D and albuminuria (N = 857)no statin, no renin-angiotensin system blockers, older age, low eGFR, less exercise–
static analysisBjornstad et al. (2015) [23]eGFR decline >3 mL/min/1.73 m2/yearT1D (N = 519)HbA1c, systolic blood pressure, LDL-C, diabetes duration, estimated insulin sensitivity, baseline albumin/creatinine ratio–
static analysisSheen et al. (2014) [24]eGFR decline >5 mL/min/1.73 m2/yearT2D, review paperethnic/genetic and demographic causes, smoking habits, increased glycated hemoglobin levels, obesity, albuminuria, anemia, low serum magnesium levels, high serum phosphate levels, vitamin D deficiency, elevated systolic blood pressure, pulse pressure, brachial-ankle pulse wave velocity values, retinopathy, cardiac autonomic neuropathy–
static analysisYokoyama et al. (2011) [10]eGFR decline ≥4 %/yearT2D (N = 1100)high eGFR, high HbA1c, high systolic blood pressure, low total protein, presence of retinopathy–
static analysisWang et al. (2019) [25]eGFR decline >5 mL/min per 1.73 m2/yearT2D (N = 128)a family history of diabetes, higher degree of proteinuria, higher grades of glomerular pathology class, higher interstitial fibrosis and tubular atrophy, interstitial inflammation–
static analysisFujii et al. (2023) [11]eGFR decline ≥10 %/yearT2D, T1D (N = 10,712,577)high systolic blood pressure, poor or strict diabetes control, increased urinary protein excretion, decreased blood hemoglobin levels–
static analysisXie et al. (2023) [33]eGFR decline >5 mL/min/1.73 m2/yearT2D (N = 526)anemia–
static analysisLi et al. (2023) [26]eGFR decline >5 mL/min/1.73 m2/yearT2D (N = 573,860)lifestyles (skipping breakfast, regular smoking, a lack of habitual exercise, late-night dinners, non-refreshing sleep, and a high alcohol intake)–
static analysisYoshida et al. (2020) [12]eGFR decline ≥10 %/yearT1D, T2D (N = 9010)older age, higher basal eGFR, higher urinary albumin to creatinine ratio , higher systolic blood pressure–
MLInaguma et al. (2020) [20]eGFR decline ≥30 % within 2 yearsCKD patients (N = 9911)urine protein, hemoglobin, total cholesterol, uric acid0.73
MLHirakawa et al. (2022) [21]eGFR decline ≥10 %/yearDKD patients (N = 150)systolic blood pressure, urinary albumin, and urinary metabolites such as threnodic acid, trigonelline, urinary metabolite (urinary 1-Methylpyridin-1- ium )0.775

The definition of RD varies somewhat across studies. Several predictors of RD, such as HbA1c, have been identified.

Source: Methods Source: Methods Source: Methods Source: Methods Source: Methods Source: Methods Source: Methods

Results: Patient characteristics

Our subject selection process (Fig. 2) started with 6863 candidates and yielded 3438 patients and their 45,547 decision points, including 1356 patients with an RD indication and their 7888 decision points that had an RD indication in the event window. We used the data from 2406 patients (70 %) for training and the data from 1032 patients (30 %) for testing. Our study design allowed for each patient to have multiple records. When tallied per patient, there was an average of 13.2 decision points per patient, with a standard deviation of 10.9.

There was a possibility of overfitting some patients, but we addressed this using the measures described in the “ML models” section. The prevalence of RD varied by month (Fig. 4), with an average prevalence of 3.1 %. The monthly prevalence of RD was approximately 3 % throughout the observation period. With preliminary data processing, 27 features were generated for each of 1202 types of laboratory test, resulting in a total of 32,454 features before RFECV. The detail of 1202 types of laboratory test shows in appendix Table 1.

Fig. 4

Prevalence rate of RD.

Fig. 4Figure image at the original source — open the original paper. This file is not included in this text import.

Table 1

Comparison of previous studies using static analysis and ML.

Table 1
TypeAuthorDefinition of RDTarget patientsAssociation factor of RDPerformance index (ROC-AUC)
static analysisKrolewski et al. (2014)[8]eGFR decline ≥3.3 %/yearT1D and albuminuria (N = 277)high HbA1c, high systolic blood pressure, older age, high uric acid value, high TNFR-1, high TNFR-2, low eGFR–
static analysisZoppini et al. (2012) [4]eGFR decline ≥4 %/yearT2D and albuminuria (N = 699)high albuminuria, high eGFR, high body mass index, high systolic blood pressure, cardiovascular disease, older age, insulin therapy–
static analysisJiang et al. (2019) [13]eGFR decline ≥3.1 %/yearT2D and albuminuria (N = 4685)high HbA1c, low LDL-C, low eGFR, high blood pressure, retinopathy, moderately increased albuminuria–
static analysisVistisen et al. (2019) [9]eGFR decline ≥2.8 %/yearT2D and albuminuria (N = 857)no statin, no renin-angiotensin system blockers, older age, low eGFR, less exercise–
static analysisBjornstad et al. (2015) [23]eGFR decline >3 mL/min/1.73 m2/yearT1D (N = 519)HbA1c, systolic blood pressure, LDL-C, diabetes duration, estimated insulin sensitivity, baseline albumin/creatinine ratio–
static analysisSheen et al. (2014) [24]eGFR decline >5 mL/min/1.73 m2/yearT2D, review paperethnic/genetic and demographic causes, smoking habits, increased glycated hemoglobin levels, obesity, albuminuria, anemia, low serum magnesium levels, high serum phosphate levels, vitamin D deficiency, elevated systolic blood pressure, pulse pressure, brachial-ankle pulse wave velocity values, retinopathy, cardiac autonomic neuropathy–
static analysisYokoyama et al. (2011) [10]eGFR decline ≥4 %/yearT2D (N = 1100)high eGFR, high HbA1c, high systolic blood pressure, low total protein, presence of retinopathy–
static analysisWang et al. (2019) [25]eGFR decline >5 mL/min per 1.73 m2/yearT2D (N = 128)a family history of diabetes, higher degree of proteinuria, higher grades of glomerular pathology class, higher interstitial fibrosis and tubular atrophy, interstitial inflammation–
static analysisFujii et al. (2023) [11]eGFR decline ≥10 %/yearT2D, T1D (N = 10,712,577)high systolic blood pressure, poor or strict diabetes control, increased urinary protein excretion, decreased blood hemoglobin levels–
static analysisXie et al. (2023) [33]eGFR decline >5 mL/min/1.73 m2/yearT2D (N = 526)anemia–
static analysisLi et al. (2023) [26]eGFR decline >5 mL/min/1.73 m2/yearT2D (N = 573,860)lifestyles (skipping breakfast, regular smoking, a lack of habitual exercise, late-night dinners, non-refreshing sleep, and a high alcohol intake)–
static analysisYoshida et al. (2020) [12]eGFR decline ≥10 %/yearT1D, T2D (N = 9010)older age, higher basal eGFR, higher urinary albumin to creatinine ratio , higher systolic blood pressure–
MLInaguma et al. (2020) [20]eGFR decline ≥30 % within 2 yearsCKD patients (N = 9911)urine protein, hemoglobin, total cholesterol, uric acid0.73
MLHirakawa et al. (2022) [21]eGFR decline ≥10 %/yearDKD patients (N = 150)systolic blood pressure, urinary albumin, and urinary metabolites such as threnodic acid, trigonelline, urinary metabolite (urinary 1-Methylpyridin-1- ium )0.775

The definition of RD varies somewhat across studies. Several predictors of RD, such as HbA1c, have been identified.

Source: Patient characteristics Source: Patient characteristics

Performance metrics in training dataset and testing dataset

Results: Performance metrics in training dataset and testing dataset

To check for overfitting, we examined the 6 performance metrics (ROC-AUC, PR-AUC, accuracy, recall, precision, F1-score) of the training and test datasets (Fig. 5). We used PR-AUC in the early stopping setting (Fig. 5). The results for all 6 performance metrics show that the predictive accuracy of models with a certain number of features or more was roughly the same, we achieved the target predictive accuracy, and there was no sign of higher accuracy under specific feature set conditions in either training or testing, indicating no overfitting.

Fig. 5

6 performance metrics of the training and test datasets.

Fig. 5Figure image at the original source — open the original paper. This file is not included in this text import.

Source: Performance metrics in training dataset and testing dataset

Prediction performance for various numbers of feature

Results: Prediction performance for various numbers of feature

We assessed using different numbers of features for the prediction, varying from 32,454 features down to 1 feature (Fig. 6). Using all 32,454 features containing 1202 types of laboratory tests produced an average (95 % Cl) ROC-AUC of 0.831 (0.822, 0.839). The ROC-AUC remained almost unchanged when the number of features reduced from 32,454 to 8 and kept good performance above our goal of 0.775 until 6 features (Table 3). We chose the 8-feature version as our model because the ROC-AUC was high with 8 features but dropped sharply with 7 features.

The 8-feature model achieved average (95 % Cl) ROC-AUC, PR-AUC, Accuracy, and F1-scores of 0.820 (0.811, 0.829), 0.430 (0.410, 0.451), 0.754 (0.747, 0.761), and 0.500 (0.485, 0.515), respectively. The 8 remaining features were the 3rd space of mean corpuscular hemoglobin (MCH), 1st space of γ-glutamyl trans peptidase (γ-GTP), 4th space of creatinine (Cre), 4th space of HbA1c, 3rd space of high density lipoprotein cholesterol (HDL-C), 11th space of eGFR, 1st space of hematocrit (Hct), and 1st space of eGFR. The laboratory test characteristics for the 3438 patients shows that decision points of RD had a higher MCH, higher γ-GTP, higher Cre, lower HbA1c, lower HDL-C, lower eGFR, and lower Hct than those of not_RD (Table 4).

Furthermore, decision points of RD had more missing values for MCH, Cre, HbA1c, HDL-C, and eGFR than those of not_RD.

Fig. 6

Prediction performance for various numbers of features.

Fig. 6Figure image at the original source — open the original paper. This file is not included in this text import.

Table 3

Mean (95 % CI) prediction performance from 1 to 8 features and 32,454 features.

Table 3
Number of featuresNumber of types of laboratory testsFeature added from a model with one less featureROC-AUCPR-AUCAccuracyF1-Score
113rd space of MCH0.521 (0.508, 0.533)0.172 (0.163, 0.181)0.544 (0.536, 0.553)0.268 (0.256, 0.280)
221st space of γ-GTP0.537 (0.522, 0.550)0.199 (0.187, 0.213)0.603 (0.594, 0.611)0.261 (0.246, 0.275)
334th space of Cre0.708 (0.697, 0.720)0.321 (0.303, 0.341)0.667 (0.659, 0.676)0.383 (0.369, 0.398)
444th space of HbA1c0.701 (0.690, 0.712)0.321 (0.304, 0.338)0.676 (0.668, 0.683)0.387 (0.372, 0.401)
553rd space of HDL-C0.703 (0.693, 0.715)0.312 (0.295, 0.330)0.662 (0.654, 0.670)0.382 (0.369, 0.396)
6611th space of eGFR0.749 (0.739, 0.760)0.337 (0.318, 0.354)0.680 (0.673, 0.688)0.421 (0.407, 0.435)
771st space of Hct0.777 (0.768, 0.786)0.379 (0.360, 0.400)0.723 (0.716, 0.730)0.443 (0.427, 0.456)
871st space of eGFR0.820 (0.811, 0.829)0.430 (0.410, 0.451)0.754 (0.747, 0.761)0.500 (0.485, 0.515)
32,4541202(all features)0.831 (0.822, 0.839)0.466 (0.445, 0.489)0.772 (0.765, 0.779)0.500 (0.484, 0.516)

The ROC-AUC remained almost unchanged when the number of features reduced from 32,454 to 8 and kept high performance above our goal of 0.775 until 6 features.

Table 4

Laboratory test characteristics for the 8 selected features.

Table 4
Characteristic/Laboratory testRD (N = 7888)not_RD (N = 37,659)P value
Sex<0.001
 Male, n (%)5156 (65.4)23,745 (63.1)
 Female, n (%)2732 (34.6)13,914 (36.9)
Age69.3 (10.7)65.0 (12.2)<0.001
3rd space of MCH, mean (SD)30.4 (2.5)30.4 (2.2)0.003
 Missing963 (12.2)3902 (10.4)<0.001
 <27.5, n (%)658 (8.3)2842 (7.5)
 27.5–33.2, n (%)5661 (71.8)28,887 (76.7)
 ≥33.2, n (%)606 (7.7)2028 (5.4)
1st space of γ-GTP, mean (SD)61.1 (109.4)44.4 (63.5)<0.001
 Missing695 (8.8)3186 (8.5)0.31
 <50, n (%)5149 (65.3)26,407 (70.1)
 50–100, n (%)1134 (14.4)5354 (14.2)
 ≥100, n (%)910 (11.5)2712 (7.2)
4th space of Cre
 Male, mean (SD)1.1 (0.6)1.1 (1.4)<0.001
 Missing720 (9.1)2355 (6.3)<0.001
 <0.65197 (3.8)3375 (14.2)
 0.65–1.093192 (61.9)15,688 (66.1)
 ≥1.091047 (20.3)2327 (9.8)
 Female, mean (SD)0.8 (0.5)0.7 (0.9)<0.001
 Missing359 (4.6)1427 (3.8)<0.001
 <0.4693 (3.4)1216 (8.7)
 0.46–0.821756 (64.3)10,356 (74.4)
 ≥0.82524 (19.2)915 (6.6)
4th space of HbA1c, mean (SD)7.0 (1.1)7.2 (1.1)<0.001
 Missing1929 (24.5)7099 (18.9)<0.001
 <6867 (11.0)2821 (7.5)
 6-72202 (27.9)12,010 (31.9)
 7-81967 (24.9)10,905 (29.0)
 ≥8923 (11.7)4824 (12.8)
3rd space of HDL-C, mean (SD)57.6 (18.0)59.8 (17.5)<0.001
 Missing2864 (36.3)9301 (24.7)<0.001
 hdlc<40703 (8.9)2529 (6.7)
 0-1204287 (54.3)25,660 (68.1)
 ≥12034 (0.4)169 (0.4)
11th space of eGFR, mean (SD)64.4 (21.0)78.4 (25.9)<0.001
 Missing2611 (33.1)9151 (24.3)<0.001
 <15111 (1.4)786 (2.1)
 15-30154 (2.0)401 (1.1)
 30-44489 (6.2)855 (2.3)
 45-59972 (12.3)1386 (3.7)
 60-893195 (40.5)18,493 (49.1)
 ≥90356 (4.5)6587 (17.5)
1st space of Hct
 Male, mean (SD)39.2 (6.3)41.9 (5.5)<0.001
 Missing61 (0.8)609 (1.6)<0.001
 <37.11730 (33.6)3955 (16.7)
 37.1–50.73287 (63.8)18,437 (77.6)
 ≥50.778 (1.5)744 (3.1)
 Female, mean (SD)37.8 (4.9)39.9 (4.3)<0.001
 Missing48 (0.6)310 (0.8)0.13
 <34.0584 (21.4)1257 (9.0)
 34.0–44.81930 (70.6)10,766 (77.4)
 ≥44.8170 (6.2)1581 (11.4)
1st space of eGFR, mean (SD)62.5 (20.5)77.9 (26.9)<0.001
 Missing0 (0.0)0 (0.0)>0.99
 <15201 (2.5)1096 (2.9)
 15-30264 (3.3)582 (1.5)
 30-44799 (10.1)1185 (3.1)
 45-591639 (20.8)2111 (5.6)
 60-894502 (57.1)24,085 (64.0)
 ≥90483 (6.1)8600 (22.8)

The features were named, in the order from newest to oldest test with a 2-week spacing, as “1st_space_of_LabTest”, “2nd_space_of_LabTest “, …, “27th_space_of_LabTest”.

Source: Prediction performance for various numbers of feature

Results: Features statistical characteristics

We calculated VIF to check for multicollinearity. The VIF values of the selected 8 feature (Table 5) were all well below 10, showing a lack of strong multicollinearity.

Table 5

VIF in 8 features.

Table 5
FeatureVIF
3rd space of MCH2.857
1st space of γ-GTP1.022
4th space of Cre4.281
4th space of HbA1c1.860
3rd space of HDL-C1.483
11th space of eGFR1.490
1st space of Hct1.304
1st space of eGFR3.427
Source: Features statistical characteristics

Study limitations

What limitations does the paper describe?

Our study has notable limitations. First, the data were sourced from a single hospital, limiting generalizability. Further research using diverse hospital data is needed. Secondly, missing values in the data source may influence the importance of features. The proposed model treats missing values as a categorical feature, resulting in outcomes that include not only the magnitude of lab test values but also the presence or absence of lab tests. Thirdly,

due to the limited understanding of the mechanism of RD, it was challenging to accurately identify and control potential confounding factors among laboratory tests. As a result, we did not explicitly adjust for confounding variables in our analysis. These results therefore need to be interpreted with caution. Fourthly, the features selected by RFECV may not necessarily be the optimal combination. Although RFECV improves the quality of selection by combining RFECV with cross-validation, there remains a slight possibility that it will converge to locally optimal features.

Fifthly, including the period of the COVID-19 pandemic in the data source may contain trends different from the current treatment state. Sixthly, there is a tendency for more frequent eGFR tests among severe patients, potentially leading to biased results. Finally, the number of test values varies from patient to patient, which may lead to different accuracy of predictions for different patients. In particular, features from patients with only a small number of laboratory tests are interpolated using nearest neighbor methods, resulting in reduced resolution of the timing of examinations.

Source: Limitations Source: Limitations

CRediT authorship contribution statement

Eri Nakahara: Writing – original draft, Visualization, Software, Methodology, Conceptualization. Kayo Waki: Writing – review & editing, Supervision, Funding acquisition, Data curation, Conceptualization. Hisashi Kurasawa: Writing – review & editing, Software, Methodology. Imari Mimura: Writing – review & editing, Supervision. Tomohisa Seki: Supervision, Data curation. Akinori Fujino: Supervision, Methodology. Nagisa Shiomi: Supervision. Masaomi Nangaku: Writing – review & editing, Supervision. Kazuhiko Ohe: Supervision.

Source: CRediT authorship contribution statement

Results

3.1

Patient characteristics

Our subject selection process (Fig. 2) started with 6863 candidates and yielded 3438 patients and their 45,547 decision points, including 1356 patients with an RD indication and their 7888 decision points that had an RD indication in the event window. We used the data from 2406 patients (70 %) for training and the data from 1032 patients (30 %) for testing. Our study design allowed for each patient to have multiple records. When tallied per patient, there was an average of 13.2 decision points per patient, with a standard deviation of 10.9.

There was a possibility of overfitting some patients, but we addressed this using the measures described in the “ML models” section. The prevalence of RD varied by month (Fig. 4), with an average prevalence of 3.1 %. The monthly prevalence of RD was approximately 3 % throughout the observation period. With preliminary data processing, 27 features were generated for each of 1202 types of laboratory test, resulting in a total of 32,454 features before RFECV. The detail of 1202 types of laboratory test shows in appendix Table 1.

Fig. 4

Prevalence rate of RD.

Fig. 4Figure image at the original source — open the original paper. This file is not included in this text import.

3.2

Performance metrics in training dataset and testing dataset

To check for overfitting, we examined the 6 performance metrics (ROC-AUC, PR-AUC, accuracy, recall, precision, F1-score) of the training and test datasets (Fig. 5). We used PR-AUC in the early stopping setting (Fig. 5). The results for all 6 performance metrics show that the predictive accuracy of models with a certain number of features or more was roughly the same, we achieved the target predictive accuracy, and there was no sign of higher accuracy under specific feature set conditions in either training or testing, indicating no overfitting.

Fig. 5

6 performance metrics of the training and test datasets.

Fig. 5Figure image at the original source — open the original paper. This file is not included in this text import.

3.3

Prediction performance for various numbers of feature

We assessed using different numbers of features for the prediction, varying from 32,454 features down to 1 feature (Fig. 6). Using all 32,454 features containing 1202 types of laboratory tests produced an average (95 % Cl) ROC-AUC of 0.831 (0.822, 0.839). The ROC-AUC remained almost unchanged when the number of features reduced from 32,454 to 8 and kept good performance above our goal of 0.775 until 6 features (Table 3). We chose the 8-feature version as our model because the ROC-AUC was high with 8 features but dropped sharply with 7 features.

The 8-feature model achieved average (95 % Cl) ROC-AUC, PR-AUC, Accuracy, and F1-scores of 0.820 (0.811, 0.829), 0.430 (0.410, 0.451), 0.754 (0.747, 0.761), and 0.500 (0.485, 0.515), respectively. The 8 remaining features were the 3rd space of mean corpuscular hemoglobin (MCH), 1st space of γ-glutamyl trans peptidase (γ-GTP), 4th space of creatinine (Cre), 4th space of HbA1c, 3rd space of high density lipoprotein cholesterol (HDL-C), 11th space of eGFR, 1st space of hematocrit (Hct), and 1st space of eGFR. The laboratory test characteristics for the 3438 patients shows that decision points of RD had a higher MCH, higher γ-GTP, higher Cre, lower HbA1c, lower HDL-C, lower eGFR, and lower Hct than those of not_RD (Table 4).

Furthermore, decision points of RD had more missing values for MCH, Cre, HbA1c, HDL-C, and eGFR than those of not_RD.

Fig. 6

Prediction performance for various numbers of features.

Fig. 6Figure image at the original source — open the original paper. This file is not included in this text import.

Table 3

Mean (95 % CI) prediction performance from 1 to 8 features and 32,454 features.

Table 3
Number of featuresNumber of types of laboratory testsFeature added from a model with one less featureROC-AUCPR-AUCAccuracyF1-Score
113rd space of MCH0.521 (0.508, 0.533)0.172 (0.163, 0.181)0.544 (0.536, 0.553)0.268 (0.256, 0.280)
221st space of γ-GTP0.537 (0.522, 0.550)0.199 (0.187, 0.213)0.603 (0.594, 0.611)0.261 (0.246, 0.275)
334th space of Cre0.708 (0.697, 0.720)0.321 (0.303, 0.341)0.667 (0.659, 0.676)0.383 (0.369, 0.398)
444th space of HbA1c0.701 (0.690, 0.712)0.321 (0.304, 0.338)0.676 (0.668, 0.683)0.387 (0.372, 0.401)
553rd space of HDL-C0.703 (0.693, 0.715)0.312 (0.295, 0.330)0.662 (0.654, 0.670)0.382 (0.369, 0.396)
6611th space of eGFR0.749 (0.739, 0.760)0.337 (0.318, 0.354)0.680 (0.673, 0.688)0.421 (0.407, 0.435)
771st space of Hct0.777 (0.768, 0.786)0.379 (0.360, 0.400)0.723 (0.716, 0.730)0.443 (0.427, 0.456)
871st space of eGFR0.820 (0.811, 0.829)0.430 (0.410, 0.451)0.754 (0.747, 0.761)0.500 (0.485, 0.515)
32,4541202(all features)0.831 (0.822, 0.839)0.466 (0.445, 0.489)0.772 (0.765, 0.779)0.500 (0.484, 0.516)

The ROC-AUC remained almost unchanged when the number of features reduced from 32,454 to 8 and kept high performance above our goal of 0.775 until 6 features.

Table 4

Laboratory test characteristics for the 8 selected features.

Table 4
Characteristic/Laboratory testRD (N = 7888)not_RD (N = 37,659)P value
Sex<0.001
 Male, n (%)5156 (65.4)23,745 (63.1)
 Female, n (%)2732 (34.6)13,914 (36.9)
Age69.3 (10.7)65.0 (12.2)<0.001
3rd space of MCH, mean (SD)30.4 (2.5)30.4 (2.2)0.003
 Missing963 (12.2)3902 (10.4)<0.001
 <27.5, n (%)658 (8.3)2842 (7.5)
 27.5–33.2, n (%)5661 (71.8)28,887 (76.7)
 ≥33.2, n (%)606 (7.7)2028 (5.4)
1st space of γ-GTP, mean (SD)61.1 (109.4)44.4 (63.5)<0.001
 Missing695 (8.8)3186 (8.5)0.31
 <50, n (%)5149 (65.3)26,407 (70.1)
 50–100, n (%)1134 (14.4)5354 (14.2)
 ≥100, n (%)910 (11.5)2712 (7.2)
4th space of Cre
 Male, mean (SD)1.1 (0.6)1.1 (1.4)<0.001
 Missing720 (9.1)2355 (6.3)<0.001
 <0.65197 (3.8)3375 (14.2)
 0.65–1.093192 (61.9)15,688 (66.1)
 ≥1.091047 (20.3)2327 (9.8)
 Female, mean (SD)0.8 (0.5)0.7 (0.9)<0.001
 Missing359 (4.6)1427 (3.8)<0.001
 <0.4693 (3.4)1216 (8.7)
 0.46–0.821756 (64.3)10,356 (74.4)
 ≥0.82524 (19.2)915 (6.6)
4th space of HbA1c, mean (SD)7.0 (1.1)7.2 (1.1)<0.001
 Missing1929 (24.5)7099 (18.9)<0.001
 <6867 (11.0)2821 (7.5)
 6-72202 (27.9)12,010 (31.9)
 7-81967 (24.9)10,905 (29.0)
 ≥8923 (11.7)4824 (12.8)
3rd space of HDL-C, mean (SD)57.6 (18.0)59.8 (17.5)<0.001
 Missing2864 (36.3)9301 (24.7)<0.001
 hdlc<40703 (8.9)2529 (6.7)
 0-1204287 (54.3)25,660 (68.1)
 ≥12034 (0.4)169 (0.4)
11th space of eGFR, mean (SD)64.4 (21.0)78.4 (25.9)<0.001
 Missing2611 (33.1)9151 (24.3)<0.001
 <15111 (1.4)786 (2.1)
 15-30154 (2.0)401 (1.1)
 30-44489 (6.2)855 (2.3)
 45-59972 (12.3)1386 (3.7)
 60-893195 (40.5)18,493 (49.1)
 ≥90356 (4.5)6587 (17.5)
1st space of Hct
 Male, mean (SD)39.2 (6.3)41.9 (5.5)<0.001
 Missing61 (0.8)609 (1.6)<0.001
 <37.11730 (33.6)3955 (16.7)
 37.1–50.73287 (63.8)18,437 (77.6)
 ≥50.778 (1.5)744 (3.1)
 Female, mean (SD)37.8 (4.9)39.9 (4.3)<0.001
 Missing48 (0.6)310 (0.8)0.13
 <34.0584 (21.4)1257 (9.0)
 34.0–44.81930 (70.6)10,766 (77.4)
 ≥44.8170 (6.2)1581 (11.4)
1st space of eGFR, mean (SD)62.5 (20.5)77.9 (26.9)<0.001
 Missing0 (0.0)0 (0.0)>0.99
 <15201 (2.5)1096 (2.9)
 15-30264 (3.3)582 (1.5)
 30-44799 (10.1)1185 (3.1)
 45-591639 (20.8)2111 (5.6)
 60-894502 (57.1)24,085 (64.0)
 ≥90483 (6.1)8600 (22.8)

The features were named, in the order from newest to oldest test with a 2-week spacing, as “1st_space_of_LabTest”, “2nd_space_of_LabTest “, …, “27th_space_of_LabTest”.

3.4

Features statistical characteristics

We calculated VIF to check for multicollinearity. The VIF values of the selected 8 feature (Table 5) were all well below 10, showing a lack of strong multicollinearity.

Table 5

VIF in 8 features.

Table 5
FeatureVIF
3rd space of MCH2.857
1st space of γ-GTP1.022
4th space of Cre4.281
4th space of HbA1c1.860
3rd space of HDL-C1.483
11th space of eGFR1.490
1st space of Hct1.304
1st space of eGFR3.427
Table 1

Comparison of previous studies using static analysis and ML.

Table 1
TypeAuthorDefinition of RDTarget patientsAssociation factor of RDPerformance index (ROC-AUC)
static analysisKrolewski et al. (2014)[8]eGFR decline ≥3.3 %/yearT1D and albuminuria (N = 277)high HbA1c, high systolic blood pressure, older age, high uric acid value, high TNFR-1, high TNFR-2, low eGFR–
static analysisZoppini et al. (2012) [4]eGFR decline ≥4 %/yearT2D and albuminuria (N = 699)high albuminuria, high eGFR, high body mass index, high systolic blood pressure, cardiovascular disease, older age, insulin therapy–
static analysisJiang et al. (2019) [13]eGFR decline ≥3.1 %/yearT2D and albuminuria (N = 4685)high HbA1c, low LDL-C, low eGFR, high blood pressure, retinopathy, moderately increased albuminuria–
static analysisVistisen et al. (2019) [9]eGFR decline ≥2.8 %/yearT2D and albuminuria (N = 857)no statin, no renin-angiotensin system blockers, older age, low eGFR, less exercise–
static analysisBjornstad et al. (2015) [23]eGFR decline >3 mL/min/1.73 m2/yearT1D (N = 519)HbA1c, systolic blood pressure, LDL-C, diabetes duration, estimated insulin sensitivity, baseline albumin/creatinine ratio–
static analysisSheen et al. (2014) [24]eGFR decline >5 mL/min/1.73 m2/yearT2D, review paperethnic/genetic and demographic causes, smoking habits, increased glycated hemoglobin levels, obesity, albuminuria, anemia, low serum magnesium levels, high serum phosphate levels, vitamin D deficiency, elevated systolic blood pressure, pulse pressure, brachial-ankle pulse wave velocity values, retinopathy, cardiac autonomic neuropathy–
static analysisYokoyama et al. (2011) [10]eGFR decline ≥4 %/yearT2D (N = 1100)high eGFR, high HbA1c, high systolic blood pressure, low total protein, presence of retinopathy–
static analysisWang et al. (2019) [25]eGFR decline >5 mL/min per 1.73 m2/yearT2D (N = 128)a family history of diabetes, higher degree of proteinuria, higher grades of glomerular pathology class, higher interstitial fibrosis and tubular atrophy, interstitial inflammation–
static analysisFujii et al. (2023) [11]eGFR decline ≥10 %/yearT2D, T1D (N = 10,712,577)high systolic blood pressure, poor or strict diabetes control, increased urinary protein excretion, decreased blood hemoglobin levels–
static analysisXie et al. (2023) [33]eGFR decline >5 mL/min/1.73 m2/yearT2D (N = 526)anemia–
static analysisLi et al. (2023) [26]eGFR decline >5 mL/min/1.73 m2/yearT2D (N = 573,860)lifestyles (skipping breakfast, regular smoking, a lack of habitual exercise, late-night dinners, non-refreshing sleep, and a high alcohol intake)–
static analysisYoshida et al. (2020) [12]eGFR decline ≥10 %/yearT1D, T2D (N = 9010)older age, higher basal eGFR, higher urinary albumin to creatinine ratio , higher systolic blood pressure–
MLInaguma et al. (2020) [20]eGFR decline ≥30 % within 2 yearsCKD patients (N = 9911)urine protein, hemoglobin, total cholesterol, uric acid0.73
MLHirakawa et al. (2022) [21]eGFR decline ≥10 %/yearDKD patients (N = 150)systolic blood pressure, urinary albumin, and urinary metabolites such as threnodic acid, trigonelline, urinary metabolite (urinary 1-Methylpyridin-1- ium )0.775

The definition of RD varies somewhat across studies. Several predictors of RD, such as HbA1c, have been identified.

Source: Results Source: Results Source: Results Source: Results Source: Results

Conclusions

The proposed model accurately predicts RD in DKD patients, aiding physicians in understanding RD. The contributing laboratory tests (MCH, γ-GTP, Cre, HbA1c, HDL-C, eGFR, and Hct) may serve as potential alternative biomarkers for RD. In this experiment, we conducted experiments using EHRs from a hospital with a relatively high number of severe patients. We think that this technology can be applied not only to identify RD patients early and start treatment, but also to improve the efficiency of subject selection for clinical trials.

Going forward, we intend to expand our study to include EHRs from multiple facilities and further strengthen the evidence base.

Source: Conclusions
Authors’ abstract

Background

Diabetic kidney disease (DKD) is one of the typical complications of type 2 diabetes (T2D), with approximately 10 % of DKD patients experiencing a Rapid decline (RD) in kidney function. RD leads to an increased risk of poor outcomes such as the need for dialysis. Albuminuria is a known kidney damage biomarker for DKD, yet RD cases do not always show changes in albuminuria, and the exact mechanism of RD remains unclear. Previous studies focused on a limited number of laboratory tests, no comprehensive study targeting a wide range of laboratory tests has been done.

We target to develop a model that predicts RD among T2D and points to key laboratory tests of interest in understanding RD from various laboratory tests.

Methods

Our machine learning model predicts whether RD, as represented via eGFR, will happen within 1 year. Additionally, the model uses Recursive feature elimination with cross-validation (RFECV) to eliminate the features that do not contribute to the prediction. We trained and assessed the model using 1202 types of laboratory tests from 3438 diabetes patients at the University of Tokyo Hospital.

Result

The means (95 % confidence interval) of the receiver operating characteristic area under the curve (ROC-AUC), precision-recall area under the curve, accuracy rate, and F1-score of an 8-feature-model were 0.820 (0.811, 0.829), 0.430 (0.410, 0.451), 0.754 (0.747, 0.761), and 0.500 (0.485, 0.515), respectively. The RFECV revealed that 7 test types (MCH, γ-GTP, Cre, HbA1c, HDL-C, eGFR, and Hct) contributed to RD prediction. The model's ROC-AUC of 0.820 improves on the ROC-AUC of 0.775 seen in previous studies.

Conclusion

The proposed model accurately predicts RD among diabetes patients and helps physicians focus on inhibiting progression of kidney damage. The contributing laboratory tests may serve as alternative biomarkers for DKD.

Read the full paper
1

Introduction

Diabetic kidney disease (DKD) is one of the typical complications of type 2 diabetes (T2D) and affects approximately 20 % of the 400 million individuals with diabetes globally [1]. DKD typically initially presents as moderately increased albuminuria and progresses to severely increased albuminuria as the disease advances. Ultimately, DKD leads to a decline in kidney function, necessitating long-term dialysis therapy. Physicians need to identify early signs of DKD in diabetes patients to support early referral to a nephrologist in order to prepare for dialysis.

In recent years, a subset of diabetes patients has exhibited a sudden and precipitous decline in kidney function, termed Rapid decline (RD) [[2], [3], [4], [5], [6]]. Albuminuria is known to be a kidney damage biomarker in DKD and is commonly seen as diabetes progresses, but RD has a rapid deterioration in kidney function not always associated with prominent albuminuria.

In previous studies, RD has been indicated by the decline in the slope of the estimated glomerular filtration rate (eGFR) greater than 5 mL/min/1.73 m2/year [5] or by a loss of eGFR of from 2.8 % to 10 % per year or greater [[2], [7], [8], [9], [10], [11], [12], [13], [21]]. A cohort study in Japan revealed the prevalence of DKD was 52 %, and 12 % of these DKD patients had RD indicated [12].

RD has been reported to be a predictor of future kidney failure [[14], [15], [16]]. Currently, there is little understanding about the mechanisms underlying the progression of RD.

Since some cases of RD do not exhibit changes in albuminuria, studies have worked on detecting signs of RD using alternative methods. One approach is to find biomarkers related to RD, such as the measurement of serum TNF receptors (TNFR) [17] or microRNA [18,19]. However, measuring these items in all diabetes patients within the routine clinical practice of diabetes care is challenging. Many laboratory tests are already being carried out in daily diabetes care, and it would be very useful if signs of RD could be found among them.

Factors associated with RD have been identified and include high hemoglobin A1c (HbA1c), high systolic blood pressure, older age, and low low-density lipoprotein cholesterol (LDL-C). Machine learning (ML) has been used to predict RD using these factors [20,21] (Table 1). A study predicted RD among 19,894 diabetes patients based on changes in eGFR by using the Random Forest method [22], resulting in an ROC-AUC of 0.73 [20]. A second predicted RD with an ROC-AUC of 0.775 using an ML model that uses binary (e.g., sex, family history of diabetes), multi-categorical (e.g., urine nitrous acid (U-NIT), urine urobilinogen (U-UBG)), and quantitative features (e.g., body height and hemoglobin) as inputs [21].

Most studies on predicting RD have focused on a limited number of specific laboratory tests. No comprehensive study targeting a wide range of laboratory tests has been done. When increasing the number of laboratory tests targeted by ML, two challenges are overfitting and missing data [27,28]. This study used Light Gradient Boosting Machine (LightGBM) [29] and Recursive Feature Elimination with Cross-Validation (RFECV) [30] to address these problems. LightGBM is a gradient boosting framework that uses tree-based learning algorithms and is acknowledged for its superior predictive performance [31,32].

Even when given a huge variety of interpolated and quantized laboratory test values as input, LightGBM avoids overfitting with built-in regularization techniques. RFECV enhances accuracy, reduces overfitting, and improves interpretability by iteratively removing less important features to focus on key data.

Table 1

Comparison of previous studies using static analysis and ML.

Table 1
TypeAuthorDefinition of RDTarget patientsAssociation factor of RDPerformance index (ROC-AUC)
static analysisKrolewski et al. (2014)[8]eGFR decline ≥3.3 %/yearT1D and albuminuria (N = 277)high HbA1c, high systolic blood pressure, older age, high uric acid value, high TNFR-1, high TNFR-2, low eGFR–
static analysisZoppini et al. (2012) [4]eGFR decline ≥4 %/yearT2D and albuminuria (N = 699)high albuminuria, high eGFR, high body mass index, high systolic blood pressure, cardiovascular disease, older age, insulin therapy–
static analysisJiang et al. (2019) [13]eGFR decline ≥3.1 %/yearT2D and albuminuria (N = 4685)high HbA1c, low LDL-C, low eGFR, high blood pressure, retinopathy, moderately increased albuminuria–
static analysisVistisen et al. (2019) [9]eGFR decline ≥2.8 %/yearT2D and albuminuria (N = 857)no statin, no renin-angiotensin system blockers, older age, low eGFR, less exercise–
static analysisBjornstad et al. (2015) [23]eGFR decline >3 mL/min/1.73 m2/yearT1D (N = 519)HbA1c, systolic blood pressure, LDL-C, diabetes duration, estimated insulin sensitivity, baseline albumin/creatinine ratio–
static analysisSheen et al. (2014) [24]eGFR decline >5 mL/min/1.73 m2/yearT2D, review paperethnic/genetic and demographic causes, smoking habits, increased glycated hemoglobin levels, obesity, albuminuria, anemia, low serum magnesium levels, high serum phosphate levels, vitamin D deficiency, elevated systolic blood pressure, pulse pressure, brachial-ankle pulse wave velocity values, retinopathy, cardiac autonomic neuropathy–
static analysisYokoyama et al. (2011) [10]eGFR decline ≥4 %/yearT2D (N = 1100)high eGFR, high HbA1c, high systolic blood pressure, low total protein, presence of retinopathy–
static analysisWang et al. (2019) [25]eGFR decline >5 mL/min per 1.73 m2/yearT2D (N = 128)a family history of diabetes, higher degree of proteinuria, higher grades of glomerular pathology class, higher interstitial fibrosis and tubular atrophy, interstitial inflammation–
static analysisFujii et al. (2023) [11]eGFR decline ≥10 %/yearT2D, T1D (N = 10,712,577)high systolic blood pressure, poor or strict diabetes control, increased urinary protein excretion, decreased blood hemoglobin levels–
static analysisXie et al. (2023) [33]eGFR decline >5 mL/min/1.73 m2/yearT2D (N = 526)anemia–
static analysisLi et al. (2023) [26]eGFR decline >5 mL/min/1.73 m2/yearT2D (N = 573,860)lifestyles (skipping breakfast, regular smoking, a lack of habitual exercise, late-night dinners, non-refreshing sleep, and a high alcohol intake)–
static analysisYoshida et al. (2020) [12]eGFR decline ≥10 %/yearT1D, T2D (N = 9010)older age, higher basal eGFR, higher urinary albumin to creatinine ratio , higher systolic blood pressure–
MLInaguma et al. (2020) [20]eGFR decline ≥30 % within 2 yearsCKD patients (N = 9911)urine protein, hemoglobin, total cholesterol, uric acid0.73
MLHirakawa et al. (2022) [21]eGFR decline ≥10 %/yearDKD patients (N = 150)systolic blood pressure, urinary albumin, and urinary metabolites such as threnodic acid, trigonelline, urinary metabolite (urinary 1-Methylpyridin-1- ium )0.775

The definition of RD varies somewhat across studies. Several predictors of RD, such as HbA1c, have been identified.

The aim of this study is to develop an ML tool that accurately predicts RD using input from common laboratory tests performed in diabetes care, selecting tests and their timing that contribute to the prediction. The importance and originality of this study is that it explores factors associated with RD from 1202 clinical examinations in 3438 T2D patients. Based on the performance of prior studies [20,21], our goal is to achieve an ROC-AUC above 0.775 for the task of predicting RD among diabetes patients.

By selecting laboratory tests by balancing test frequency and contribution to prediction, we aim to have a model using a limited number of laboratory tests, with the expectation that such a parsimonious model is more likely to be adopted in clinical settings. Identifying patients who are likely to develop RD gives physicians early warning and allows them to refer patients to a nephrologist. The identification of the tests useful to the model may contribute to the understanding of RD.

2

Methods

2.1

Definition of RD and study design

According to the KDIGO 2012 clinical practice guidelines [5], RD is characterized by a decrease in eGFR over 1 year that is greater than 5 mL/min/1.73 m2/year. RD has been defined in different ways across studies (Table 1). While some studies define RD as a decline in the slope of eGFR [[23], [24], [25], [26],33], others use the criterion of a loss of eGFR percentage per year exceeding a certain threshold [2,[7], [8], [9], [10], [11], [12]].

In our observation, practicing physicians at the University of Tokyo Hospital generally decide that RD is indicated when eGFR is below 60 mL/min/1.73 m2, indicating kidney disease, and eGFR declines greater than 5 mL/min/1.73 m2/year, as estimated via visual examination of multiple eGFRs to estimate the slope, accounting for the effects of bias from the testing date and minor fluctuations.

Based on these studies and observations, we set this study's criteria for RD as having an eGFR below 60 mL/min/1.73 m2 and observing a decrease of 5 mL/min/1.73 m2 or more from 1 year ago to the indication point (the consultation date on which a patient measures eGFR and an indication of RD or not_RD is made), after smoothing using the Lowess method [34,35]. This smoothing was used to reduce the impact of different numbers of eGFR tests.

As a first step, we classified all indications as RD or not_RD.

Predictions are made at a decision point (a date on which a patient measures eGFR and an RD prediction is made), using inputs from an input window (a window from the decision point to 54 weeks prior) (Fig. 1). The prediction is whether RD will be indicated in the event window (a window of 1 year following the decision point). For each patient, we ceased predictions once RD was indicated. The timing avoids making predictions at inappropriate times - when RD has already been indicated, when there is not at least 1 eGFR measurement in the input window, and when there are no measurements in the event window.

Our ML task is to predict at each decision point if the indication of RD will occur within the event window based on laboratory test values collected within the input window.

Fig. 1

Illustration of input windows, decision points, event windows, and indication points.

Fig. 1Figure image at the original source — open the original paper. This file is not included in this text import.

To prevent the misclassification of RD, one possible approach is to set a threshold for the number of eGFR tests or the value of eGFR like Nojima's et al. [35] However, the purpose of our ML model is designed to identify patients at high RD risk and quickly refer them to specialists. To ensure that no potential cases are overlooked, we did not set such a threshold based on the advice of nephrologists. Therefore, we classified all cases with a potential risk of RD as RD, regardless of the number of eGFR tests conducted.

Moreover, we adopted a policy of using multiple decision points from a single patient. We think that using multiple data points matches the way that physicians treat patients over a trajectory of visits and can lead to better predictive models because the scale of data available for model training is larger. This approach is a good way to build better models with limed EHR data. This method has also been shown to be effective in a previous study [20].

2.2

Data source

Our participant-selection process used 2 data sources, electronic health records (EHRs) at the University of Tokyo Hospital and the Japan diabetes comprehensive database project based on an Advanced electronic medical record system (J-DREAMS) [36]. J-DREAMS is a database of patients with diabetes in Japan launched by the National Center for Global Health and Medicine and the Japan Diabetes Society. J-DREAMS registers both outpatients and inpatients with diabetes who are treated by diabetologists at participating institutions. The University of Tokyo Hospital is also one of the participating institutions in the J-DREAMS project.

The database includes standardized information on patients' physical conditions, medical histories, and complications. In this study, we extracted demographic and laboratory test data from EHRs at the University of Tokyo Hospital, and diagnostic codes (ICD-10) and information of kidney dialysis and kidney transplant from J-DREAMS. We obtained data from a general hospital in Japan. This hospital offers a wide range of medical services beyond just diabetes care, allowing for comprehensive consideration of patients’ overall health conditions. Compared to data from a single clinic specializing in a particular department, the data from this general hospital includes a broader spectrum of patient backgrounds and comorbidities, making it more representative of the general patient population.

Therefore, we think that the data from this general hospital provides a more reliable foundation for evaluating RD and offers findings that are more applicable to a general patient population compared to data from a single clinic.

Initially, our data consisted of patients who visited the University of Tokyo Hospital between January 1st, 2018, and August 31st, 2021, and registered in J-DREAMS (Fig. 2). We excluded patients who had never had any diagnostic codes indicating T2D (coded as ICD-10 E11) or unspecified diabetes (coded as ICD-10 E14), and then excluded patients who had ever had any diagnostic code indicating Type 1 Diabetes (T1D, coded as ICD-10 E10), malnutrition-related diabetes (coded as ICD-10 E12), or other specified diabetes (coded as ICD-10 E13).

We then filtered down to the patients who had at least 1 eGFR measurement during the period, as the model makes predictions at decision points defined by the occurrence of an eGFR measurement. In our analysis, each patient had multiple visits during the analysis period, so events of dialysis and kidney transplant may have changed during the analysis period. Therefore, we checked each eGFR test date and excluded test dates where patients had a kidney transplant or kidney dialysis before the test date.

Patients may have had more than one instance of these excluded conditions. We also excluded eGFR test dates if they were after or on the date of an RD indication or if there were no other eGFR test dates within 1 year after the eGFR test date. Each remaining eGFR test date between January 1st, 2018, and August 31st, 2020, was used as a decision point. For each decision point, we prepared labels to indicate whether RD is included in the event window and made a set of input values that were included in the input window for that decision point.

Fig. 2

Patient selection process.

Fig. 2Figure image at the original source — open the original paper. This file is not included in this text import.

Dialysis and kidney transplant event are not relevant to the decision point and event window decision process. These events were used only to ensure that no data were recorded after the date of dialysis and kidney transplant.

2.3

Laboratory tests used as features

Laboratory test values at each time were used as features because we expected that the rate of change of each test value might be significant. We obtained laboratory data from the EHR database that used standardized Japanese Laboratory Code Version 10 (JLAC10) [37]. As preliminary data processing, we used the nearest-neighbor method to interpolate the sparse data, producing daily values for each patient and each input window. We did not extrapolate (In the example shown in Fig. 1, eGFR tests were performed 1, 29, and 64 days before the decision point, and the eGFR test values from 2 to 28 days ago and from 30 to 63 days ago were then interpolated.).

All cases where there was no value in the input window were treated as missing. Then, we quantized the input data into equally-spaced values (with a 2-week spacing) [38] and calculated the logarithm of the average as a representative value for the 2-week period. The test results were transformed into tabular data. The features were named, in the order from newest to oldest test, as “1st_space_of_LabTest”, “2nd_space_of_LabTest ", …, “27th_space_of_LabTest”. Thus, each laboratory test has 27 features within the 54-week window.

2.4

ML models

We designed an ML model that takes as input laboratory test values spanning over the past 54 weeks and outputs a score representing the probability of whether the patient will have an indication of RD within the next year and a binary decision based on whether the probability is greater than or equal to 0.5. The score ranges from 0 to 1, with a threshold of 0.5 indicating an equal probability of having an indication of RD within the next year versus not having one.

We used LightGBM [29] for the model architecture. LightGBM is a highly efficient algorithm capable of handling large-scale tabular datasets, making it well-suited for our research using various kinds of laboratory tests. LightGBM also treats missingness as a feature. Previous studies of similar T2D prediction tasks showed good performance using LightGBM [31,32], so we selected this algorithm. RFECV is a feature selection algorithm eliminating features based on feature importance. By reducing the feature set, RFECV contributes to a simpler and more generalizable model.

RFECV has an advantage over other feature selection methods in that it does not rely on a specific algorithm and adaptively identifies the optimal features for the model. A similar method to RFECV is a feature selection based on feature importance. RFECV aims to find the optimal subset of features, whereas feature importance ranks all features based on their contribution to the model. Since the goal of this work is to find optimal subsets of laboratory tests to indicate RD, RFECV was used.

Combining RFECV with LightGBM allows for the construction of a highly accurate model while improving interpretability.

To prevent to over fitting and data leakage, we performed the evaluation by combining the holdout verification and the bootstrap methods (Fig. 3). First, we randomly split the patients using a 70–30 ratio, with 70 % of the patients for training and the remaining 30 % for testing. There is no overlap between the patients in the training and test datasets. Second, we optimized the 5 parameters for LightGBM (bagging_fraction, bagging_freq, feature_fraction, lambda_l1, lambda_l2) using the Optuna library [39] and the training dataset (Table 2).

We searched for the best parameters using 100 trials to maximize the area under the precision-recall curve (PR-AUC) using Optuna library. Third, we selected features using RFECV and created models for each feature set selected by RFECV in the training dataset, using parameters optimized by Optuna. While applying RFECV, we eliminated 5 % of the features at each iteration while there were more than 40 features. We then eliminated features one by one, down to 1 feature. We created models for each feature set selected by RFECV using the training dataset.

To prevent overfitting, we set the early stopping option in LightGBM. If no improvement in PR-AUC was observed after 50 iterations, training was stopped. Finally, to evaluate prediction performances of each feature set, we used the bootstrap method [41] in the testing dataset. We resampled from the test dataset, with replacement, 1000 times to generate 1000 samples. By calculating the predictive accuracy for each sample, we determined the 95 % CI. We confirmed overfitting by visualizing performance metric trends for both the training and test datasets.

If the performance metrics of the test dataset were lower than that of the metrics of the training dataset, we can determine that overfitting did not occur.

Fig. 3

The process of feature selection and leaning models.

Fig. 3Figure image at the original source — open the original paper. This file is not included in this text import.

Table 2

LightGBM Model details.

Table 2
ConfigureValueTune of Optuna
bagging_fraction1✓
bagging_freq0✓
boostingGbdt
deterministicTRUE
device typeCuda
feature_fraction0.852✓
feature_pre_filterFALSE
force_col_wiseTRUE
lambda_l19.998✓
lambda_l22.561✓
learning_rate0.05
max_depth10
metricPR-AUC
min_child_samples100
n_jobs−1
n_estimater1000
num_leaves50
objectivecross entropy loss
stratifiedTRUE
threshold0.5
feature importancegain
GPUcuda12.2
libraryPython 3.11, Scikit-lean 2.2.0 [40] and LightGBM 3.3.1 [29], Optuna 2.10.0 [39].

Five of the parameters were optimized with Optuna.

2.5

Statistical methods and data usage

We analyzed the characteristics of patients in the dataset using means, standard deviation, and frequency counts. We performed all statistical analyses using custom Python code. P values comparing RD and not_RD were computed using the Fisher exact test for categorical variables and missing rates and Mann-Whitney U test for continuous variables.

We assessed the predictive accuracy of classification models using the receiver operating characteristic (ROC) area under the curve (AUC), PR-AUC, accuracy rate, and F1-score. ROC captures the relationship between the true positive rate (sensitivity) on the y-axis and the false positive rate on the x-axis. The ROC curve varies based on the selection of threshold, with a tradeoff between true positives and false positives. The AUC, calculated by numerically integrating the area under the ROC curve, assesses overall discriminatory performance across thresholds, with a higher ROC-AUC score indicating better overall discriminatory performance.

Similarly, the PR curve has the proportion of correctly identified positive cases among all cases predicted as positive (precision) on the y-axis and the proportion of correctly identified positive cases among all actual positive cases (recall) on the x-axis, and the PR-AUC is the area under the precision-recall (PR) curve. A higher PR-AUC score signifies better precision in identifying positive cases while mitigating false positives [42]. The accuracy rate is the percentage of all predictions in a given dataset that are correctly predicted.

The F1-score is the harmonic mean of precision and recall.

In addition, selected variance inflation factors (VIF) are calculated to identify the effects of multicollinearity. VIF is one indicator of multicollinearity, and if the value is large, it may be better to remove the variable from the analysis. In general, a VIF >10 indicates strong multicollinearity. We calculate correlation using the Pearson product-moment correlation coefficient method. The VIFs are calculated using statsmodels 0.14.2 [43].

2.6

Ethical considerations

This study was approved by the Institutional Review Board of the University of Tokyo School of Medicine (approval number: 10,705) and was conducted in accordance with the Declaration of Helsinki. This was a retrospective, non-interventional database study without patient involvement. Confidentiality was safeguarded by the University of Tokyo Hospital. According to the Guidelines for Epidemiological Studies of the Ministry of Health, Labour and Welfare of Japan [44], written informed consent was not required. Information about the current study was available to patients on a website, and patients have the right to cease registration of their data at any time [45].

3

Results

3.1

Patient characteristics

Our subject selection process (Fig. 2) started with 6863 candidates and yielded 3438 patients and their 45,547 decision points, including 1356 patients with an RD indication and their 7888 decision points that had an RD indication in the event window. We used the data from 2406 patients (70 %) for training and the data from 1032 patients (30 %) for testing. Our study design allowed for each patient to have multiple records. When tallied per patient, there was an average of 13.2 decision points per patient, with a standard deviation of 10.9.

There was a possibility of overfitting some patients, but we addressed this using the measures described in the “ML models” section. The prevalence of RD varied by month (Fig. 4), with an average prevalence of 3.1 %. The monthly prevalence of RD was approximately 3 % throughout the observation period. With preliminary data processing, 27 features were generated for each of 1202 types of laboratory test, resulting in a total of 32,454 features before RFECV. The detail of 1202 types of laboratory test shows in appendix Table 1.

Fig. 4

Prevalence rate of RD.

Fig. 4Figure image at the original source — open the original paper. This file is not included in this text import.

3.2

Performance metrics in training dataset and testing dataset

To check for overfitting, we examined the 6 performance metrics (ROC-AUC, PR-AUC, accuracy, recall, precision, F1-score) of the training and test datasets (Fig. 5). We used PR-AUC in the early stopping setting (Fig. 5). The results for all 6 performance metrics show that the predictive accuracy of models with a certain number of features or more was roughly the same, we achieved the target predictive accuracy, and there was no sign of higher accuracy under specific feature set conditions in either training or testing, indicating no overfitting.

Fig. 5

6 performance metrics of the training and test datasets.

Fig. 5Figure image at the original source — open the original paper. This file is not included in this text import.

3.3

Prediction performance for various numbers of feature

We assessed using different numbers of features for the prediction, varying from 32,454 features down to 1 feature (Fig. 6). Using all 32,454 features containing 1202 types of laboratory tests produced an average (95 % Cl) ROC-AUC of 0.831 (0.822, 0.839). The ROC-AUC remained almost unchanged when the number of features reduced from 32,454 to 8 and kept good performance above our goal of 0.775 until 6 features (Table 3). We chose the 8-feature version as our model because the ROC-AUC was high with 8 features but dropped sharply with 7 features.

The 8-feature model achieved average (95 % Cl) ROC-AUC, PR-AUC, Accuracy, and F1-scores of 0.820 (0.811, 0.829), 0.430 (0.410, 0.451), 0.754 (0.747, 0.761), and 0.500 (0.485, 0.515), respectively. The 8 remaining features were the 3rd space of mean corpuscular hemoglobin (MCH), 1st space of γ-glutamyl trans peptidase (γ-GTP), 4th space of creatinine (Cre), 4th space of HbA1c, 3rd space of high density lipoprotein cholesterol (HDL-C), 11th space of eGFR, 1st space of hematocrit (Hct), and 1st space of eGFR. The laboratory test characteristics for the 3438 patients shows that decision points of RD had a higher MCH, higher γ-GTP, higher Cre, lower HbA1c, lower HDL-C, lower eGFR, and lower Hct than those of not_RD (Table 4).

Furthermore, decision points of RD had more missing values for MCH, Cre, HbA1c, HDL-C, and eGFR than those of not_RD.

Fig. 6

Prediction performance for various numbers of features.

Fig. 6Figure image at the original source — open the original paper. This file is not included in this text import.

Table 3

Mean (95 % CI) prediction performance from 1 to 8 features and 32,454 features.

Table 3
Number of featuresNumber of types of laboratory testsFeature added from a model with one less featureROC-AUCPR-AUCAccuracyF1-Score
113rd space of MCH0.521 (0.508, 0.533)0.172 (0.163, 0.181)0.544 (0.536, 0.553)0.268 (0.256, 0.280)
221st space of γ-GTP0.537 (0.522, 0.550)0.199 (0.187, 0.213)0.603 (0.594, 0.611)0.261 (0.246, 0.275)
334th space of Cre0.708 (0.697, 0.720)0.321 (0.303, 0.341)0.667 (0.659, 0.676)0.383 (0.369, 0.398)
444th space of HbA1c0.701 (0.690, 0.712)0.321 (0.304, 0.338)0.676 (0.668, 0.683)0.387 (0.372, 0.401)
553rd space of HDL-C0.703 (0.693, 0.715)0.312 (0.295, 0.330)0.662 (0.654, 0.670)0.382 (0.369, 0.396)
6611th space of eGFR0.749 (0.739, 0.760)0.337 (0.318, 0.354)0.680 (0.673, 0.688)0.421 (0.407, 0.435)
771st space of Hct0.777 (0.768, 0.786)0.379 (0.360, 0.400)0.723 (0.716, 0.730)0.443 (0.427, 0.456)
871st space of eGFR0.820 (0.811, 0.829)0.430 (0.410, 0.451)0.754 (0.747, 0.761)0.500 (0.485, 0.515)
32,4541202(all features)0.831 (0.822, 0.839)0.466 (0.445, 0.489)0.772 (0.765, 0.779)0.500 (0.484, 0.516)

The ROC-AUC remained almost unchanged when the number of features reduced from 32,454 to 8 and kept high performance above our goal of 0.775 until 6 features.

Table 4

Laboratory test characteristics for the 8 selected features.

Table 4
Characteristic/Laboratory testRD (N = 7888)not_RD (N = 37,659)P value
Sex<0.001
 Male, n (%)5156 (65.4)23,745 (63.1)
 Female, n (%)2732 (34.6)13,914 (36.9)
Age69.3 (10.7)65.0 (12.2)<0.001
3rd space of MCH, mean (SD)30.4 (2.5)30.4 (2.2)0.003
 Missing963 (12.2)3902 (10.4)<0.001
 <27.5, n (%)658 (8.3)2842 (7.5)
 27.5–33.2, n (%)5661 (71.8)28,887 (76.7)
 ≥33.2, n (%)606 (7.7)2028 (5.4)
1st space of γ-GTP, mean (SD)61.1 (109.4)44.4 (63.5)<0.001
 Missing695 (8.8)3186 (8.5)0.31
 <50, n (%)5149 (65.3)26,407 (70.1)
 50–100, n (%)1134 (14.4)5354 (14.2)
 ≥100, n (%)910 (11.5)2712 (7.2)
4th space of Cre
 Male, mean (SD)1.1 (0.6)1.1 (1.4)<0.001
 Missing720 (9.1)2355 (6.3)<0.001
 <0.65197 (3.8)3375 (14.2)
 0.65–1.093192 (61.9)15,688 (66.1)
 ≥1.091047 (20.3)2327 (9.8)
 Female, mean (SD)0.8 (0.5)0.7 (0.9)<0.001
 Missing359 (4.6)1427 (3.8)<0.001
 <0.4693 (3.4)1216 (8.7)
 0.46–0.821756 (64.3)10,356 (74.4)
 ≥0.82524 (19.2)915 (6.6)
4th space of HbA1c, mean (SD)7.0 (1.1)7.2 (1.1)<0.001
 Missing1929 (24.5)7099 (18.9)<0.001
 <6867 (11.0)2821 (7.5)
 6-72202 (27.9)12,010 (31.9)
 7-81967 (24.9)10,905 (29.0)
 ≥8923 (11.7)4824 (12.8)
3rd space of HDL-C, mean (SD)57.6 (18.0)59.8 (17.5)<0.001
 Missing2864 (36.3)9301 (24.7)<0.001
 hdlc<40703 (8.9)2529 (6.7)
 0-1204287 (54.3)25,660 (68.1)
 ≥12034 (0.4)169 (0.4)
11th space of eGFR, mean (SD)64.4 (21.0)78.4 (25.9)<0.001
 Missing2611 (33.1)9151 (24.3)<0.001
 <15111 (1.4)786 (2.1)
 15-30154 (2.0)401 (1.1)
 30-44489 (6.2)855 (2.3)
 45-59972 (12.3)1386 (3.7)
 60-893195 (40.5)18,493 (49.1)
 ≥90356 (4.5)6587 (17.5)
1st space of Hct
 Male, mean (SD)39.2 (6.3)41.9 (5.5)<0.001
 Missing61 (0.8)609 (1.6)<0.001
 <37.11730 (33.6)3955 (16.7)
 37.1–50.73287 (63.8)18,437 (77.6)
 ≥50.778 (1.5)744 (3.1)
 Female, mean (SD)37.8 (4.9)39.9 (4.3)<0.001
 Missing48 (0.6)310 (0.8)0.13
 <34.0584 (21.4)1257 (9.0)
 34.0–44.81930 (70.6)10,766 (77.4)
 ≥44.8170 (6.2)1581 (11.4)
1st space of eGFR, mean (SD)62.5 (20.5)77.9 (26.9)<0.001
 Missing0 (0.0)0 (0.0)>0.99
 <15201 (2.5)1096 (2.9)
 15-30264 (3.3)582 (1.5)
 30-44799 (10.1)1185 (3.1)
 45-591639 (20.8)2111 (5.6)
 60-894502 (57.1)24,085 (64.0)
 ≥90483 (6.1)8600 (22.8)

The features were named, in the order from newest to oldest test with a 2-week spacing, as “1st_space_of_LabTest”, “2nd_space_of_LabTest “, …, “27th_space_of_LabTest”.

3.4

Features statistical characteristics

We calculated VIF to check for multicollinearity. The VIF values of the selected 8 feature (Table 5) were all well below 10, showing a lack of strong multicollinearity.

Table 5

VIF in 8 features.

Table 5
FeatureVIF
3rd space of MCH2.857
1st space of γ-GTP1.022
4th space of Cre4.281
4th space of HbA1c1.860
3rd space of HDL-C1.483
11th space of eGFR1.490
1st space of Hct1.304
1st space of eGFR3.427
4

Discussion

4.1

Prevalence rate

The monthly prevalence of RD in our study was 3.1 %, translating to 31.8 % annually (1 - (1–0.031)ˆ12). Yokoyama et al. [10], Fuji et al. [11], Yoshida et al. [12], Hirakawa et al. [21], and Nojima et al. [35] reported prevalence rates of 10 %, 11 %, 12 %, 21 %, and 20 % in diabetes patients, respectively. This is higher than seen in previous studies. We think that these differences in prevalence rates among the previous studies are due to differences in the definition of RD.

The most similar study is by Nojima et al. because we used the same smoothing method (Lowess method) to determine RD. Our prevalence rate was 10 % lower than Nojima's prevalence rate. We confirmed the details of Nojima's method: their study is a 9-year follow-up study, and they excluded patients with an eGFR of 60 mL/min/1.73 m2 or less in the first 2 years. Therefore, we consider that our higher prevalence rate is due to the exclusion of severe patients in the previous studies.

Moreover, in the previous study targeting Japanese individuals in a medical checkup system (“Tokuteikenshin” program) [11], the average eGFR value (standard deviation, SD) for the RD group was 79.58 (20.92), whereas in our study, the average eGFR value (SD) for the RD group was 62.5 (20.5). Compared to the previous studies [11], the eGFR values in our study were approximately 17 mL/min/1.73 m2 lower, indicating a tendency towards greater severity in patients. Furthermore, the fact that the University of Tokyo Hospital is a Clinical Research Core Hospital may also have an impact, as it likely attracts patients with relatively severe conditions.

Our determination of RD is based on 45,547 eGFR tests from 3438 patients. As the University of Tokyo Hospital is a Clinical Research Core Hospital, it gathers a diverse patient population and conducts extensive laboratory tests. The extensive data collected provides a robust basis for our conclusions.

4.2

Evaluation of the predictive accuracy

The average (95 % CI) ROC-AUC of the 8-feature model was 0.820 (0.811, 0.829). While this appears to be a useful level of performance in the context of ML, it is crucial to consider the potential clinical implications of false positives and false negatives. A false positive case could lead to unnecessary medical treatment and laboratory tests for patients, resulting in a decline in their quality of life and adding a burden to human resources and finances in the healthcare system.

Conversely, a false negative could result in delayed diagnosis and treatment for patients truly in need such as specialized medical care. A previous study [21] had a slightly different task design but had similar but slightly worse results with an ROC-AUC of 0.775. The 8-feature model also has a fairly good average (95 % CI) accuracy of 0.754 (0.747, 0.761), better than the 0.687 accuracy reported in a previous study [21]. Although the risk of false positives and negatives must be acknowledged, our model provides more reliable predictive performance than the previous study [21].

The mechanism of RD progression is still largely unclear, and established treatments are not currently available. Therefore, it is difficult to evaluate the utility of any level of predictive accuracy. Once effective treatments are developed, though, our model's level of performance may be useful in 3 key areas: healthcare economics, patient quality of life, and healthcare resources. Our ML model may make it possible for the health care system to provide additional RD-related medical care (with its associated expense) to patients with a high probability of RD and eliminate unnecessary RD-related medical care (and expense) on patients with a low probability of RD.

Our ML model's accurate predictions may contribute to maintaining the quality of life of patients, helping patients in need, and avoiding unneeded treatments for those not facing likely RD. Accurate predictions enable efficient use of healthcare resources, including an appropriate division of roles between primary care physicians and specialists, with the limited number of nephrologists being assigned to treat patients who are likely to have RD and require more specialized care. Conversely, using an ML model with low performance may lead to inaccurate predictions and increased unnecessary medical procedures, potentially resulting in higher healthcare costs.

For nephrologists, inappropriate early referral of patients less likely to have RD could be disadvantageous, leading to increased congestion and workload in hospitals, and inefficient use of healthcare resources. The results of the model may help minimize healthcare costs, minimize patient burden, and optimize the use of healthcare resources.

The average (95 % CI) of the PR-AUC and the F1-score were reasonable, at 0.430 (0.410, 0.451) and 0.500 (0.485, 0.515), respectively. Since previous studies did not evaluate PR-AUC or F1-score, a direct comparison of performance cannot be made. Our RD prediction was a classification problem with imbalanced classes, where decision points of RD accounted for 17.3 % (7888/45,547) of all decision points. In cases with imbalanced classes, PR-AUC and F1-score tend to provide a stricter evaluation, often resulting in lower values, by highlighting the model's ability to detect the minority class.

Now that we have achieved the target value for ROC-AUC, we would like to consider ways to increase the PR-AUC and F1-score. We considered applying methods to handle imbalanced distribution, such as down sampling or up sampling methods, to address the imbalanced distribution and improve the PR-AUC and F1-score. However, these strategies tend to fit to the smaller class, which increases the risk of overfitting. There is a trade-off between the improvement of the imbalance distribution and the risk of overfitting.

Therefore, we did not apply a method for handling unbalanced data.

4.3

Evaluation of the selected laboratory tests

There was a small difference in ROC-AUC between using all 32,454 features containing 1202 types of laboratory tests and using just 8 features containing 7 types of laboratory tests. This implies that the 7 laboratory test types (MCH, γ-GTP, Cre, HbA1c, HDL-C, eGFR, and Hct) are essential to achieving high ROC-AUC performance.

Measurements of eGFR and Cre can indicate decreased renal function [5], and these laboratory tests have been reported as associated factors for RD in previous studies [4,[8], [9], [10],12,13].

Except for the 11th space of eGFR, the selected features were measured close to the decision point. The result of use of eGFR values from different time points indicates the importance of capturing both current status and recent historical context. The 1st and 11th spaces of eGFR represent 2 samples within the past 5 months, and their values were lower in decision points with RD than in those with not_RD. Since eGFR was the most frequently selected feature, trends in eGFR appear to be highly important to prediction.

HbA1c was reported in a previous study as an associated factor for RD [10]. Poor glycemic control and HbA1c variability are associated with RD [46,47].

A high HbA1c and low HDL-C were reported as an associated factor for DKD [48,49]. A 12 % increased risk of DKD onset per 1 % increase in HbA1c. For HDL, a 6 % decreased risk of DKD onset per 10 mg/dL increase in HDL was reported [48].

The importance of the other 3 tests (γ-GTP, MCH, and Hct) has not been featured in prior work to our knowledge. Our results suggest that the timing of changes in these laboratory values plays a crucial role in predicting the occurrence of RD.

A high γ-GTP indicates the condition of liver function. When the liver functions poorly, the flow of blood throughout the body becomes poor, and the flow of blood to the kidneys also becomes poor. Although acute kidney injury (AKI) is a kidney-related condition distinct from RD, studies [50] have identified γ-GTP as predictive markers of AKI.

A high MCH and low Hct indicate anemia. Erythropoietin is one of the hormones which is secreted by erythropoietin-producing cells and plays a role of stimulating production of red blood cells. When kidney function impairs due to various reasons including diabetic mellitus or hypertension, erythropoietin cannot be made, leading to anemia [33].

A recent study reported that anemia is an independent risk factor for RD in T2D [33].

These laboratory tests are well-known to be somewhat associated with the kidneys. Our results suggest that predicting RD requires the consideration of multifaceted measurements related to renal function.

It should be noted that it cannot be said that the test values not selected by RFECV

are unrelated to renal function. First, some test values may not have enough data for RD modeling, and may have been overlooked in this experiment even if they were related to RD. Second, test values may not have been selected because they happened to be correlated with the 8 selected features. These ideas could be explored by performing the same experiment with a different dataset.

5

Limitations

Our study has notable limitations. First, the data were sourced from a single hospital, limiting generalizability. Further research using diverse hospital data is needed. Secondly, missing values in the data source may influence the importance of features. The proposed model treats missing values as a categorical feature, resulting in outcomes that include not only the magnitude of lab test values but also the presence or absence of lab tests. Thirdly,

due to the limited understanding of the mechanism of RD, it was challenging to accurately identify and control potential confounding factors among laboratory tests. As a result, we did not explicitly adjust for confounding variables in our analysis. These results therefore need to be interpreted with caution. Fourthly, the features selected by RFECV may not necessarily be the optimal combination. Although RFECV improves the quality of selection by combining RFECV with cross-validation, there remains a slight possibility that it will converge to locally optimal features.

Fifthly, including the period of the COVID-19 pandemic in the data source may contain trends different from the current treatment state. Sixthly, there is a tendency for more frequent eGFR tests among severe patients, potentially leading to biased results. Finally, the number of test values varies from patient to patient, which may lead to different accuracy of predictions for different patients. In particular, features from patients with only a small number of laboratory tests are interpolated using nearest neighbor methods, resulting in reduced resolution of the timing of examinations.

6

Conclusions

The proposed model accurately predicts RD in DKD patients, aiding physicians in understanding RD. The contributing laboratory tests (MCH, γ-GTP, Cre, HbA1c, HDL-C, eGFR, and Hct) may serve as potential alternative biomarkers for RD. In this experiment, we conducted experiments using EHRs from a hospital with a relatively high number of severe patients. We think that this technology can be applied not only to identify RD patients early and start treatment, but also to improve the efficiency of subject selection for clinical trials.

Going forward, we intend to expand our study to include EHRs from multiple facilities and further strengthen the evidence base.

CRediT authorship contribution statement

Eri Nakahara: Writing – original draft, Visualization, Software, Methodology, Conceptualization. Kayo Waki: Writing – review & editing, Supervision, Funding acquisition, Data curation, Conceptualization. Hisashi Kurasawa: Writing – review & editing, Software, Methodology. Imari Mimura: Writing – review & editing, Supervision. Tomohisa Seki: Supervision, Data curation. Akinori Fujino: Supervision, Methodology. Nagisa Shiomi: Supervision. Masaomi Nangaku: Writing – review & editing, Supervision. Kazuhiko Ohe: Supervision.

Data availability

The data in this study are not openly available because of restrictions imposed by the research ethics committees that approved this study.

Code availability

The underlying code for this study is not publicly available but may be made available to qualified researchers on reasonable request from the corresponding author.

Declaration of competing interest

The authors declare the following financial interests/personal relationships which may be considered as potential competing interests: Eri Nakahara, Hisashi Kurasawa, Imari Mimura, Tomohisa Seki, Akinori Fujino, Nagisa Shiomi, Masaomi Nangaku, Kazuhiko Ohe reports financial support was provided by 10.13039/501100004721The University of Tokyo and Nippon Telegraph and Telephone Corporation (NTT) in a joint research program at the 10.13039/501100004721University of Tokyo Center of Innovation, Sustainable Life Care, and the Ageless Society dedicated to Self-managing Healthcare in the Aging Society of Japan.

Kayo Waki reports financial support was provided by 10.13039/501100004721The University of Tokyo and 10.13039/100010160NTT in a joint research program at the 10.13039/501100004721University of Tokyo Center of Innovation, Sustainable Life Care, and the Ageless Society dedicated to Self-managing Healthcare in the Aging Society of Japan. Eri Nakahara, Hisashi Kurasawa, Akinori Fujino, Nagisa Shiomi reports a relationship with NTT, Tokyo, Japan that includes: employment. Eri Nakahara, Hisashi Kurasawa, Imari Mimura, Tomohisa Seki, Akinori Fujino, Nagisa Shiomi, Masaomi Nangaku, Kazuhiko Ohe reports a relationship with 10.13039/501100004721The University of Tokyo Center of Innovation (10.13039/501100009033COI) that includes: funding grants.

Kayo Waki reports a relationship with 10.13039/501100004721The University of Tokyo 10.13039/501100009033COI that includes: funding grants. If there are other authors, they declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References

1 McGrath K. Edi R. Diabetic kidney disease: diagnosis, treatment, and prevention afp 99 2019 751 759 10.1093/ndt/gfq774 31194487
2 Perkins B.A. Microalbuminuria and the risk for early progressive renal function decline in type 1 diabetes J. Am. Soc. Nephrol. 18 2007 1353 1361 10.1681/ASN.2006080872 17329575
3 Skupien J. The early decline in renal function in patients with type 1 diabetes and proteinuria predicts the risk of end-stage renal disease Kidney Int. 82 2012 589 597 10.1038/ki.2012.189 22622493 PMC3425658
4 Zoppini G. Predictors of estimated GFR decline in patients with type 2 diabetes and preserved kidney function Clin. J. Am. Soc. Nephrol. 7 2012 401 408 10.2215/CJN.07650711 22282481
5 Levin A. Kidney disease: improving global outcomes (KDIGO) CKD work group. KDIGO 2012 clinical practice guideline for the evaluation and management of chronic kidney disease Kidney Int. Suppl. 3 2011 1 10.1038/kisup.2012.73 2013 PMC6341011 30681074
6 Porrini E. Non-proteinuric pathways in loss of renal function in patients with type 2 diabetes Lancet Diabetes Endocrinol. 3 2015 382 391 10.1016/S2213-8587(15)00094-7 25943757
7 Ficociello L.H. High-normal serum uric acid increases risk of early progressive renal function loss in type 1 diabetes: results of a 6-year follow-up Diabetes Care 33 2010 1337 1343 10.2337/dc10-0227 20332356 PMC2875450
8 Krolewski A.S. Early progressive renal decline precedes the onset of microalbuminuria and its progression to macroalbuminuria Diabetes Care 37 2014 226 234 10.2337/dc13-0985 23939543 PMC3867993
9 Vistisen D. Progressive decline in estimated glomerular filtration rate in patients with diabetes after moderate loss in kidney function-even without albuminuria Diabetes Care 42 2019 1886 1894 10.2337/dc19-0349 31221677
10 Yokoyama H. Risks for glomerular filtration rate decline in association with progression of albuminuria in type 2 diabetes Nephrol. Dial. Transplant. 26 2011 2924 2930 10.1093/ndt/gfq774 21303964
11 Fujii M. Current status of the rapid decline in renal function due to diabetes mellitus and its associated factors: analysis using the National Database of Health Checkups in Japan Hypertens. Res. 46 2023 1075 1089 10.1038/s41440-023-01185-2 36732668 PMC10164644
12 Yoshida Y. Conditions, pathogenesis, and progression of diabetic kidney disease and early decliner in Japan BMJ Open Diabetes Res. Care 8 2020 10.1136/bmjdrc-2019-000902 PMC7206926 32205326
13 Jiang G. Progression of diabetic kidney disease and trajectory of kidney function decline in Chinese patients with Type 2 diabetes Kidney Int. 95 2019 178 187 10.1016/j.kint.2018.08.026 30415941
14 Kovesdy C.P. Past decline versus current eGFR and subsequent ESRD risk J. Am. Soc. Nephrol. 27 2016 2447 2455 10.1681/ASN.2015060687 26657867 PMC4978053
15 Coresh J. Decline in estimated glomerular filtration rate and subsequent risk of end-stage renal disease and mortality JAMA 311 2014 2518 2531 10.1001/jama.2014.6634 24892770 PMC4172342
16 Kritmetapak K. Anutrakulchai S. Pongchaiyakul C. Puapairoj A. Clinical and pathological characteristics of non-diabetic renal disease in type 2 diabetes patients Clin. Kidney J. 11 2018 342 347 10.1093/ckj/sfx111 29942497 PMC6007236
17 Chen Y. Lee K. Ni Z. He J.C. Diabetic kidney disease: challenges, advances, and opportunities Kidney Dis. 6 2020 215 225 10.1159/000506634 PMC7445658 32903946
18 Li R. Chung A.C.K. Yu X. Lan H.Y. MicroRNAs in diabetic kidney disease Internet J. Endocrinol. 2014 2014 10.1155/2014/593956 PMC3914440 24550986
19 Kantharidis P. Hagiwara S. Brennan E. McClelland A.D. Study of microRNA in diabetic nephropathy: isolation, quantification and biological function: MicroRNA in diabetic nephropathy Nephrology 20 2015 132 139 10.1111/nep.12374 25487691
20 Inaguma D. Increasing tendency of urine protein is a risk factor for rapid eGFR decline in patients with CKD: a machine learning-based prediction model by using a big database PLoS One 15 2020 10.1371/journal.pone.0239262 PMC7497987 32941535
21 Hirakawa Y. Potential progression biomarkers of diabetic kidney disease determined using comprehensive machine learning analysis of non-targeted metabolomics Sci. Rep. 12 2022 10.1038/s41598-022-20638-1 PMC9523033 36175470
22 Breiman L. Random forests Mach. Learn. 45 2001 5 32 10.1023/A:1010933404324
23 Bjornstad P. Rapid GFR decline is associated with renal hyperfiltration and impaired GFR in adults with Type 1 diabetes Nephrol. Dial. Transplant. 30 2015 1706 1711 10.1093/ndt/gfv121 26050268 PMC4838003
24 Sheen Y.-J. Sheu W.H. Risks of rapid decline renal function in patients with type 2 diabetes World J. Diabetes 5 2014 835 846 10.4239/wjd.v5.i6.835 25512785 PMC4265869
25 Wang Y. Implications of a family history of diabetes and rapid eGFR decline in patients with type 2 diabetes and biopsy-proven diabetic kidney disease Front. Endocrinol. 10 2019 855 10.3389/fendo.2019.00855 PMC6923196 31920969
26 Li Y. Lifestyle factors associated with a rapid decline in the estimated glomerular filtration rate over two years in older adults with type 2 diabetes–Evidence from a large national database in Japan PLoS One 18 2023 10.1371/journal.pone.0295235 PMC10718407 38091297
27 Getz K. Hubbard R.A. Linn K.A. Performance of multiple imputation using modern machine learning methods in electronic health records data Epidemiology 34 2023 206 215 10.1097/EDE.0000000000001578 36722803 PMC12448120
28 Haneuse S. Arterburn D. Daniels M.J. Assessing missing data assumptions in EHR-based studies: a complex and underappreciated task JAMA Netw. Open 4 2021 10.1001/jamanetworkopen.2021.0184 33635321
29 Ke G. LightGBM: a highly efficient gradient boosting decision treeProceedings of the 31st International Conference on Neural Information Processing Systems 3149–3157 2017 Curran Associates Inc.Red Hook, NY, USA
30 Guyon I. Weston J. Barnhill S. Gene selection for cancer classification using support vector machines Mach. Learn. 46 2002 389 422 10.1023/A:1012487302797
31 Rufo D.D. Debelee T.G. Ibenthal A. Negera W.G. Diagnosis of diabetes mellitus using gradient boosting machine (LightGBM) Diagnostics 11 2021 1714 10.3390/diagnostics11091714 34574055 PMC8467876
32 Seto H. Gradient boosting decision tree becomes more reliable than logistic regression in predicting probability for diabetes with big data Sci. Rep. 12 2022 10.1038/s41598-022-20149-z PMC9553945 36220875
33 Xie L. Anemia is a risk factor for rapid eGFR decline in type 2 diabetes Front. Endocrinol. 14 2023 10.3389/fendo.2023.1052227 PMC9899800 36755908
34 Cleveland W.S. Devlin S.J. Locally weighted regression: an approach to regression analysis by local fitting J. Am. Stat. Assoc. 83 1988 596 610 10.1080/01621459.1988.10478639
35 Nojima J. One-year eGFR decline rate is a good predictor of prognosis of renal failure in patients with type 2 diabetes Proc. Jpn. Acad. Ser. B Phys. Biol. Sci. 93 2017 746 754 10.2183/pjab.93.046 PMC5743850 29129852
36 Sugiyama T. Design of and rationale for the Japan Diabetes compREhensive database project based on an Advanced electronic Medical record System (J-DREAMS) Diabetol. Int. 8 2017 375 382 10.1007/s13340-017-0326-y 30603343 PMC6224921
37 Japanese Society of Laboratory Medicine. Clinical Laboratory Tests master. https://www2.medis.or.jp/master/kensa/.
38 Kazijevs M. Samad M.D. Deep imputation of missing values in time series health data: a review with benchmarking J. Biomed. Inf. 144 2023 10.1016/j.jbi.2023.104440 PMC10529422 37429511
39 Akiba T. Sano S. Yanase T. Ohta T. Koyama M. Optuna: a next-generation hyperparameter optimization frameworkProceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining 2623–2631 2019 Association for Computing MachineryNew York, NY, USA 10.48550/arXiv.1907.10902
40 Pedregosa F. Scikit-learn: Machine Learning in Python 2012 10.48550/arXiv.1201.0490 arXiv [cs.LG]
41 Efron B. Bootstrap methods: another look at the jackknife Ann. Stat. 7 1979 1 26 10.1214/aos/1176344552
42 Saito T. Rehmsmeier M. The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets PLoS One 10 2015 10.1371/journal.pone.0118432 PMC4349800 25738806
43 Seabold S. Perktold J. statsmodels: econometric and statistical modeling with PythonProceedings of the 9th Python in Science Conference (SciPy 2010
44 The Ministry of Health, Labour and Welfare of Japan Ethical guidelines for medical and health research involving human subjects https://www.mhlw.go.jp/file/06-Seisakujouhou-10600000-Daijinkanboukouseikagakuka/0000080278.pdf2015
45 Information about the current study[Internet].https://www.h.u-tokyo.ac.jp/patient/depts/taisha/pdf/pa_md_md_info-04.pdf.
46 Shah H.S. Poor glycemic control is associated with more rapid kidney function decline after the onset of diabetic kidney disease J. Clin. Endocrinol. Metab. 2024 10.1210/clinem/dgae044 PMC11244193 38262002
47 Ma Y. Nomogram analysis of the influencing factors of rapid renal decline in patients with biopsy-proven diabetic nephropathy in type 2 diabetes Clin. Nephrol. 99 2023 274 282 10.5414/CN111065 36928261
48 Guo J. Dose-response association of diabetic kidney disease with routine clinical parameters in patients with type 2 diabetes mellitus: a systematic review and meta-analysis EClinicalMedicine 69 2024 10.1016/j.eclinm.2024.102482 DOI:10.3233/thc-230811 PMC10875261 38374967
49 Cao X. Pei X. Developing screening tools to estimate the risk of diabetic kidney disease in patients with type 2 diabetes mellitus Technol. Health Care 2023 10.3233/THC-230811 10.3233/THC-230811 37980579
50 Sun R. Development of interpretable machine learning models for prediction of acute kidney injury after noncardiac surgery: a retrospective cohort study Int. J. Surg. 2024 10.1097/js9.0000000000001237 PMC11093510 38445452

Abbreviations

DKD

diabetic kidney disease

T2D

type 2 diabetes

RD

rapid decline

RFECV

recursive feature elimination with cross-validation

ROC-AUC

area under the receiver operating characteristic curve

ML

machine learning

eGFR

glomerular filtration rate

TNFR

TNF receptors

HbA1c

hemoglobin A1c

LDL-C

low density lipoprotein cholesterol

U-NIT

urine nitrous acid

U-UBG

urine urobilinogen

LDL-C

low density lipoprotein cholesterol

LightGBM

Light gradient boosting machine

EHRs

electronic health records

J-DREAMS

Japan diabetes comprehensive database project based on an advanced electronic medical record system

VIF

variance inflation factors

T1D

type 1 diabetes

JLAC10

Japanese laboratory code version 10

PR-AUC

area under the precision-recall curve

CI

95 % confidence intervals

MCH

mean corpuscular hemoglobin

γ-GTP

γ-glutamyl trans peptidase

Cre

creatinine

HDL-C

high density lipoprotein cholesterol

Hct

hematocrit

SD

standard deviation

AKI

acute kidney injury

Appendix A

Supplementary data

The following is the Supplementary data to this article:

Multimedia component 1

Multimedia component 1Supplement file at the original source — open the original paper. This file is not included in this text import.

Acknowledgements

We thank Daniel Lane for his support in manuscript editing and scientific discussions. We made no use of generative AI in the development of this paper.

This work was funded by 10.13039/501100004721The University of Tokyo and 10.13039/100010160NTT in a joint research program at the University of Tokyo Center of Innovation, Sustainable Life Care, and the Ageless Society dedicated to Self-managing Healthcare in the Aging Society of Japan. The funding source had no role in the design and conduct of the study; collection, management, analysis, and interpretation of the data; preparation, review, or approval of the manuscript; and decision to submit the manuscript for publication. The content is solely the responsibility of the authors and does not necessarily represent the official views of the University of Tokyo Center of Innovation.

Appendix A

Supplementary data to this article can be found online at https://doi.org/10.1016/j.heliyon.2024.e40566.

Publication and source details

Original title: Predicting rapid decline in kidney function among type 2 diabetes patients: A machine learning approach

Eri Nakahara; Kayo Waki; Hisashi Kurasawa; Imari Mimura; Tomohisa Seki; Akinori Fujino; Nagisa Shiomi; Masaomi Nangaku; Kazuhiko Ohe

Heliyon · 2025

⁎ Corresponding author. 7-3-1 Hongo, Bunkyo-ku, Tokyo, 113-8655, Japan. kwaki-tky@m.u-tokyo.ac.jp© 2024 The Authors2024https://creativecommons.org/licenses/by/4.0/This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).

Repository JATS snapshot; version as supplied

Source retrieved: 2026-11-11T08:19:07.538739+00:00

DOI: 10.1016/j.heliyon.2024.e40566 · PMC11728953