Skip to contents

This function computes several classification metrics like accuracy, precision, recall, sensitivity and specificity on classification results. The input to the function is a data frame (dt) containing the predicted classification result as y_pred and the actual classification as isDE. The function returns a data frame with the computed metrics.

Usage

compute_metrics_summary(dt)

Arguments

dt

Data frame containing the predicted and actual classification results.

Value

A data frame with the computed classification metrics of accuracy, precision, recall, sensitivity and specificity.