| 
    SHOGUN
    4.1.0
    
   | 
 
Utility class for CRelaxedTree
Definition at line 25 of file RelaxedTreeUtil.h.
Public Member Functions | |
| SGMatrix< float64_t > | estimate_confusion_matrix (CBaseMulticlassMachine *machine, CFeatures *X, CMulticlassLabels *Y, int32_t num_classes) | 
| void | get_confusion_matrix (SGMatrix< float64_t > &conf_mat, CMulticlassLabels *gt, CMulticlassLabels *pred) | 
| SGMatrix< float64_t > estimate_confusion_matrix | ( | CBaseMulticlassMachine * | machine, | 
| CFeatures * | X, | ||
| CMulticlassLabels * | Y, | ||
| int32_t | num_classes | ||
| ) | 
estimate confusion matrix with cross validation.
| machine | multiclass machine used to compute confusion matrix | 
| X | training data | 
| Y | labels for training data | 
| num_classes | number of classes | 
Definition at line 17 of file RelaxedTreeUtil.cpp.
| void get_confusion_matrix | ( | SGMatrix< float64_t > & | conf_mat, | 
| CMulticlassLabels * | gt, | ||
| CMulticlassLabels * | pred | ||
| ) | 
Get confusion matrix.
| conf_mat | num_class-by-num_class matrix, confusion matrix will be assigned to this | 
| gt | ground-truth labels | 
| pred | predicted labels | 
Definition at line 76 of file RelaxedTreeUtil.cpp.