|
Algorithm 1 Algorithm of the optimal solution |
|
Step 1. Determine the dataset , the classifier , the learning algorithm , the required accuracy , the proportion in the holdout method. |
|
Step 2. Initialize , = 0, ; |
|
Step 3. Execute the iteration below: |
| While
: |
| If
: |
| ; |
| For every sample
in
: |
| take into
|
| End
|
| Learn the classifier using the learning algorithm on the dataset ; |
| Estimate using the holdout method; |
|
|
| Else:
|
| End while
|
|
Step 4. Output the optimal sampling number
|