customRound: Custom Rounding

Description Usage Arguments Value

View source: R/customRound.R

Description

Does custom rounding on user defined cutpoint for classification problems.

Usage

1
customRound(num, pos_thresh)

Arguments

num

The number being rounded.

pos_thresh

The threshold between 0 and 1 that the number will be rounded.

Value

A rounded number at the defined threshold.


blazickjoe/DataScienceLibrary documentation built on Nov. 5, 2019, 2:26 p.m.