predictProbInternal: Generic function to predict the probability row 1 has a...

Description Usage Arguments Details Value

View source: R/heuristics.R

Description

Do not call this directly (which is why it is called "internal"). Instead, call predictPairProb. Heuristics implement this function in order to be callable with predictPairProb.

Usage

1
predictProbInternal(object, row1, row2)

Arguments

object

The object that implements predictPair, e.g. a ttb model.

row1

The first row of cues (object$cols_to_fit columns), as a one-row matrix.

row2

The second row of cues.

Details

Most heuristics have not implemented this. Also, the output cannot (and should not) be assessed with categorical measures like percent correct.

Value

A value from 0 to 1, representing the probability that row1's criterion is greater than row2's criterion.


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