diff --git a/ml/evaluation-metrics.qmd b/ml/evaluation-metrics.qmd index 65fcddd..9b23c07 100644 --- a/ml/evaluation-metrics.qmd +++ b/ml/evaluation-metrics.qmd @@ -189,7 +189,7 @@ mat <- matrix(c("True positives (TP)", "False negatives (FN)", colnames(mat) <- c("Actually Positive", "Actually Negative") rownames(mat) <- c("Predicted positive", "Predicted negative") tmp <- as.data.frame(mat) -if (knitr::is_html_output()) { +if (knitr::is_html_output()){ knitr::kable(tmp, "html") |> kableExtra::kable_styling(bootstrap_options = "striped", full_width = FALSE) } else{