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

View source: R/heuristics.R

predictProbInternalR Documentation

Generic function to predict the probability row 1 has a higher criterion.

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

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.


jeanimal/heuristica documentation built on Feb. 3, 2024, 9:56 p.m.