threshold_calc: Calculate threshold given cost ratios

Description Usage Arguments Value Author(s) Examples

View source: R/threshold_calc.R

Description

Returns a list of model objects with accuracies and ROC coordinates based on test set. This is a support function that is not intended for the end user to directly use.

Usage

1
threshold_calc(roc_obj, pvalue = 0.05)

Arguments

roc_obj

A training set outputted from the gen_features function

pvalue

A desired level of type I errors, default is 0.05. To get the best accuracy, enter "-9999".

Value

A list object

Author(s)

Gary Cornwall and Jeffrey Chen

Examples

1
2
3
4
## Not run: 
threshold_calc(roc_obj, pvalue)

## End(Not run)

DataScienceForPublicPolicy/hypML documentation built on Dec. 17, 2021, 4:06 p.m.