Confusion matrix does not plot anything
    5 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Jon Camilleri
 am 15 Nov. 2015
  
    
    
    
    
    Kommentiert: Walter Roberson
      
      
 am 15 Nov. 2015
            I am trying to sort out a little algorithm, based on false positive and true positive for my school project, however in my little world, I am still slightly stuck.
addpath ('..')
load('iris-data.csv')
m = iris_data
I try this
plot(nmz(m)), and, this shows an empty graph.
I do not think I will be able to feel satisfied with an empty graph.
0 Kommentare
Akzeptierte Antwort
  Walter Roberson
      
      
 am 15 Nov. 2015
        MATLAB does not have a function named nmz() . It does have a function named nnz, number of non-zeros, but that just tells you how many of the values in the array were not equal to 0, which is going to be a scalar value that you are not going to want to plot.
If you have the Statistics Toolbox then you should use http://www.mathworks.com/help/stats/confusionmat.html
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
			
	Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

