classification_metrics: calculate measures for classification performance

Description Usage Arguments Value

View source: R/ranger_classification.R

Description

This function calculates a bunch of classification performance metrics to help evaluate the quality of the classification. For more info onto the calculated values see e.g. [Binary Classification Metrics](https://en.wikipedia.org/wiki/Evaluation_of_binary_classifiers)

Usage

1
2
3
4
classification_metrics(
  result_table,
  Number_of_samples = result_table$Number_of_samples
)

Arguments

result_table

the result table generated by a store_*()

Number_of_samples

the results table column with the number of samples to calculate metrics. The default works for ranger classification. It has to be overwritten by the number of validation samples for keras neural networks

Value

the result_table with additional metrics


RJ333/phyloseq2ML documentation built on June 2, 2020, 9:25 p.m.