predict_a: Predict a value based on probability and cost of...

Description Usage Arguments Examples

View source: R/cost_predict.R

Description

This function takes in a matrix of costs for mispredicting and a matrix of probabilities of various outcomes. It returns TRUE if you should predict a, and FALSE if you should predict not-a

Usage

1

Arguments

c

the costs matrix

p

the probability matrix

Examples

1

jakewalker56/jml documentation built on May 18, 2019, 9:08 a.m.