Skip to content
Snippets Groups Projects
compute_metrics_summary.Rd 862 B
Newer Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulation_report.R
\name{compute_metrics_summary}
\alias{compute_metrics_summary}
\title{Compute summary metrics on classification results}
\usage{
compute_metrics_summary(dt)
}
\arguments{
\item{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.
}
\description{
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
(\code{dt}) containing the predicted classification result as \code{y_pred} and the actual
classification as \code{isDE}. The function returns a data frame with the computed metrics.
}