Algorithm 3: Online Open-Set Recognition | |
Require:
|
|
1 | //Compute Test Statistics: |
2 | Extract feature: ; |
3 | Compute distances to all prototypes: ; |
4 | Find the minimum distance and its corresponding candidate class: |
5 | . |
6 | //Decision Based on Extreme Value Model |
7 | If then: |
8 | outside tail distribution, classify as known class: . |
9 | else |
10 | falls into the tail distribution, perform hypothesis testing: |
11 | //(a) Compute p-value: |
12 | ; |
13 | //(b) Compare with Significance Level: |
14 | if then: |
15 | Low probability event occurs; reject null hypothesis: |
16 | classify as unknown: |
17 | else |
18 | Null hypothesis cannot be rejected: classify as known class: . |
19 | end if |
20 | End if |
21 | Return |