balanced_accuracy {structToolbox} | R Documentation

## Balanced Accuracy

### Description

Balanced Accuracy is the average proportion of correctly classified samples across all groups.

### Usage

    balanced_accuracy(...)

### Arguments

`...` | Additional slots and values passed to `struct_class`.

### Value

A `balanced_accuracy` object.

### Examples

    D = iris_DatasetExperiment()
    XCV = kfold_xval(folds=5,factor_name='Species') *
          (mean_centre() + PLSDA(number_components=2,factor_name='Species'))
    MET = balanced_accuracy()
    XCV = run(XCV,D,MET)

[Package structToolbox version 1.2.0 Index]