class ROC |
It computes the ROC curves
This class computes Receiver Operating Characteristic (ROC) curves for learning machines having a threshold that separates positive from negative patterns.
![]() | ROC () Default constructor |
![]() | ROC (char* filename) Constructor. |
![]() | ROC (char* pred_file, char* target_file) Constructor. |
![]() | read_data (char* filename) Load predicted and target data from a file. |
![]() | read_data_2 (char* pred_file, char* target_file) Load predicted and target data from two separated files. |
![]() | do_conf_matrix (float thresh=0) It builds a confusion matrix. |
![]() | compute_ROC_value (float thresh) It computes a ROCvalue. |
![]() | compute_ROC_curve (int num_interval) It computes a ROC curve It computes a ROC curve, subdividing the output in a set of equidistant intervals. |
![]() | print_ROC_curve (void) const It prints a ROC curve It prints a ROC curve on stdout, printing sensitivity and 1-specificity pairs |
![]() | print_ROC_curve_all (void) const It prints a ROC curve considering also precision values It prints a ROC curve on stdout, printing sensitivity, specificity, 1-specificity and precision |
![]() | print_predicted (void) const It prints the predicted data on stdout. |
![]() | print_target (void) const It prints the target data on stdout. |
It computes the ROC curves
This class computes Receiver Operating Characteristic (ROC) curves for learning machines having a threshold that separates positive from negative patterns. It computes sensitivty, specificity and precision for different threshold values.
Alphabetic index HTML hierarchy of classes or Java