Hallo,
habe ein Programm geschrieben, das mir unter anderem eine Exceldatei wie diese erzeugt:
PunktID: Label: ClusterID:
1 control 2
2 control 3
3 control 1
4 control 2
5 MCAD 1
6 control 1
7 control 1
8 control 0
9 control 1
10 control 0
11 LCHAD 1
12 control 1
13 control 1
14 control 1
15 control 1
16 control 1
17 PKU 0
18 control 0
19 MCAD 3
20 control 3
Nun soll mein Programm, also nicht die Excelfunktion sortieren, die Daten nach aufsteigender ClusterID sortieren und dann eine Konfusionsmatrix für jedes Cluster erstellen, d.h. zählen und ausgeben, wie oft welches Label in jedem Cluster vorkommt.
Hat jemand Vorschläge, wie das funktioniert???
Vielen Dank schon mal!!!
habe ein Programm geschrieben, das mir unter anderem eine Exceldatei wie diese erzeugt:
PunktID: Label: ClusterID:
1 control 2
2 control 3
3 control 1
4 control 2
5 MCAD 1
6 control 1
7 control 1
8 control 0
9 control 1
10 control 0
11 LCHAD 1
12 control 1
13 control 1
14 control 1
15 control 1
16 control 1
17 PKU 0
18 control 0
19 MCAD 3
20 control 3
Nun soll mein Programm, also nicht die Excelfunktion sortieren, die Daten nach aufsteigender ClusterID sortieren und dann eine Konfusionsmatrix für jedes Cluster erstellen, d.h. zählen und ausgeben, wie oft welches Label in jedem Cluster vorkommt.
Hat jemand Vorschläge, wie das funktioniert???
Vielen Dank schon mal!!!