Greedy adaptive strategy
Notations
- n: number of persons
- t: number of tests
- tpr: true positive rate / recall / hit rate of the test
- tnr: true negative rate / specificity / selectivity of the test
- p1,p2,...,pn: prior probabilities for each person to be sick (possibly estimated based on other data)
- m: samples per person, put 0 if it's infinite or more than t
- metric:
confidence
, entropy
or diagnosed [threshold]
- method: optimization method, can be
ga
or ga-luby
- mutation_parameter: parameter than controls the search, 1-4 is a good range
- luby_basis: only used with
ga-luby
, good values are values of epochs
that give acceptable results.
- epochs: number of optimization steps
Input format
n t
tpr tnr
p1 p2 ... pn
optim m metric
method mutation_parameter [luby_basis]
epochs
Examples
Example 1