Hi everybody. I am working with mixture of gaussians models for multi-class classification and found that these models always maps from ‘k’ to 1 being k the number of features in the dataset. This can be seen in the example “prex_mcplot.m” comparing the trained mapping:
w = qdc(A)
Bayes-Normal-2, 2 to 4 trained mapping --> normal_map
for example with:
w2 = gaussm(A,3)
Mixture of Gaussians, 2 to 1 trained mapping --> sequential
And if I try:
confmat(A*w)
True | Estimated Labels
Labels | 1 2 3 4 | Totals
--------|----------------------------|-------
1 | 19 1 0 0 | 20
2 | 0 20 0 0 | 20
3 | 0 0 20 0 | 20
4 | 0 0 0 20 | 20
--------|----------------------------|-------
Totals | 19 21 20 20 | 80
while if I try:
confmat(A*w2)
True | Estimated Labels
Labels | 4-clas| Totals
--------|-------|-------
1 | 20 | 20
2 | 20 | 20
3 | 20 | 20
4 | 20 | 20
--------|-------|-------
Totals | 80 | 80
Am I missunderstanding something or this is not working as it should ?
Thanks in advance!
Mariano

