what should be the program for following output?
1 view (last 30 days)
Show older comments
Sr.no Threshold TP TN FP FN FAR FRR GAR
1 0 0 100 0 100 0 1 0
2 0.1 19 100 0 81 0 0.81 19
3 0.15 62 99 1 38 0.01 0.38 62
4 0.2 81 94 6 19 0.06 0.19 81
5 0.25 95 54 46 5 0.46 0.05 95
6 0.3 99 30 70 1 0.7 0.01 99
7 0.4 100 21 79 0 0.79 0 100
8 0.5 100 3 97 0 0.97 0 100
9 0.55 100 0 100 0 1 0 100
10 0.6 100 0 100 0 1 0 100
11 0.7 100 0 100 0 1 0 100
12 0.8 100 0 100 0 1 0 100
13 0.9 100 0 100 0 1 0 100
14 1 100 0 100 0 1 0 100
Answers (1)
Andrei Bobrov
on 12 Sep 2018
>> a0 = {'Sr_no' 'Threshold' 'TP' 'TN' 'FP' 'FN' 'FAR' 'FRR' 'GAR'};
a=[1 0 0 100 0 100 0 1 0
2 0.1 19 100 0 81 0 0.81 19
3 0.15 62 99 1 38 0.01 0.38 62
4 0.2 81 94 6 19 0.06 0.19 81
5 0.25 95 54 46 5 0.46 0.05 95
6 0.3 99 30 70 1 0.7 0.01 99
7 0.4 100 21 79 0 0.79 0 100
8 0.5 100 3 97 0 0.97 0 100
9 0.55 100 0 100 0 1 0 100
10 0.6 100 0 100 0 1 0 100
11 0.7 100 0 100 0 1 0 100
12 0.8 100 0 100 0 1 0 100
13 0.9 100 0 100 0 1 0 100
14 1 100 0 100 0 1 0 100];
>> T = array2table(a,'v',a0)
See Also
Categories
Find more on Numeric Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!