Skip to main content
. 2020 Oct 19;10(10):754. doi: 10.3390/brainsci10100754
Algorithm 2 Sequential Forward Feature Selection Algorithm

Input: CONNm×n, IndicesL×1, THR,CLF

Output: FS×1

  • 1:

    featureBoxempty

  • 2:

    ACCL×10

  • 3:

    forindexin Indicesdo

  • 4:

    featuresCONN[0to  index]

  • 5:

    ACCAccuracyScore(CLF[features])

  • 6:

    ifACC is = THR then

  • 7:

      featureBox.append(features)

  • 8:

    end if

  • 9:

    end for

  • 10:

    maxIndexArgMax(ACC)

  • 11:

    F(featureBox[maxIndex])