Learn R Programming

arc (version 1.4.2)

CBARuleModelAccuracy: Prediction Accuracy

Description

Compares predictions with true labels and outputs accuracy.

Usage

CBARuleModelAccuracy(prediction, groundtruth)

Value

Accuracy

Arguments

prediction

vector with predictions

groundtruth

vector with true labels