prediction_accuracy: Calculate accuracy percentage for ranger predicted_rfs

Description Usage Arguments Value

View source: R/ranger_classification.R

Description

This function calculates predicted_rf accuracy, which means it counts the amount of true positives and true negatives.

Usage

1
prediction_accuracy(predicted_rf, test_set)

Arguments

predicted_rf

the ranger prediction object

test_set

the test_set containing the true values

Value

The accuracy in percentage


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