distributeGuessAsExpectedValue: Distributes guesses of 3x3 confusion matrix to expected value...

Description Usage Arguments Details Value

View source: R/performance.R

Description

Given a 3x3 confusion matrix, distributes guesses in column 2 using the expected value. That is, moves half of guess counts (in column 2) to -1 (column 1) and the other half to 1 (column 3).

Usage

1
distributeGuessAsExpectedValue(confusion_matrix_3x3)

Arguments

confusion_matrix_3x3

A 3x3 matrix where the middle column is counts of guesses.

Details

-1 0 1 -1 2 2 2 0 4 4 4 1 6 6 6 becomes -1 0 1 -1 3 0 3 0 6 0 6 1 9 0 9

Value

A 3x3 confusion matrix with 0's in the middle column.


heuristica documentation built on Sept. 8, 2021, 9:08 a.m.