Skip to main content
. 2025 Aug 28;15(17):2170. doi: 10.3390/diagnostics15172170
Algorithm 4 Multimodal feature preparation
  • Require: 

    Radiomics feature matrix R, deep feature matrix D, target labels y

  • Ensure: 

    Preprocessed and fused feature matrix F

  •    1:

    Apply KNN imputation with k=5 to R, producing Rimp

  •    2:

    Apply KNN imputation with k=5 to D, producing Dimp

  •    3:

    Standardize Rimp with zero mean and unit variance, yielding Rnorm

  •    4:

    Standardize Dimp with zero mean and unit variance, yielding Dnorm

  •    5:

    Rename columns of Dnorm as deep_feature_i for traceability

  •    6:

    Concatenate Rnorm and Dnorm horizontally to form F

  •    7:

    Align F rows to patient IDs from y

  •    8:

    return F