percentCorrectListNonSymmetric {heuristica}R Documentation

percentCorrectList for non-symmetric heuristics

Description

Same as percentCorrectList but for weird heuristics that do not consistently choose the same row. When a symmetric heuristic predicts row1 > row2, then it also predicts row2 < row1. Those can be used with percentCorrectList. All heuristics built into heuristica qualify. They will get the same answers for percentCorrectList and percentCorrectListNonSymmetric. But a non-symmetric heuristic will only get correct answers for percentCorrectListNonSymmetric.

Usage

percentCorrectListNonSymmetric(test_data, fitted_heuristic_list)

Arguments

test_data

Data to try to predict. Must have same criterion column and cols_to_fit as the data heuristics were fit to.

fitted_heuristic_list

A list of one or more heuristics fitted to data, e.g. the output of ttbModel.

Value

A one-row data.frame of numbers from 0 to 100, the percent correc of each heuristic. Each column is named with the heuristic's class or the fit name.

See Also

percentCorrectList which is faster but wil only be accurate for symmetric heuristics. (percentCorrectListNonSymmetric will be accurate for both symmetric and non-symmetric heuristics, but it's slower.)


[Package heuristica version 1.0.3 Index]