| Algorithm 1: BESS.Fix(): Best-Subset Selection with a given support size . | |
| 1) Input: , , a positive integer , and a threshold . | |
| 2) Initialize , | |
| and (, ): | |
| , | |
| , | |
| , | |
| 3) For , do | |
| If , then stop | |
| end for | |
| 4) Output . |
Note that splicing size k is an important parameter in splicing. Typically, we can try all possible values of k≤s.