what should be the program for following output?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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
Antworten (1)
Andrei Bobrov
am 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)
Siehe auch
Kategorien
Mehr zu Numeric Types finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!