Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
calc_confusion_matrix [2017/11/09 00:10]
admin created
calc_confusion_matrix [2017/11/09 00:25] (current)
admin
Line 3: Line 3:
 ===== Description ===== ===== Description =====
  
-Calculates the [[wp>​Confusion_matrix|confusion matrix]] from two input maps. The confusion matrix is a table with format "​*#​real,​ *#real and #real" mapping each possible combination of pair of input map values to their corresponding number of cells.+Calculates the [[wp>​Confusion_matrix|confusion matrix]] from two input maps. The confusion matrix is a table with format "Initial*#​real, ​Final*#real and Changes#real" mapping each possible combination of pair of input map values to their corresponding number of cells.
  
 ===== Inputs ===== ===== Inputs =====
  
 ^ Name  ^ Type  ^ Description ​ ^ ^ Name  ^ Type  ^ Description ​ ^
-| Initial Map  | [[Map Type]] ​ | The initial map. This map corresponds to the "​Initial"​ key column of the resulting table. ​ | +| Initial Map  | [[Categorical ​Map Type]] ​ | The initial map. This map corresponds to the "​Initial"​ key column of the resulting table. ​ | 
-| Final Map  | [[Map Type]] ​ | The final map. This map corresponds to the "​Final"​ key column of the resulting table. ​ |+| Final Map  | [[Categorical ​Map Type]] ​ | The final map. This map corresponds to the "​Final"​ key column of the resulting table. ​ |
  
 ===== Output ===== ===== Output =====
  
 ^ Name  ^ Type  ^ Description ​ ^ ^ Name  ^ Type  ^ Description ​ ^
-| Confusion Matrix ​ | [[Table Type]] ​ | Resulting confusion matrix. The confusion matrix is a table with format "​*#​real,​ *#real and #real" mapping each possible combination of pair of input map values to their corresponding number of cells. ​ |+| Confusion Matrix ​ | [[Table Type]] ​ | Resulting confusion matrix. The confusion matrix is a table with format "Initial*#​real, ​Final*#real and Changes#real" mapping each possible combination of pair of input map values to their corresponding number of cells. ​ |
  
 ===== Notes ===== ===== Notes =====
 +
 +If the input maps are completely filled with null values or if there is no non-null intersection between them, an empty confusion matrix will be returned.
  
 ===== Group ===== ===== Group =====