manualMetric: Other metrics framework

Description Usage Arguments Value

View source: R/metrics.R

Description

Calculates a user-input metric for each bin frequency with the same sample size. Allows imbDis metric calculation using the predicted labels instead of probabilities.

Usage

1
manualMetric(obj, f)

Arguments

obj

an object of class inheriting from "imbDis".

f

A function that must be of the format f(labels, preds).

Value

data.frame with columns: bins, metric, sample size.


ArjunChattoraj10/imbDis documentation built on Jan. 22, 2021, 3:50 p.m.