Description Usage Arguments Value Author(s) See Also Examples
This function computes model performance given a vector of response values and a vector of predictions.
1 2 |
y |
a vector of numeric response values. |
yhat |
a vector of model predictions. |
w |
an optional vector of observation weights. |
pfmc |
a character of the performance metric. For binary classification,
For regression,
|
cdfx |
a character of the cumulative distribution for the x-axis. Supported values are
|
cdfy |
a character of the cumulative distribution for the y-axis. Supported values are
|
dspt |
a decision point (threshold) in [0, 1] for binary classification.
If |
A single or a vector of numeric values of model performance, or a
list of two components x
and y
representing the ROC curve.
Waley W. J. Liang <wliang10@gmail.com>
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.