Related Experiment Video
Updated: May 24, 2025

Author Spotlight: Developing a Bedside Protocol for Kidney and Genitourinary Ultrasonography
Published on: June 21, 2024
Preoperative classification of urinary stones based on community detection
Danhui Mao1,2,3, Hao Liu1, Qianshan Wang4
1College of Computer Science and Technology, Taiyuan University of Technology, No. 79, Yingze West Street, Taiyuan, Shanxi, China.
None:
In the treatment of urinary stones, surgical intervention is crucial. Urinary stones composition and type directly affect surgical planning. However, research on preoperative stone composition analysis is limited. This paper aimed to predict urinary stones types preoperatively using clinical data. Data from 1020 patients, including stone composition, clinical biochemical indicators, and demographic information, were collected. A stone composition graph network was constructed using cosine similarity, with stone composition as nodes and biochemical/demographic data as node features. The Louvain community detection algorithm was utilized to divide the network into distinct communities for the classification of stone types, with the effectiveness of the partitioning evaluated by the Modularity score. Stone types were classified, and their distribution across genders and age groups was described. Clinical feature averages were calculated for each community, and patients were assigned to the most similar community. Six machine learning algorithms (RandomForest, GradientBoosting, SVM, KNN, Logistic Regression, XGBoost) were trained to predict stone types. Model performance was evaluated, and the importance of clinical features for prediction was ranked. Six stone types were identified (Modularity = 0.828), namely common COM (Class I), COM with minor AU (Class II), COM with high UA (Class III), COM containing MAP (Class IV), high CAP-MAP (Class V), and high COM-CAP containing DCPD (Class VI). Among males, Class III and Class I were most prevalent; among females, Class V and Class III were most prevalent (χ2 = 95.066, P < 0.001). Patients with Class IV stones were significantly older than those with Class I stones (P = 0.038). GradientBoosting showed the best prediction performance, with an Accuracy of 0.837, Precision of 0.840, Recall of 0.8366, F1 Score of 0.8368, and ROC-AUC area of 0.941. Significant clinical features for prediction included urine specific gravity, white blood cells, pH, and crystals. This paper first analyzed stone categories using a community detection algorithm and then predicted types using machine learning, providing a reference for preoperative surgical planning in urinary stones.
More Related Videos
Related Concept Videos
Disorders of the Urinary System
Urinary tract infections (UTIs) are one of the most common urinary system disorders. They are caused by bacteria that enter the urethra and can spread to the bladder resulting in cystitis. Pyelonephritis is the result of a UTI that has ascended to the level of the...
Kidney Structure

