Skip to main content
. 2023 Feb 15;13(4):736. doi: 10.3390/diagnostics13040736
Algorithm 2 MRMR algorithm.
  • Procedure MRMR(X, Y): training dataset

  • 01:   select (maxxϕMAx): the most relevance feature

  • 02:   include (xS): the selected feature x to an empty set S

  • do:

  • 03:   find (MAx0,Sc,MIx=0,Sc): where Sc is the complement of S

  •       if (MAx0,Sc) and (MIx=0,Sc) go to line 6:

  •       else

  • 04:      select (maxxSc,MIx=0MAx): the most relevance feature

  • 05:      include (xS): the selected feature x to the set S

  •       endif

  • while: until MIx0 for ∀ feature Sc

  • do:

  • 06:   select (maxxSCMIQx): the feature with the nonzero relevance and redundancy

  • 07:   include (xS): the selected feature x to the set S

  • while: until MAx=0 for ∀ feature Sc

  • 08:   include (MAx=0): the feature to the set S in random order (xS)

  • End procedure